Home
last modified time | relevance | path

Searched refs:mArchive (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DWriteableArchiveTest.java47 private Archive mArchive = null; field in WriteableArchiveTest
59 mArchive = WriteableArchive.createForParcelFileDescriptor( in setUp()
74 if (mArchive != null) { in tearDown()
75 mArchive.close(); in tearDown()
85 final String dirDocumentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
89 final String documentId = mArchive.createDocument(dirDocumentId, "image/jpeg", "test.jpeg"); in testCreateDocument()
93 mArchive.createDocument(dirDocumentId, in testCreateDocument()
101 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
109 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
117 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
[all …]
DReadableArchiveTest.java61 private Archive mArchive = null; field in ReadableArchiveTest
75 if (mArchive != null) { in tearDown()
76 mArchive.close(); in tearDown()
86 mArchive = ReadableArchive.createForParcelFileDescriptor( in loadArchive()
121 final Cursor cursor = mArchive.queryChildDocuments( in testQueryChildDocument()
150 final Cursor childCursor = mArchive.queryChildDocuments( in testQueryChildDocument()
172 final Cursor cursor = mArchive.queryChildDocuments( in testQueryChildDocument_NoDirs()
187 final Cursor childCursor = mArchive.queryChildDocuments( in testQueryChildDocument_NoDirs()
205 final Cursor childCursor2 = mArchive.queryChildDocuments( in testQueryChildDocument_NoDirs()
221 final Cursor cursor = mArchive.queryChildDocuments( in testQueryChildDocument_EmptyDirs()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DLoader.java55 private Archive mArchive = null; field in Loader
70 return mArchive; in get()
85 mArchive = ReadableArchive.createForParcelFileDescriptor( in get()
91 mArchive = WriteableArchive.createForParcelFileDescriptor( in get()
101 mArchive.close(); in get()
126 return mArchive; in get()
152 mArchive.close(); in release()