/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchivesProviderTest.java | 87 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/ |
D | ArchivesProvider.java | 236 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 …]
|
D | ReadableArchive.java | 70 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()
|
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 | 71 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()
|
D | Loader.java | 56 Loader(Context context, Uri archiveUri, int accessMode, Uri notificationUri) { in Loader() argument 58 this.mArchiveUri = archiveUri; in Loader()
|
D | Archive.java | 82 Uri archiveUri, in Archive() argument 86 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()
|