789a8fc792725e4988ff43d554b3c8c037c41921 |
|
16-Apr-2017 |
Jeff Sharkey <jsharkey@android.com> |
Storage API polishing. Based on API council feedback, switch to using real UUID objects instead of Strings. Since UUID is a general-purpose utility class that will be passed around quite a bit, add it to Parcel and Bundle. Define well-known namespaced UUID values for "default" and "primary physical" storage devices, which will let us annotate a bunch of things with @NonNull. Define new extras for MANAGE_STORAGE intent that apps can use to signal where and how much space they'd like the user to free up. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest Bug: 37325923, 35812899, 35806020 Change-Id: I8421b126d680f69141a361c1e77223fe2bf4a325
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/StorageVolumeProvider.java
|
2860cf63fdd85a7dda68d0987bbc7976c69efd71 |
|
03-Apr-2017 |
Daniel Nishi <dhnishi@google.com> |
Add storage fullness methods to volume provider. This allows us to mock them out for use in unit tests. Fixes: 36858638 Change-Id: I2509d9704b531cf3594790f738aaedb7ed5db443 Test: Thin wrapper is used in Settings unittest
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/StorageVolumeProvider.java
|
7d3af808c1563fc305caf95ce969991ef6257c4d |
|
09-Jan-2017 |
Daniel Nishi <dhnishi@google.com> |
Add findEmulatedForPrivate to the StorageVolumeProvider. The improves testability within Settings. Bug: 33199077 Test: Settings Robo Tests Change-Id: Ib3cc2f73128223017cc392a5e09686eb23da2b1b
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/StorageVolumeProvider.java
|
8d911530e011922c341cfa4d2ff0f6757551357d |
|
19-Sep-2016 |
Daniel Nishi <dhnishi@google.com> |
Add methods to query the private storage. This is used by Settings and the Storage Manager to calculate the amount of space left on a device. Bug: 30895163 Test: m RunStorageManagerRoboTests <-- These tests exercise this code. Change-Id: I0978020645dff455c7d60067c7d6fae338b5f89a
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/StorageVolumeProvider.java
|