1. 06 May, 2016 1 commit
    • Paul Crowley's avatar
      Two phases to set the password for disk encryption · 92c5eeb4
      Paul Crowley authored
      In one phase, we make the new password work, and in the second we make
      it the only one which works ("fixation"). This means that we can set
      the password in Gatekeeper between these two phases, and a crash
      doesn't break things. Unlocking a user automatically fixates the
      presented credential.
      
      Bug: 28154455
      Change-Id: I54623c8652f0c9f72dd60388a7dc0ab2d48e81c7
      92c5eeb4
  2. 27 Apr, 2016 1 commit
    • Paul Crowley's avatar
      Use a longer timeout on the disk encryption keys · b3de337a
      Paul Crowley authored
      Avoid a timeout error by extending the time allowed between getting
      the auth token and decrypting the key from five to thirty seconds.
      
      Bug: 28398766
      Change-Id: I1dbb9e0e33707e7de4c1720ad1b8e153c77094b2
      b3de337a
  3. 25 Apr, 2016 2 commits
  4. 19 Apr, 2016 2 commits
  5. 18 Apr, 2016 1 commit
    • Paul Lawrence's avatar
      Don't start defaultcrypto twice · 84274cc3
      Paul Lawrence authored
      The old way (using triggers) starts defaultcrypto twice because
      queue_property_triggers_action retriggers the action.
      
      Bug: 27452459
      
      Change-Id: I715d5441f8ae0b820b680f6a75f51694c4420992
      84274cc3
  6. 15 Apr, 2016 2 commits
  7. 08 Apr, 2016 1 commit
  8. 07 Apr, 2016 2 commits
  9. 31 Mar, 2016 1 commit
  10. 29 Mar, 2016 1 commit
  11. 17 Mar, 2016 1 commit
  12. 11 Mar, 2016 3 commits
  13. 10 Mar, 2016 3 commits
  14. 09 Mar, 2016 4 commits
  15. 08 Mar, 2016 3 commits
    • Paul Crowley's avatar
      Require the auth token for decryption. · 320e5e15
      Paul Crowley authored
      A bug meant that the auth token wasn't being used; it turns out that
      in order to use it we need to do things slightly differently.
      
      Bug: 27496553
      Change-Id: I0f0ab77fed31b92a79eba4acf488cb098691b4be
      320e5e15
    • Paul Crowley's avatar
      Fix memory leak in generate_key wrapper. Other fixes. · d9b9295b
      Paul Crowley authored
      - catch errors in looking for the keyring
      - static_assert to prevent a buffer overrun
      - remove obsolete, misleading comment
      - dial down priority of some log messages
      - explain why we ignore some errors
      - idiomatic C++11
      
      Bug: 27552432
      Change-Id: Ic3ee05b41eae45e7c6b571a459b326a483663526
      d9b9295b
    • Yu Ning's avatar
      Support emulator's virtio-blk based SD card · 942d4e83
      Yu Ning authored
      
      Currently, vold only supports MMC (for SD cards) and SCSI (for USB
      drives) devices. It does not recognize any device whose major number is
      not one of those used by MMC and SCSI. Unfortunately, virtio-blk is one
      such device. It is used by the new Android emulator (a.k.a. qemu2,
      featuring the "ranchu" virtual board) for SD card emulation.
      
      In order to make this virtio-blk based SD card device appear in Android
      and appear as an SD card (rather than a USB drive), changes have to be
      made to both vold (wherever the device major number is checked) and
      ranchu's storage configuration. This CL implements former.
      
      This is a stop-gap solution for emulator in nyc.
      A longer term solution in-tune with upstream kernel is in the pipes.
      
      Updated from aosp/master version.
      
      BUG:27431753
      
      Change-Id: I5014edec73be7c5b565d91542464c82cbe58992c
      Signed-off-by: default avatarYu Ning <yu.ning@intel.com>
      (cherry picked from commit 5b1d1c7dfa13b4dca75213581dc8351b841b76c8)
      942d4e83
  16. 02 Mar, 2016 3 commits
  17. 25 Feb, 2016 1 commit
    • Calin Juravle's avatar
      Create profile folder for foreign dex markers. · 493f5aa1
      Calin Juravle authored
      This is a special profile folder where apps will leave profile markers
      for the dex files they load and don't own. System server will read the
      markers and decide if the apks should be fully compiled instead of
      profile guide compiled.
      
      Bug: 27334750
      Bug: 26080105
      Change-Id: Ib18f20cf78a8dbfc465610ec6ceec52699c5420a
      493f5aa1
  18. 19 Feb, 2016 1 commit
  19. 10 Feb, 2016 2 commits
  20. 09 Feb, 2016 5 commits