Searched refs:docId (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java74 // docId format: root:path/to/file
92 public String docId; field in class:ExternalStorageProvider.RootInfo
248 root.docId = getDocIdForFile(root.path);
279 root.docId = getDocIdForFile(root.path);
365 protected File getFileForDocId(String docId, boolean visible) throws FileNotFoundException { argument
366 return getFileForDocId(docId, visible, true);
369 private File getFileForDocId(String docId, boolean visible, boolean mustExist) argument
371 RootInfo root = getRootFromDocId(docId);
372 return buildFile(root, docId, visible, mustExist);
375 private Pair<RootInfo, File> resolveDocId(String docId, boolea argument
381 getRootFromDocId(String docId) argument
396 buildFile(RootInfo root, String docId, boolean visible, boolean mustExist) argument
416 buildNotificationUri(String docId) argument
421 onDocIdChanged(String docId) argument
[all...]
H A DTestDocumentsProvider.java311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) argument
319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException {
393 private static void includeFile(MatrixCursor result, String docId, int flags) { argument
395 row.add(Document.COLUMN_DOCUMENT_ID, docId);
396 row.add(Document.COLUMN_DISPLAY_NAME, docId);
400 if (MY_DOC_ID.equals(docId)) {
403 } else if (MY_DOC_NULL.equals(docId)) {
318 openDocumentThumbnail( String docId, Point sizeHint, CancellationSignal signal) argument
/frameworks/base/core/java/com/android/internal/content/
H A DFileSystemProvider.java81 protected abstract File getFileForDocId(String docId, boolean visible) argument
86 protected abstract Uri buildNotificationUri(String docId); argument
92 protected void onDocIdChanged(String docId) { argument
109 public boolean isChildDocument(String parentDocId, String docId) { argument
112 final File doc = getFileForDocId(docId).getCanonicalFile();
116 "Failed to determine if " + docId + " is child of " + parentDocId + ": " + e);
180 public String createDocument(String docId, String mimeType, String displayName) argument
184 final File parent = getFileForDocId(docId);
233 public String renameDocument(String docId, String displayName) throws FileNotFoundException { argument
235 // docId, w
315 deleteDocument(String docId) argument
462 includeFile(MatrixCursor result, String docId, File file) argument
538 getFileForDocId(String docId) argument
610 DirectoryCursor(String[] columnNames, String docId, File file) argument
[all...]
/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportStorageProvider.java94 protected Uri buildNotificationUri(String docId) { argument
95 return DocumentsContract.buildChildDocumentsUri(AUTHORITY, docId);
132 protected RowBuilder includeFile(MatrixCursor result, String docId, File file) argument
134 RowBuilder row = super.includeFile(result, docId, file);
/frameworks/base/core/tests/coretests/src/android/provider/
H A DDocumentsProviderTest.java36 private static final String DOCUMENT_ID = "docId";
114 private static Uri buildTreeDocumentUri(String authority, String parentDocId, String docId) { argument
116 return DocumentsContract.buildDocumentUriUsingTree(treeUri, docId);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsProvider.java556 public @Nullable Bundle getDocumentMetadata(String docId) throws FileNotFoundException { argument
557 String mimeType = getDocumentType(docId);
566 openDocument(docId, "r", null));

Completed in 109 milliseconds