History log of /packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5ed698344f36d5ce7c342033e7c8fe370d1c9c69 30-Nov-2016 Tomasz Mikolajewski <mtomasz@google.com> Use AppFuse for archives in DocumentsUI.

As a result, the quick viewer can seek on the FDs.

Test: Tested manually with Pico. Also, unit tests.
Bug: 33361622
Change-Id: I3ae3b9d0fc3a45ad8c7fb77b33b3694a7ab1c6c2
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java
a903c2cdad65d0fe163a4152faa6bd05e2888b22 25-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Add logic for creating archives.

It's the WriteableArchive. Not hooked up to DocumentsUI yet, though.

Test: Unit tests.
Bug: 20822019
Change-Id: I4f257a3e39376d9018b97652c54482bfa5b6ebc8
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java
7bb3bdce2d2eb8e279073420151e48a4a0fb60c7 26-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Minor cleanup of ReadableArchive.

Test: None
Bug: None
Change-Id: Ifc3932b5f3b19fb4784c97053e86d1f48945ae4d
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java
79a4e10f62794bbb0ce676df7cc36c8edf5c510f 25-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Do not leak pipes in archives.

Test: None.
Bug: 20822019
Change-Id: I523d6ef985c812c2c8beb374b79f56c07e6a2f79
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java
3b135ef27a918143489cae0d99770890f3bbb3b6 25-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Move executor details to ReadableArchive.

WriteableArchive is going to use a different executor. Files have to
be written sequentially, so in only one thread in parallel. On the other
hand, ReadableArchive supports parallel reading.

Test: Refactoring only. Unit tests pass.
Bug: 20822019
Change-Id: Ie030c2e9478be576ae87f8f30b8d1e9388507cb2
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java
d683f9756b0c56d28693c4d0269217e8fcebf76a 24-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Refactor archives to support creating archives.

Archive class used StrictJarFile, which only supports reading.
This CL makes Archive a base class which is going to have two
subclasses: ReadableArchive (current Archive) and WriteableArchive.

ReadableArchive will be used to open archives with StrictJarFile.
WriteableArchive will be used to create archives with ZipOutputStream.

Test: Unit tests.
Bug: 20822019
Change-Id: I40174c8d970bc3098929854231622e3006f6263e
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ReadableArchive.java