/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchivesProviderTest.java | 94 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_Success() local 98 ArchivesProvider.AUTHORITY, DocumentsContract.getDocumentId(archiveUri)); in testOpen_Success() 104 archiveUri); in testOpen_Success() 105 ArchivesProvider.acquireArchive(client, archiveUri); in testOpen_Success() 138 ArchivesProvider.releaseArchive(client, archiveUri); in testOpen_Success() 146 final Uri archiveUri = ArchivesProvider.buildUriForArchive(sourceUri, in testOpen_Failure() local 150 ArchivesProvider.AUTHORITY, DocumentsContract.getDocumentId(archiveUri)); in testOpen_Failure() 156 archiveUri); in testOpen_Failure() 157 ArchivesProvider.acquireArchive(client, archiveUri); in testOpen_Failure() 191 ArchivesProvider.releaseArchive(client, archiveUri); in testOpen_Failure() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | ArchivesProvider.java | 256 public static void acquireArchive(ContentProviderClient client, Uri archiveUri) { in acquireArchive() argument 257 Archive.MorePreconditions.checkArgumentEquals(AUTHORITY, archiveUri.getAuthority(), in acquireArchive() 259 final String documentId = DocumentsContract.getDocumentId(archiveUri); in acquireArchive() 271 public static void releaseArchive(ContentProviderClient client, Uri archiveUri) { in releaseArchive() argument 272 Archive.MorePreconditions.checkArgumentEquals(AUTHORITY, archiveUri.getAuthority(), in releaseArchive() 274 final String documentId = DocumentsContract.getDocumentId(archiveUri); in releaseArchive() 331 Uri archiveUri; field in ArchivesProvider.Key 334 public Key(Uri archiveUri, int accessMode) { in Key() argument 335 this.archiveUri = archiveUri; in Key() 351 return archiveUri.equals(((Key) other).archiveUri) && in equals() [all …]
|
D | ReadableArchive.java | 76 Uri archiveUri, in ReadableArchive() argument 81 super(context, archiveUri, accessMode, notificationUri); in ReadableArchive() 206 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, in createForParcelFileDescriptor() argument 211 archiveUri, archiveMimeType, accessMode, in createForParcelFileDescriptor() 245 archiveUri, archiveMimeType, accessMode, in createForParcelFileDescriptor()
|
D | ArchiveId.java | 28 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()
|
D | WriteableArchive.java | 68 Uri archiveUri, in WriteableArchive() argument 72 super(context, archiveUri, accessMode, notificationUri); in WriteableArchive() 119 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument 123 return new WriteableArchive(context, descriptor, archiveUri, accessMode, in createForParcelFileDescriptor()
|
D | Loader.java | 57 Loader(Context context, Uri archiveUri, int accessMode, Uri notificationUri) { in Loader() argument 59 this.mArchiveUri = archiveUri; in Loader()
|
D | Archive.java | 81 Uri archiveUri, in Archive() argument 85 mArchiveUri = archiveUri; in Archive()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CompressJob.java | 106 Uri archiveUri; in setUp() local 108 archiveUri = DocumentsContract.createDocument( in setUp() 111 archiveUri = null; in setUp() 116 archiveUri, ParcelFileDescriptor.MODE_WRITE_ONLY)); in setUp()
|