History log of /frameworks/base/core/java/com/android/internal/os/FuseAppLoop.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5c14d498ff15f12ce219c1930b0e7cccff939240 14-Mar-2018 Ryo Hashimoto <hashimoto@google.com> Change FUSE_MAX_WRITE's value to 128KB

In the kernel code, there is a constant FUSE_MAX_PAGES_PER_REQ which
limits the size of requests to 128KB.

Bug: 74725300
Test: atest android.os.storage.cts.StorageManagerTest
Change-Id: I6776a409ea68da946bb58e1a933f51c68cb1a99a
/frameworks/base/core/java/com/android/internal/os/FuseAppLoop.java
3f24e69dbed74fd7724c0a4714ce612f1cb5bc5c 05-Feb-2018 Andreas Gampe <agampe@google.com> Frameworks: Annotate trivial @GuardedBy in core/java

Add @GuardedBy for simple functions that require a single lock
and are named XYZLocked.

Bug: 73000847
Test: m
Test: m javac-check-framework RUN_ERROR_PRONE=true
Change-Id: Icb5114fea2ff2385e1cc7511121026099e05c0ee
/frameworks/base/core/java/com/android/internal/os/FuseAppLoop.java
5c2688a861f580f9e77bcd1e277ca3d73745015c 03-Apr-2017 Daichi Hirono <hirono@google.com> Process FuseAppLoop messages in Handler.Callback

Previously FuseAppLoop instantiates Runnable for each command, which
causes lots of instantiation and GC.

Test: CTS
Bug: 35229514
Change-Id: Ifea098e5ade044b1a954c0b714c5b3270a95cd1a
/frameworks/base/core/java/com/android/internal/os/FuseAppLoop.java
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
/frameworks/base/core/java/com/android/internal/os/FuseAppLoop.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/core/java/com/android/internal/os/FuseAppLoop.java
878e86f38f87cc5dc537ffc623b04f9a779fb080 31-Oct-2016 Daichi Hirono <hirono@google.com> Adding FUSE loop thread in app side.

The CL adds FuseAppLoop internal class to the framework. It parses FUSE commands
from the proxy in the system service and invokes a callback provided by
application.

Bug: 29970149
Test: None, will be tested with CTS for StorageManager#openProxyFileDescriptor.
Change-Id: I10b2add4c2743fb91eae3cb194f55843a74fb668
/frameworks/base/core/java/com/android/internal/os/FuseAppLoop.java