812c95d37dccf8a1fcef55c6999c6d69ecbac400 |
|
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 (cherry picked from commit 4f156065c860d916b649e2b464e9405cafc732e9)
/frameworks/base/services/core/java/com/android/server/storage/AppFuseBridge.java
|
e56740dc081cd3024fa2a0c72689febd49ee1c9f |
|
02-Feb-2017 |
Daichi Hirono <hirono@google.com> |
Use a single thread to handle multiple AppFuse mounts. Previously StorageManagerService launched a thread per AppFuse mount point. The CL changes the behavior so that it just launches a single thread to handle multiple AppFuse mounts. Bug: 34903085 Test: CTS and manually testing Change-Id: I2d9e7232834b0c8eff633b85110a3b38534171f7
/frameworks/base/services/core/java/com/android/server/storage/AppFuseBridge.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
/frameworks/base/services/core/java/com/android/server/storage/AppFuseBridge.java
|
3ff1c01cae0b654acd53088634e07e26557edd99 |
|
27-Oct-2016 |
Daichi Hirono <hirono@google.com> |
Add AppFuseBridge class to the system service. Bug: 29970149 Test: None Change-Id: I1d40d8e3aec1c57a31d5ae66b33305990dc86b67
/frameworks/base/services/core/java/com/android/server/storage/AppFuseBridge.java
|