Home
last modified time | relevance | path

Searched defs:docId (Results 1 – 24 of 24) sorted by relevance

/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DMediaStoreDownloadsHelper.java31 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 DDownloadStorageProvider.java224 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 DRawDocumentsHelper.java37 public static boolean isRawDocId(String docId) { in isRawDocId()
/aosp12/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java95 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 DTestDocumentsProvider.java311 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 DFileSystemProvider.java101 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 DMediaDocumentsProvider.java266 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 DModelId.java23 public static final String build(UserId userId, String authority, String docId) { in build()
H A DLoadDocStackTask.java73 final String docId = DocumentsContract.getDocumentId(uris[0]); in run() local
H A DIconUtils.java52 Context context, String mimeType, String authority, String docId, int mode) { in loadMimeIcon()
/aosp12/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportStorageProvider.java107 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 DExternalStorageProviderTest.java62 String docId = root + ":" + path; in testGetPathFromDocId() local
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/
H A DMediaDocumentsProviderTest.java149 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 DDocumentStackTest.java59 private static DocumentInfo createDir(String docId) { in createDir()
H A DDocumentInfoTest.java69 private static DocumentInfo createDocInfo(String authority, String docId, String mimeType) { in createDocInfo()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
H A DTestDocumentsAdapter.java118 public int getAdapterPosition(String docId) { in getAdapterPosition()
/aosp12/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
H A DStressProvider.java164 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 DDocumentsProviderTest.java118 private static Uri buildTreeDocumentUri(String authority, String parentDocId, String docId) { in buildTreeDocumentUri()
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DModelTest.java146 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique() local
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
H A DResourcesProvider.java125 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument()
/aosp12/packages/apps/Traceur/src/com/android/traceur/
H A DStorageProvider.java160 protected Uri buildNotificationUri(String docId) { in buildNotificationUri()
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
H A DStubProvider.java187 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 DCryptoTestUtils.java68 String docId, in newChunkListing()
/aosp12/packages/services/Mtp/src/com/android/mtp/
H A DMtpDocumentsProvider.java560 public @Nullable Bundle getDocumentMetadata(String docId) throws FileNotFoundException { in getDocumentMetadata()