ee67b61bb08ab09be413f181f948f6359f4c256d |
|
27-Apr-2017 |
Rubin Xu <rubinxu@google.com> |
Invoke BLKSECDISCARD to securely delete sensitive data Bug: 34600579 Test: manual - change device lock under synthetic password, verify old data on disk is erased. Change-Id: I247bd1f095dd27335e671981f9e2d77e149af84f Merged-In: I247bd1f095dd27335e671981f9e2d77e149af84f
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
d5d5e926eb8ff2541a845d6a5657cee5e5c6e7b6 |
|
21-Feb-2017 |
Jeff Sharkey <jsharkey@android.com> |
Clear cache space when allocating bytes. Fleshes out remainder of allocation implementation, where we offer to clear cached data to satisfy the allocation request. To prevent abuse, we never let apps allocate into either the minimum cache space or low storage space. Clean up quota APIs to require the caller to pass in the path they're interested in, and we resolve the underlying filesystem for them. Defines settings that can be used to tweak the minimum cache space. Test: builds, boots Bug: 34690590 Change-Id: I85bc07399f91ee4aa568a8a54c615646bf748ad4
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
500ce9ea58a6c3465703257eab03f9bad76b1e0a |
|
12-Feb-2017 |
Jeff Sharkey <jsharkey@android.com> |
Explicit API for allocating disk space. Now that we're giving apps better guidance around how much cached disk space they can use, we also need to provide a way to help clear some of those cached files. The final logic is coming in a future CL, but it will be designed to prevent abuse. Test: newly added CTS tests Bug: 34690590 Change-Id: I1e46ade0cdabbc33162fc7bfa76abec711992f92
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
9bed070b0910aad8c5800cec731058911d20c3d3 |
|
24-Jan-2017 |
Jeff Sharkey <jsharkey@android.com> |
More APIs for cache status and behavior. Add APIs for apps to query their cache usage compared to their currently allocated quota. Since an app's private storage may live on a different storage volume than the primary shared/external storage, offer APIs to retrieve those values separately. Add APIs to control two new cache purging behaviors: -- setCacheBehaviorAtomic() which causes a marked directory and its contents to be treated as an atomic unit. -- setCacheBehaviorTombstone() which causes the OS to truncate files instead of deleting them. Test: builds, boots Bug: 33811826, 33965858, 27948817 Change-Id: I45de165623775c359f78b4ee544c2b5831b8d483
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
baa011685404ab5512e0b0724f07e7c98648d8ab |
|
16-Nov-2016 |
Daichi Hirono <hirono@google.com> |
Remove StorageManager#mountAppFuse hidden API. The API should be replaced with StorageManager#openProxyFileDescriptor. Bug: 32891253 Test: build Change-Id: Ibbf8b64f3a39900a1f05a52132aa931491d6fd48
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
9fb00183a04036a58ee208f5bfd6c9768982f0aa |
|
08-Nov-2016 |
Daichi Hirono <hirono@google.com> |
Add StorageManager#openProxyFileDescriptor. The CL: * Adds StorageManager#openProxyFileDescriptor API. * Turns IProxyFileDescriptorCallback into a class so that it can provides default implementations. * Removes mActive state from FuseAppLoop, because the state will be managed at the MountService side. * Adds StorageManagerIntegrationTest to check if FUSE is correctly mounted or not. Since it's implementation details, CTS does not help to test the behavior. Test: StorageManagerIntegrationTest Bug: 29970149 Change-Id: Id78dd4abcf9325820e9c77c264f54bfa77b85a92
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
31d0b7043d9077ad8a0ebfbd6ff2f98621e6f413 |
|
21-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Add 'fstrim' command for use from shell. Test: builds, boots, new command works Bug: 20948199 Change-Id: If7b122a6c98a4ce2a2f38e545015a22decd1b516
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|
2250d56a0b47b93016018340c8f4040325aa5611 |
|
08-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Rename MountService to StorageManagerService. Bug: 30977067 Test: Existing tests pass Change-Id: Ieac0f11c2b249dcd60441b14c1f391e6f8131d42
/frameworks/base/core/java/android/os/storage/IStorageManager.aidl
|