4f156065c860d916b649e2b464e9405cafc732e9 |
08-Feb-2017 |
Daichi Hirono <hirono@google.com> |
Allow apps to process ProxyFDCallback asynchrnously. Previously callback methods of ProxyFileDescriptorCallback were invoked on a background thread prepared in the framework. So all methods were invoked and processed synchronously. This was problem because if it took time to fetch bytes of one file, operations for other files were also blocked. The CL changes ProxyFileDescriptorCallback methods to be invoked on Handler passed by apps. Now application can prepare a Handler per file so that one file does not block others. Bug: 35229514 Test: cts-tradefed run cts -m CtsOsTestCases -t android.os.storage.cts.StorageManagerTest#testOpenProxyFileDescriptor_async Change-Id: Ibadc4aad4c0373a3da586459a8f775e40288c895
torageManagerIntegrationTest.java
|
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
torageManagerIntegrationTest.java
|
2250d56a0b47b93016018340c8f4040325aa5611 |
08-Nov-2016 |
Sudheer Shanka <sudheersai@google.com> |
Rename MountService to StorageManagerService. Bug: 30977067 Test: Existing tests pass Change-Id: Ieac0f11c2b249dcd60441b14c1f391e6f8131d42
secTests.java
|
f90177629a5b69ca3a80466c0ab55abfeb6d26b2 |
01-Aug-2015 |
Abodunrinwa Toki <toki@google.com> |
Turn off failing tests in FrameworksCoreTests. We want a green state so we can confidence in tests we write going forward. Change-Id: I2c8db848897b56d0c64202ad28861eb4a7572e07
torageManagerIntegrationTest.java
|
941a8ba1a6043cf84a7bf622e44a0b4f7abd0178 |
21-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Installing splits into ASECs! Sessions can now zero-copy data directly into pre-allocated ASEC containers. Then at commit time, we compute the total size of the final app, including any inherited APKs and unpacked libraries, and resize the container in one step. This supports both brand new ASEC installs and inheriting from existing ASEC installs. To keep things simple, it currently requires copying any inherited ASEC contents, but this could be optimized in the future. Expose new vold resize command, and allow read-write mounting of ASEC containers. Move native library extraction into the installer flow, since it needs to happen before ASEC is sealed. Move multiArch flag into NativeLibraryHelper, instead of making everyone pass it around. Migrate size calculation to shared location. Separate "other" package name in public API, provide a path to a storage device when relevant, and add more docs. Bug: 16514385 Change-Id: I06c6ce588d312ee7e64cce02733895d640b88456
secTests.java
|
3a084af2e90849aaa8beb3a610189e3399c63ea0 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
Correct executable bit for source files Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
secTests.java
|
6dceb88f1c7c42c6ab43834af2c993d599895d82 |
12-Apr-2012 |
Kenny Root <kroot@google.com> |
Allow forward locked apps to be in ASECs We couldn't put forward-locked apps in ASEC containers before since we didn't have any permissioned filesystems. This adds the ability for forward-locked applications to be in ASEC containers. This means that forward locked applications will be able to be on the SD card now. This change also removes the old type of forward-locking that placed parts of apps in /data/app-private. Now all forward-locked applications will be in ASEC containers. Change-Id: I17ae0b0d65a4a965ef33c0ac2c47e990e55707ad
secTests.java
|
13c7197da8a16f77f6398708a6314c80cb01e0d1 |
08-Sep-2011 |
Ben Komalo <benkomalo@google.com> |
Revert encryption mapping for device wipes. External storage volumes that were emulated+encrypted needed to have their encryption mapping removed so that it doesn't try to encrypt the volume after formatting them. This just wires through an argument through vold, and assumes that vold will do the right thing even if there is no encryption mapping set. Bug: 5017638 Change-Id: I858fae3d12cb415bc34637f520f71220ad9daaad
secTests.java
|
5dda76a72e8bb4630fb5fd38a42e7bceb5b9c954 |
11-Oct-2010 |
Neal Nguyen <tommyn@google.com> |
Adding some StorageManager integration test infrastructure and some basic tests. More interesting tests to come in the form of host-based tests. Change-Id: Ifdedf7ef26ed9889871c902af20164df0498cf07
torageManagerBaseTest.java
torageManagerIntegrationTest.java
|
d7b421b4de68d803252a5d9b3cb0106731217ad7 |
05-Aug-2010 |
Kenny Root <kroot@google.com> |
Fix up PackageManager tests PackageManagerTests was trying to mount and unmount the media without waiting for the correct state to arrive. It was proceeding with any state transition. Some tests had their own volume mounting and unmounting code that was flawed, so switch it to the more robust mountMedia() and unmountMedia() implementations. Change-Id: If464927bb09dd15cb040c6cce195a6ad8452de95
torageListener.java
|
a3de74555120cc4dc205a3f93ef44c843b8d64a8 |
25-Mar-2010 |
Brett Chabot <brettchabot@android.com> |
Move PackageManagerTests and AsecTests. Remove PackageManagerTests test's from continuous due to flakiness. merged from abandoned master. Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c
secTests.java
torageListener.java
|