Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DWriteableArchiveTest.java46 private Archive mArchive = null; field in WriteableArchiveTest
58 mArchive = WriteableArchive.createForParcelFileDescriptor( in setUp()
73 if (mArchive != null) { in tearDown()
74 mArchive.close(); in tearDown()
84 final String dirDocumentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
88 final String documentId = mArchive.createDocument(dirDocumentId, "image/jpeg", "test.jpeg"); in testCreateDocument()
92 mArchive.createDocument(dirDocumentId, in testCreateDocument()
100 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
108 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
116 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
[all …]
DReadableArchiveTest.java62 private Archive mArchive = null; field in ReadableArchiveTest
76 if (mArchive != null) { in tearDown()
77 mArchive.close(); in tearDown()
87 mArchive = ReadableArchive.createForParcelFileDescriptor( in loadArchive()
122 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()