Home
last modified time | relevance | path

Searched refs:commonArchive (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java88 @NonNull T commonArchive) { in ArchiveHandle() argument
91 mCommonArchive = commonArchive; in ArchiveHandle()
127 private void setCommonArchive(@NonNull T commonArchive) { in setCommonArchive() argument
128 mCommonArchive = commonArchive; in setCommonArchive()
147 T commonArchive = recreateCommonArchive(fileInputStream); in getInputStream() local
148 if (commonArchive != null) { in getInputStream()
150 setCommonArchive(commonArchive); in getInputStream()
187 SevenZFile commonArchive) { in SevenZFileHandle() argument
188 super(parcelFileDescriptor, mimeType, commonArchive); in SevenZFileHandle()
216 ZipFile commonArchive) { in ZipFileHandle() argument
[all …]
DArchiveEntryInputStream.java132 Object commonArchive = archiveHandle.getCommonArchive(); in create() local
134 if (commonArchive instanceof SevenZFile) { in create()
136 (b, off, len) -> ((SevenZFile) commonArchive).read(b, off, len), in create()
138 () -> ((SevenZFile) commonArchive).getNextEntry()); in create()
139 } else if (commonArchive instanceof ZipFile) { in create()
141 ((ZipFile) commonArchive).getInputStream((ZipArchiveEntry) archiveEntry); in create()
146 } else if (commonArchive instanceof ArchiveInputStream) { in create()
148 (b, off, len) -> ((ArchiveInputStream) commonArchive).read(b, off, len), in create()
150 () -> ((ArchiveInputStream) commonArchive).getNextEntry()); in create()