Home
last modified time | relevance | path

Searched refs:archiveUri (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchivesProviderTest.java87 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_Success() local
91 ArchivesProvider.AUTHORITY, DocumentsContract.getDocumentId(archiveUri)); in testOpen_Success()
97 archiveUri); in testOpen_Success()
98 ArchivesProvider.acquireArchive(client, archiveUri); in testOpen_Success()
131 ArchivesProvider.releaseArchive(client, archiveUri); in testOpen_Success()
139 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_Failure() local
143 ArchivesProvider.AUTHORITY, DocumentsContract.getDocumentId(archiveUri)); in testOpen_Failure()
149 archiveUri); in testOpen_Failure()
150 ArchivesProvider.acquireArchive(client, archiveUri); in testOpen_Failure()
184 ArchivesProvider.releaseArchive(client, archiveUri); in testOpen_Failure()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java236 public static void acquireArchive(ContentProviderClient client, Uri archiveUri) { in acquireArchive() argument
237 Archive.MorePreconditions.checkArgumentEquals(AUTHORITY, archiveUri.getAuthority(), in acquireArchive()
239 final String documentId = DocumentsContract.getDocumentId(archiveUri); in acquireArchive()
251 public static void releaseArchive(ContentProviderClient client, Uri archiveUri) { in releaseArchive() argument
252 Archive.MorePreconditions.checkArgumentEquals(AUTHORITY, archiveUri.getAuthority(), in releaseArchive()
254 final String documentId = DocumentsContract.getDocumentId(archiveUri); in releaseArchive()
311 Uri archiveUri; field in ArchivesProvider.Key
314 public Key(Uri archiveUri, int accessMode) { in Key() argument
315 this.archiveUri = archiveUri; in Key()
331 return archiveUri.equals(((Key) other).archiveUri) && in equals()
[all …]
DReadableArchive.java70 Uri archiveUri, in ReadableArchive() argument
74 super(context, archiveUri, accessMode, notificationUri); in ReadableArchive()
169 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument
177 return new ReadableArchive(context, null, fd, archiveUri, accessMode, in createForParcelFileDescriptor()
205 return new ReadableArchive(context, snapshotFile, null, archiveUri, accessMode, in createForParcelFileDescriptor()
DArchiveId.java28 public ArchiveId(Uri archiveUri, int accessMode, String path) { in ArchiveId() argument
29 assert(archiveUri.toString().indexOf(DELIMITER) == -1); in ArchiveId()
32 mArchiveUri = archiveUri; in ArchiveId()
DWriteableArchive.java71 Uri archiveUri, in WriteableArchive() argument
75 super(context, archiveUri, accessMode, notificationUri); in WriteableArchive()
122 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument
126 return new WriteableArchive(context, descriptor, archiveUri, accessMode, in createForParcelFileDescriptor()
DLoader.java56 Loader(Context context, Uri archiveUri, int accessMode, Uri notificationUri) { in Loader() argument
58 this.mArchiveUri = archiveUri; in Loader()
DArchive.java82 Uri archiveUri, in Archive() argument
86 mArchiveUri = archiveUri; in Archive()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCompressJob.java106 Uri archiveUri; in setUp() local
108 archiveUri = DocumentsContract.createDocument( in setUp()
111 archiveUri = null; in setUp()
116 archiveUri, ParcelFileDescriptor.MODE_WRITE_ONLY)); in setUp()