summaryrefslogtreecommitdiffstats
path: root/include/storage
diff options
context:
space:
mode:
authorJason parks <jparks@google.com>2010-11-29 09:05:25 -0600
committerJason parks <jparks@google.com>2011-01-05 12:32:49 -0600
commit5af0b916f850486cff4797355bf9e7dc3352fe00 (patch)
tree596919e498d72eadbc42b3307ac4f81542d34746 /include/storage
parentcf7775a88f8c88fc3a902799fc1d5100f6f7e0d6 (diff)
downloadframeworks_base-5af0b916f850486cff4797355bf9e7dc3352fe00.zip
frameworks_base-5af0b916f850486cff4797355bf9e7dc3352fe00.tar.gz
frameworks_base-5af0b916f850486cff4797355bf9e7dc3352fe00.tar.bz2
Add decryption support to MountService.
* Implement the decryptStorage() method on the Mount Service. This method makes the calls into vold to decrypt the encrypted volumes and mount them. Change-Id: I4f6e07a111cf0b36611d590debf9f6579c5ac5f7
Diffstat (limited to 'include/storage')
-rw-r--r--include/storage/IMountService.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/storage/IMountService.h b/include/storage/IMountService.h
index 51f9aeb..68ccd95 100644
--- a/include/storage/IMountService.h
+++ b/include/storage/IMountService.h
@@ -66,6 +66,7 @@ public:
const sp<IObbActionListener>& token, const int32_t nonce) = 0;
virtual bool isObbMounted(const String16& filename) = 0;
virtual bool getMountedObbPath(const String16& filename, String16& path) = 0;
+ virtual int32_t decryptStorage(const String16& password) = 0;
};
// ----------------------------------------------------------------------------