Home
last modified time | relevance | path

Searched refs:createArchiveId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DReadableArchiveTest.java70 public static ArchiveId createArchiveId(String path) { in createArchiveId() method in ReadableArchiveTest
86 createArchiveId("/").toDocumentId(), null, null); in testQueryChildDocument()
90 createArchiveId("/file1.txt").toDocumentId(), in testQueryChildDocument()
100 assertEquals(createArchiveId("/dir1/").toDocumentId(), in testQueryChildDocument()
111 createArchiveId("/dir2/").toDocumentId(), in testQueryChildDocument()
124 createArchiveId("/dir1/").toDocumentId(), null, null); in testQueryChildDocument()
128 createArchiveId("/dir1/cherries.txt").toDocumentId(), in testQueryChildDocument()
144 createArchiveId("/").toDocumentId(), null, null); in testQueryChildDocument_NoDirs()
148 createArchiveId("/dir1/").toDocumentId(), in testQueryChildDocument_NoDirs()
159 createArchiveId("/dir1/").toDocumentId(), null, null); in testQueryChildDocument_NoDirs()
[all …]
DWriteableArchiveTest.java82 public static ArchiveId createArchiveId(String path) { in createArchiveId() method in WriteableArchiveTest
87 final String dirDocumentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
89 assertEquals(createArchiveId("/dir/").toDocumentId(), dirDocumentId); in testCreateDocument()
92 assertEquals(createArchiveId("/dir/test.jpeg").toDocumentId(), documentId); in testCreateDocument()
103 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
111 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
119 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
127 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
135 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
143 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java265 public ArchiveId createArchiveId(String path) { in createArchiveId() method in Archive
274 final ArchiveId parsedId = createArchiveId(getEntryPath(entry)); in addCursorRow()
DWriteableArchive.java196 return createArchiveId(entryPath).toDocumentId(); in createDocument()