/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 91 public String docId; field in ExternalStorageProvider.RootInfo 217 root.docId = getDocIdForFile(root.path); in updateVolumesLocked() 248 root.docId = getDocIdForFile(root.path); in updateVolumesLocked() 318 private File getFileForDocId(String docId) throws FileNotFoundException { in getFileForDocId() argument 319 return getFileForDocId(docId, false); in getFileForDocId() 322 private File getFileForDocId(String docId, boolean visible) throws FileNotFoundException { in getFileForDocId() argument 323 final int splitIndex = docId.indexOf(':', 1); in getFileForDocId() 324 final String tag = docId.substring(0, splitIndex); in getFileForDocId() 325 final String path = docId.substring(splitIndex + 1); in getFileForDocId() 344 throw new FileNotFoundException("Missing file for " + docId + " at " + target); in getFileForDocId() [all …]
|
D | TestDocumentsProvider.java | 311 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() argument 319 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail() argument 393 private static void includeFile(MatrixCursor result, String docId, int flags) { in includeFile() argument 395 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile() 396 row.add(Document.COLUMN_DISPLAY_NAME, docId); in includeFile() 400 if (MY_DOC_ID.equals(docId)) { in includeFile() 403 } else if (MY_DOC_NULL.equals(docId)) { in includeFile()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/model/ |
D | DocumentInfoTest.java | 54 private static DocumentInfo createDocInfo(String authority, String docId, String mimeType) { in createDocInfo() argument 57 doc.documentId = docId; in createDocInfo()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | StubProvider.java | 178 public boolean isChildDocument(String parentDocId, String docId) { in isChildDocument() argument 180 final StubDocument childDocument = mStorage.get(docId); in isChildDocument() 317 public ParcelFileDescriptor openDocument(String docId, String mode, CancellationSignal signal) in openDocument() argument 320 final StubDocument document = mStorage.get(docId); in openDocument() 329 if (mSimulateReadErrorIds.contains(docId)) { in openDocument() 354 String docId, Point sizeHint, CancellationSignal signal) throws FileNotFoundException { in openDocumentThumbnail() argument 360 String docId, String mimeTypeFilter, Bundle opts, CancellationSignal signal) in openTypedDocument() argument 362 final StubDocument document = mStorage.get(docId); in openTypedDocument() 372 if (mSimulateReadErrorIds.contains(docId)) { in openTypedDocument()
|
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 164 public AssetFileDescriptor openDocumentThumbnail(String docId, Point sizeHint, in openDocumentThumbnail() argument 167 final StubDocument document = mDocuments.get(docId); in openDocumentThumbnail() 172 public ParcelFileDescriptor openDocument(String docId, String mode, in openDocument() argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | OpenExternalDirectoryActivity.java | 313 final String docId = bundle == null ? null : bundle.getString("DOC_ID"); in getGrantedUriPermission() local 314 if (docId == null) { in getGrantedUriPermission() 319 if (DEBUG) Log.d(TAG, "doc id for " + file + ": " + docId); in getGrantedUriPermission() 321 final Uri uri = DocumentsContract.buildTreeDocumentUri(EXTERNAL_STORAGE_AUTH, docId); in getGrantedUriPermission() 323 Log.e(TAG, "Could not get URI for doc id " + docId); in getGrantedUriPermission()
|
D | IconUtils.java | 43 Context context, String mimeType, String authority, String docId, int mode) { in loadMimeIcon() argument
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | GridDocumentHolder.java | 122 final String docId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in bind() local 137 final Uri uri = DocumentsContract.buildDocumentUri(docAuthority, docId); in bind()
|
D | ListDocumentHolder.java | 118 final String docId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); in bind() local 135 final Uri uri = DocumentsContract.buildDocumentUri(docAuthority, docId); in bind()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | ModelTest.java | 153 String docId = DocumentInfo.getCursorString(cOut, Document.COLUMN_DOCUMENT_ID); in testModelIdIsUnique() local 157 b0.set(Integer.parseInt(docId)); in testModelIdIsUnique() 160 b1.set(Integer.parseInt(docId)); in testModelIdIsUnique()
|