/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | MediaStoreDownloadsHelper.java | 31 public static boolean isMediaStoreDownload(String docId) { in isMediaStoreDownload() 36 public static long getMediaStoreId(String docId) { in getMediaStoreId() 41 public static String getMediaStoreIdString(String docId) { in getMediaStoreIdString() 46 public static boolean isMediaStoreDownloadDir(String docId) { in isMediaStoreDownloadDir() 57 public static Uri getMediaStoreUriForQuery(String docId) { in getMediaStoreUriForQuery() 61 public static Uri getMediaStoreUri(String volume, String docId) { in getMediaStoreUri()
|
H A D | DownloadStorageProvider.java | 224 public void deleteDocument(String docId) throws FileNotFoundException { in deleteDocument() 242 public String renameDocument(String docId, String displayName) in renameDocument() 269 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException { in queryDocument() 495 String docId = rawFilesCursor.getString( in includeSearchFilesFromSharedStorage() local 505 public String getDocumentType(String docId) throws FileNotFoundException { in getDocumentType() 591 protected Uri buildNotificationUri(String docId) { in buildNotificationUri() 618 final String docId = String.valueOf(id); in includeDownloadFromCursor() local 705 String docId, String displayName, String summary, long size, in includeDownload() 772 private String renameMediaStoreDownload(String docId, String displayName) { in renameMediaStoreDownload() 809 private File getFileForMediaStoreDownload(String docId) { in getFileForMediaStoreDownload() [all …]
|
H A D | RawDocumentsHelper.java | 37 public static boolean isRawDocId(String docId) { in isRawDocId()
|
/aosp12/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 95 public String docId; field in ExternalStorageProvider.RootInfo 293 protected boolean shouldBlockFromTree(@NonNull String docId) { in shouldBlockFromTree() 409 private File getFileForDocId(String docId, boolean visible, boolean mustExist) in getFileForDocId() 415 private Pair<RootInfo, File> resolveDocId(String docId, boolean visible) in resolveDocId() 422 static String getPathFromDocId(String docId) { in getPathFromDocId() 438 private RootInfo getRootFromDocId(String docId) throws FileNotFoundException { in getRootFromDocId() 473 protected Uri buildNotificationUri(String docId) { in buildNotificationUri() 478 protected void onDocIdChanged(String docId) { in onDocIdChanged() 491 protected void onDocIdDeleted(String docId) { in onDocIdDeleted() 549 final String docId = getDocIdForFile(doc); in getDocumentUri() local [all …]
|
H A D | TestDocumentsProvider.java | 311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() 319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail() 393 private static void includeFile(MatrixCursor result, String docId, int flags) { in includeFile()
|
/aosp12/frameworks/base/core/java/com/android/internal/content/ |
H A D | FileSystemProvider.java | 101 protected abstract File getFileForDocId(String docId, boolean visible) in getFileForDocId() 106 protected abstract Uri buildNotificationUri(String docId); in buildNotificationUri() 112 protected void onDocIdChanged(String docId) { in onDocIdChanged() 120 protected void onDocIdDeleted(String docId) { in onDocIdDeleted() 137 public boolean isChildDocument(String parentDocId, String docId) { in isChildDocument() 246 public String createDocument(String docId, String mimeType, String displayName) in createDocument() 323 final String docId = getDocIdForFile(after); in moveDocument() local 348 public void deleteDocument(String docId) throws FileNotFoundException { in deleteDocument() 674 protected boolean shouldBlockFromTree(@NonNull String docId) { in shouldBlockFromTree() 683 protected final File getFileForDocId(String docId) throws FileNotFoundException { in getFileForDocId() [all …]
|
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaDocumentsProvider.java | 266 private static Ident getIdentForDocId(String docId) { in getIdentForDocId() 415 private Uri getUriForDocumentId(String docId) { in getUriForDocumentId() 476 public @Nullable Bundle getDocumentMetadataFromIndex(String docId) in getDocumentMetadataFromIndex() 1233 final String docId = getDocIdForIdent(TYPE_IMAGES_BUCKET, id); in includeImagesBucket() local 1264 final String docId = getDocIdForIdent(TYPE_IMAGE, id); in includeImage() local 1296 final String docId = getDocIdForIdent(TYPE_VIDEOS_BUCKET, id); in includeVideosBucket() local 1327 final String docId = getDocIdForIdent(TYPE_VIDEO, id); in includeVideo() local 1390 final String docId = getDocIdForIdent(TYPE_DOCUMENT, id); in includeDocument() local 1413 final String docId = getDocIdForIdent(TYPE_ARTIST, id); in includeArtist() local 1433 final String docId = getDocIdForIdent(TYPE_ALBUM, id); in includeAlbum() local [all …]
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | ModelId.java | 23 public static final String build(UserId userId, String authority, String docId) { in build()
|
H A D | LoadDocStackTask.java | 73 final String docId = DocumentsContract.getDocumentId(uris[0]); in run() local
|
H A D | IconUtils.java | 52 Context context, String mimeType, String authority, String docId, int mode) { in loadMimeIcon()
|
/aosp12/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportStorageProvider.java | 107 protected Uri buildNotificationUri(String docId) { in buildNotificationUri() 145 protected RowBuilder includeFile(MatrixCursor result, String docId, File file) in includeFile()
|
/aosp12/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
H A D | ExternalStorageProviderTest.java | 62 String docId = root + ":" + path; in testGetPathFromDocId() local
|
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
H A D | MediaDocumentsProviderTest.java | 149 final String docId = c.getString(c.getColumnIndex(Root.COLUMN_DOCUMENT_ID)); in testTraverse() local 162 final String docId = c.getString(c.getColumnIndex(Document.COLUMN_DOCUMENT_ID)); in doTraversal() local
|
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/ |
H A D | DocumentStackTest.java | 59 private static DocumentInfo createDir(String docId) { in createDir()
|
H A D | DocumentInfoTest.java | 69 private static DocumentInfo createDocInfo(String authority, String docId, String mimeType) { in createDocInfo()
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
H A D | TestDocumentsAdapter.java | 118 public int getAdapterPosition(String docId) { in getAdapterPosition()
|
/aosp12/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
H A D | StressProvider.java | 164 public AssetFileDescriptor openDocumentThumbnail(String docId, Point sizeHint, in openDocumentThumbnail() 172 public ParcelFileDescriptor openDocument(String docId, String mode, in openDocument()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | DocumentsProviderTest.java | 118 private static Uri buildTreeDocumentUri(String authority, String parentDocId, String docId) { in buildTreeDocumentUri()
|
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
H A D | ModelTest.java | 146 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique() local
|
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
H A D | ResourcesProvider.java | 125 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument()
|
/aosp12/packages/apps/Traceur/src/com/android/traceur/ |
H A D | StorageProvider.java | 160 protected Uri buildNotificationUri(String docId) { in buildNotificationUri()
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
H A D | StubProvider.java | 187 public boolean isChildDocument(String parentDocId, String docId) { in isChildDocument() 358 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() 399 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail() 405 String docId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument()
|
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/ |
H A D | CryptoTestUtils.java | 68 String docId, in newChunkListing()
|
/aosp12/packages/services/Mtp/src/com/android/mtp/ |
H A D | MtpDocumentsProvider.java | 560 public @Nullable Bundle getDocumentMetadata(String docId) throws FileNotFoundException { in getDocumentMetadata()
|