Searched refs:toDocumentId (Results 1 – 6 of 6) sorted by relevance
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ReadableArchiveTest.java | 123 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 …]
|
D | WriteableArchiveTest.java | 84 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/ |
D | ArchiveId.java | 54 public String toDocumentId() { in toDocumentId() method in ArchiveId
|
D | WriteableArchive.java | 197 return createArchiveId(entryPath).toDocumentId(); in createDocument()
|
D | Archive.java | 281 row.add(Document.COLUMN_DOCUMENT_ID, parsedId.toDocumentId()); in addCursorRow()
|
D | ArchivesProvider.java | 258 new ArchiveId(externalUri, accessMode, "/").toDocumentId()); in buildUriForArchive()
|