Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java123 createArchiveId("/").toDocumentId(), null, null); in testQueryChildDocument()
125 assertRowExist(cursor, createArchiveId("/file1.txt").toDocumentId()); in testQueryChildDocument()
133 assertRowExist(cursor, createArchiveId("/dir1/").toDocumentId()); in testQueryChildDocument()
141 assertRowExist(cursor, createArchiveId("/dir2/").toDocumentId()); in testQueryChildDocument()
151 createArchiveId("/dir1/").toDocumentId(), null, null); in testQueryChildDocument()
155 createArchiveId("/dir1/cherries.txt").toDocumentId(), in testQueryChildDocument()
173 createArchiveId("/").toDocumentId(), null, null); in testQueryChildDocument_NoDirs()
177 createArchiveId("/dir1/").toDocumentId(), in testQueryChildDocument_NoDirs()
188 createArchiveId("/dir1/").toDocumentId(), null, null); in testQueryChildDocument_NoDirs()
192 createArchiveId("/dir1/dir2/").toDocumentId(), in testQueryChildDocument_NoDirs()
[all …]
DWriteableArchiveTest.java84 final String dirDocumentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
86 assertEquals(createArchiveId("/dir/").toDocumentId(), dirDocumentId); in testCreateDocument()
89 assertEquals(createArchiveId("/dir/test.jpeg").toDocumentId(), documentId); in testCreateDocument()
100 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
108 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
116 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
124 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
132 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
140 mArchive.createDocument(createArchiveId("/").toDocumentId(), in testCreateDocument()
149 final String documentId = mArchive.createDocument(createArchiveId("/").toDocumentId(), in testAddDirectory()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveId.java54 public String toDocumentId() { in toDocumentId() method in ArchiveId
DWriteableArchive.java197 return createArchiveId(entryPath).toDocumentId(); in createDocument()
DArchive.java281 row.add(Document.COLUMN_DOCUMENT_ID, parsedId.toDocumentId()); in addCursorRow()
DArchivesProvider.java258 new ArchiveId(externalUri, accessMode, "/").toDocumentId()); in buildUriForArchive()