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

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java70 // docId format: root:path/to/file
88 public String docId; field in class:ExternalStorageProvider.RootInfo
220 root.docId = getDocIdForFile(root.path);
251 root.docId = getDocIdForFile(root.path);
337 protected File getFileForDocId(String docId, boolean visible) throws FileNotFoundException { argument
338 RootInfo root = getRootFromDocId(docId);
339 return buildFile(root, docId, visible);
342 private Pair<RootInfo, File> resolveDocId(String docId, boolean visible) argument
344 RootInfo root = getRootFromDocId(docId);
345 return Pair.create(root, buildFile(root, docId, visibl
348 getRootFromDocId(String docId) argument
363 buildFile(RootInfo root, String docId, boolean visible) argument
383 buildNotificationUri(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.java70 protected abstract File getFileForDocId(String docId, boolean visible) argument
75 protected abstract Uri buildNotificationUri(String docId); argument
90 public boolean isChildDocument(String parentDocId, String docId) { argument
93 final File doc = getFileForDocId(docId).getCanonicalFile();
97 "Failed to determine if " + docId + " is child of " + parentDocId + ": " + e);
123 public String createDocument(String docId, String mimeType, String displayName) argument
127 final File parent = getFileForDocId(docId);
168 public String renameDocument(String docId, String displayName) throws FileNotFoundException { argument
170 // docId, we're okay with letting the MIME type change.
173 final File before = getFileForDocId(docId);
237 deleteDocument(String docId) argument
374 includeFile(MatrixCursor result, String docId, File file) argument
442 getFileForDocId(String docId) argument
514 DirectoryCursor(String[] columnNames, String docId, File file) argument
[all...]
/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);

Completed in 152 milliseconds