OSDN Git Service

Allow callers to prepare CE/DE user storage.
authorJeff Sharkey <jsharkey@android.com>
Tue, 2 Feb 2016 00:02:29 +0000 (17:02 -0700)
committerJeff Sharkey <jsharkey@android.com>
Fri, 5 Feb 2016 20:03:52 +0000 (13:03 -0700)
commit47695b29af0467dd8e18f5534e3b62e39326d7e1
tree56bf54f3260763ce6d463a7c4958cea789a20908
parentf10544df96652ebe457c93a91075da0b3bc6b550
Allow callers to prepare CE/DE user storage.

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
Android.mk
CryptCommandListener.cpp
Ext4Crypt.cpp
Ext4Crypt.h
Utils.cpp
Utils.h
cryptfs.c
vdc.cpp