Home
last modified time | relevance | path

Searched refs:ArchiveHandle (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveHandleTest.java53 private ArchiveHandle prepareArchiveHandle(String archivePath, String suffix, in prepareArchiveHandle()
58 return ArchiveHandle.create(parcelFileDescriptor, mimeType); in prepareArchiveHandle()
149 ArchiveHandle.create(null, in buildArchiveHandle_withoutFileDescriptor_shouldBeIllegal()
163 ArchiveHandle.create(parcelFileDescriptor, null); in buildArchiveHandle_withWrongMimeType_shouldBeIllegal()
172 ArchiveHandle archiveHandle = prepareArchiveHandle("archives/7z/hello.7z", in buildArchiveHandle_sevenZFile_shouldNotNull()
180 ArchiveHandle archiveHandle = prepareArchiveHandle("archives/zip/hello.zip", in buildArchiveHandle_zipFile_shouldNotNull()
199 ArchiveHandle archiveHandle = prepareArchiveHandle("archives/tar/hello.tar", in buildArchiveHandle_tarFile_shouldNotNull()
207 ArchiveHandle archiveHandle = prepareArchiveHandle("archives/tar_gz/hello.tgz", in buildArchiveHandle_tgzFile_shouldNotNull()
215 ArchiveHandle archiveHandle = in buildArchiveHandle_tarGzFile_shouldNotNull()
224 ArchiveHandle archiveHandle = in buildArchiveHandle_tarBzipFile_shouldNotNull()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java58 abstract class ArchiveHandle<T> implements Closeable { class
59 private static final String TAG = ArchiveHandle.class.getSimpleName();
86 private ArchiveHandle(@NonNull ParcelFileDescriptor parcelFileDescriptor, in ArchiveHandle() method in ArchiveHandle
185 private static class SevenZFileHandle extends ArchiveHandle<SevenZFile> {
214 private static class ZipFileHandle extends ArchiveHandle<ZipFile> {
236 private static class CommonArchiveInputHandle extends ArchiveHandle<ArchiveInputStream> {
294 public static ArchiveHandle create(@NonNull ParcelFileDescriptor parcelFileDescriptor, in create()
DProxy.java35 private final ArchiveHandle mFile;
40 Proxy(ArchiveHandle file, ArchiveEntry entry) in Proxy()
DReadableArchive.java68 private final ArchiveHandle mArchiveHandle;
93 mArchiveHandle = ArchiveHandle.create(parcelFileDescriptor, archiveMimeType); in ReadableArchive()
DArchiveEntryInputStream.java117 static InputStream create(@NonNull ArchiveHandle archiveHandle, in create()
/packages/apps/DocumentsUI/
Dperfetto_config.pbtx125 # filter_tags: "ArchiveHandle"