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()
142 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in getDocumentType()
186 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in queryDocument()
258 new ArchiveId(externalUri, accessMode, "/").toDocumentId()); in buildUriForArchive()
295 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in acquireArchive()
314 final ArchiveId archiveId = ArchiveId.fromDocumentId(documentId); in releaseArchive()
327 final ArchiveId id = ArchiveId.fromDocumentId(documentId); in getLoaderOrThrow()
347 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/functional/com/android/documentsui/archives/
DWriteableArchiveTest.java79 public static ArchiveId createArchiveId(String path) { in createArchiveId()
80 return new ArchiveId(ARCHIVE_URI, ParcelFileDescriptor.MODE_WRITE_ONLY, path); in createArchiveId()
DReadableArchiveTest.java81 public static ArchiveId createArchiveId(String path) { in createArchiveId()
82 return new ArchiveId(ARCHIVE_URI, ParcelFileDescriptor.MODE_READ_ONLY, path); in createArchiveId()