Home
last modified time | relevance | path

Searched refs:ArchiveId (Results 1 – 7 of 7) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java135 final ArchiveId parsedParentId = ArchiveId.fromDocumentId(documentId); in queryChildDocuments()
163 final ArchiveId parsedId = ArchiveId.fromDocumentId(documentId); in getDocumentType()
183 final ArchiveId parsedParentId = ArchiveId.fromDocumentId(parentDocumentId); in isChildDocument()
184 final ArchiveId parsedId = ArchiveId.fromDocumentId(documentId); in isChildDocument()
216 final ArchiveId parsedId = ArchiveId.fromDocumentId(documentId); in queryDocument()
271 public ArchiveId createArchiveId(String path) { in createArchiveId()
272 return new ArchiveId(mArchiveUri, mAccessMode, path); in createArchiveId()
280 final ArchiveId parsedId = createArchiveId(getEntryPath(entry)); in addCursorRow()
DArchivesProvider.java100 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in queryChildDocuments()
134 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in getDocumentType()
178 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in queryDocument()
250 new ArchiveId(externalUri, accessMode, "/").toDocumentId()); in buildUriForArchive()
287 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in acquireArchive()
306 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in releaseArchive()
319 final ArchiveId id = ArchiveId.fromDocumentId(documentId); in getLoaderOrThrow()
339 public static Key fromArchiveId(ArchiveId id) { in fromArchiveId()
DArchiveId.java21 public class ArchiveId { class
28 public ArchiveId(Uri archiveUri, int accessMode, String path) { in ArchiveId() method in ArchiveId
37 static public ArchiveId fromDocumentId(String documentId) { in fromDocumentId()
50 return new ArchiveId(Uri.parse(archiveUriPart), Integer.parseInt(accessModePart), in fromDocumentId()
DWriteableArchive.java137 final ArchiveId parsedParentId = ArchiveId.fromDocumentId(parentDocumentId); in createDocument()
206 final ArchiveId parsedId = ArchiveId.fromDocumentId(documentId); in openDocument()
DReadableArchive.java268 final ArchiveId parsedId = ArchiveId.fromDocumentId(documentId); in openDocument()
293 final ArchiveId parsedId = ArchiveId.fromDocumentId(documentId); in openDocumentThumbnail()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DWriteableArchiveTest.java80 public static ArchiveId createArchiveId(String path) { in createArchiveId()
81 return new ArchiveId(ARCHIVE_URI, ParcelFileDescriptor.MODE_WRITE_ONLY, path); in createArchiveId()
DReadableArchiveTest.java80 public static ArchiveId createArchiveId(String path) { in createArchiveId()
81 return new ArchiveId(ARCHIVE_URI, ParcelFileDescriptor.MODE_READ_ONLY, path); in createArchiveId()