1. 09 Mar, 2016 2 commits
    • Paul Crowley's avatar
      Run clang-format over ext4crypt related code · df528a70
      Paul Crowley authored
      The formatting here is inconsistent with Android house style; use
      clang-format to bring it back into line.
      
      Change-Id: Id1fe6ff54e9b668ca88c3fc021ae0a5bdd1327eb
      df528a70
    • Paul Crowley's avatar
      Use pointers not references for out arguments · a051eb7a
      Paul Crowley authored
      Google/Android C++ style requires that arguments passed in for writing
      should be pointers, not references, so that it's visible in the caller
      that they'll be written to.
      
      Bug: 27566014
      Change-Id: I5cd55906cc4b2f61c8b97b223786be0b3ce28862
      a051eb7a
  2. 08 Mar, 2016 2 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
  3. 02 Mar, 2016 3 commits
  4. 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
  5. 19 Feb, 2016 1 commit
  6. 10 Feb, 2016 2 commits
  7. 09 Feb, 2016 6 commits
  8. 08 Feb, 2016 4 commits
  9. 07 Feb, 2016 1 commit
  10. 05 Feb, 2016 2 commits
    • Jeff Sharkey's avatar
      Allow callers to prepare CE/DE user storage. · 47695b29
      Jeff Sharkey authored
      Give callers the option of preparing CE and/or DE storage.  The
      framework will only prepare CE storage after the CE keys have been
      unlocked for that user.
      
      When init is calling enablecrypto, kick off the work in a thread so
      that we can make other calls back into vold without causing
      deadlock.  Leaves blocking call intact for framework callers.
      
      Clean up 'vdc' tool to send useful transaction numbers, and
      actually watch for the matching result to come back.  This fixes
      race conditions when there are multiple 'vdc' callers.
      
      Also add other system and misc directories to match spec.
      
      Bug: 25796509
      Change-Id: Ie4f853db6e387916b845d2b5fb92925d743b063d
      47695b29
    • Daichi Hirono's avatar
      Add context mount option for appfuse. · 1c419e00
      Daichi Hirono authored
      BUG=26147865
      
      Change-Id: I1812c46d0f80eaea9a9a3fa944bc4d0126ae8ba1
      1c419e00
  11. 04 Feb, 2016 1 commit
  12. 03 Feb, 2016 2 commits
  13. 02 Feb, 2016 3 commits
  14. 01 Feb, 2016 7 commits
  15. 28 Jan, 2016 1 commit
    • Paul Crowley's avatar
      Create disk encryption keys only when FBE enabled · ea62e26a
      Paul Crowley authored
      Our code for creating disk encryption keys doesn't work everywhere,
      and it doesn't need to; only on platforms that support FBE. Don't
      create them elsewhere.
      
      Bug: 26842807
      Change-Id: I686d0ffd7cb3adbddfce661c22ce18f66acb1aba
      ea62e26a
  16. 27 Jan, 2016 2 commits