Home
last modified time | relevance | path

Searched refs:accessMode (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchivesProvider.java248 public static Uri buildUriForArchive(Uri externalUri, int accessMode) { in buildUriForArchive() argument
250 new ArchiveId(externalUri, accessMode, "/").toDocumentId()); in buildUriForArchive()
332 int accessMode; field in ArchivesProvider.Key
334 public Key(Uri archiveUri, int accessMode) { in Key() argument
336 this.accessMode = accessMode; in Key()
352 accessMode == ((Key) other).accessMode; in equals()
357 return Objects.hash(archiveUri, accessMode); in hashCode()
DReadableArchive.java78 int accessMode, in ReadableArchive() argument
81 super(context, archiveUri, accessMode, notificationUri); in ReadableArchive()
82 if (!supportsAccessMode(accessMode)) { in ReadableArchive()
186 public static boolean supportsAccessMode(int accessMode) { in supportsAccessMode() argument
187 return accessMode == MODE_READ_ONLY; in supportsAccessMode()
207 @NonNull String archiveMimeType, int accessMode, @Nullable Uri notificationUri) in createForParcelFileDescriptor() argument
211 archiveUri, archiveMimeType, accessMode, in createForParcelFileDescriptor()
245 archiveUri, archiveMimeType, accessMode, in createForParcelFileDescriptor()
DWriteableArchive.java69 int accessMode, in WriteableArchive() argument
72 super(context, archiveUri, accessMode, notificationUri); in WriteableArchive()
73 if (!supportsAccessMode(accessMode)) { in WriteableArchive()
100 public static boolean supportsAccessMode(int accessMode) { in supportsAccessMode() argument
101 return accessMode == ParcelFileDescriptor.MODE_WRITE_ONLY; in supportsAccessMode()
119 Context context, ParcelFileDescriptor descriptor, Uri archiveUri, int accessMode, in createForParcelFileDescriptor() argument
123 return new WriteableArchive(context, descriptor, archiveUri, accessMode, in createForParcelFileDescriptor()
DArchiveId.java28 public ArchiveId(Uri archiveUri, int accessMode, String path) { in ArchiveId() argument
33 mAccessMode = accessMode; in ArchiveId()
DLoader.java57 Loader(Context context, Uri archiveUri, int accessMode, Uri notificationUri) { in Loader() argument
60 this.mAccessMode = accessMode; in Loader()
DArchive.java82 int accessMode, in Archive() argument
86 mAccessMode = accessMode; in Archive()