/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 240 "Copying " + srcInfo.displayName + " (" + srcInfo.derivedUri + ")" in start() 241 + " to " + dstInfo.displayName + " (" + dstInfo.derivedUri + ")"); in start() 245 Log.e(TAG, "Skipping recursive copy of " + srcInfo.derivedUri); in start() 251 Log.e(TAG, "Failed to copy " + srcInfo.derivedUri, e); in start() 297 if (DocumentsContract.copyDocument(getClient(src), src.derivedUri, in processDocument() 298 dstDirInfo.derivedUri) != null) { in processDocument() 302 Log.e(TAG, "Provider side copy failed for: " + src.derivedUri in processDocument() 306 if (DEBUG) Log.d(TAG, "Fallback to byte-by-byte copy for: " + src.derivedUri); in processDocument() 324 streamTypes = getContentResolver().getStreamTypes(src.derivedUri, "*/*"); in byteCopyDocument() 328 src.derivedUri, e); in byteCopyDocument() [all …]
|
D | MoveJob.java | 94 if (DocumentsContract.moveDocument(getClient(src), src.derivedUri, in processDocument() 95 srcParent != null ? srcParent.derivedUri : mSrcParent.derivedUri, in processDocument() 96 dest.derivedUri) != null) { in processDocument() 100 Log.e(TAG, "Provider side move failed for: " + src.derivedUri in processDocument() 104 if (DEBUG) Log.d(TAG, "Fallback to byte-by-byte move for: " + src.derivedUri); in processDocument() 113 src.derivedUri); in processDocument()
|
D | Job.java | 189 DocumentsContract.removeDocument(getClient(doc), doc.derivedUri, parent.derivedUri); in deleteDocument() 191 DocumentsContract.deleteDocument(getClient(doc), doc.derivedUri); in deleteDocument() 194 "not deletable nor removable: %s.", doc.derivedUri); in deleteDocument() 198 doc.derivedUri, e); in deleteDocument()
|
D | DeleteJob.java | 85 if (DEBUG) Log.d(TAG, "Deleting document @ " + doc.derivedUri); in start() 89 Log.e(TAG, "Failed to delete document @ " + doc.derivedUri, e); in start()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
D | DocumentInfo.java | 60 public Uri derivedUri; field in DocumentInfo 77 derivedUri = null; in reset() 179 updateFromUri(resolver, derivedUri); in updateSelf() 203 derivedUri = DocumentsContract.buildDocumentUri(authority, documentId); in deriveFields() 267 return derivedUri.hashCode() + mimeType.hashCode(); in hashCode() 282 return Objects.equals(derivedUri, other.derivedUri) in equals()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
D | AbstractCopyJobTest.java | 101 mDocs.assertChildCount(dir1Copy.derivedUri, 2); in runCopyDirRecursivelyTest() 102 mDocs.assertHasDirectory(dir1Copy.derivedUri, "dir2"); in runCopyDirRecursivelyTest() 103 mDocs.assertHasFile(dir1Copy.derivedUri, "test1.txt"); in runCopyDirRecursivelyTest() 106 mDocs.assertChildCount(dir2Copy.derivedUri, 1); in runCopyDirRecursivelyTest() 107 mDocs.assertHasFile(dir2Copy.derivedUri, "test2.txt"); in runCopyDirRecursivelyTest()
|
D | FileOperationServiceTest.java | 181 destDoc.derivedUri = destination; in createDoc()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentClipper.java | 137 clipData = new ClipData(label, mimeTypes, new ClipData.Item(doc.derivedUri)); in getClipDataForDocuments() 140 clipData.addItem(new ClipData.Item(doc.derivedUri)); in getClipDataForDocuments() 150 assert(doc.derivedUri != null); in getMimeTypes() 151 final Uri uri = doc.derivedUri; in getMimeTypes()
|
D | DocumentsActivity.java | 304 new ExistingFinishTask(this, replaceTarget.derivedUri) in onSaveRequested() 332 new ExistingFinishTask(this, doc.derivedUri) in onDocumentPicked() 346 uris[i] = docs.get(i).derivedUri; in onDocumentsPicked() 359 result = pickTarget.derivedUri; in onPickRequested() 567 resolver, cwd.derivedUri.getAuthority()); in run() 569 client, cwd.derivedUri, mMimeType, mDisplayName); in run()
|
D | CreateDirectoryFragment.java | 139 resolver, mCwd.derivedUri.getAuthority()); in doInBackground() 141 client, mCwd.derivedUri, Document.MIME_TYPE_DIR, mDisplayName); in doInBackground()
|
D | FilesActivity.java | 307 manage.setData(doc.derivedUri); in onDocumentPicked() 345 intent.setData(doc.derivedUri); in openDocument()
|
D | QuickViewIntentBuilder.java | 81 intent.setDataAndType(mDocument.derivedUri, mDocument.mimeType); in build()
|
D | BaseActivity.java | 362 notifyDirectoryNavigated(doc.derivedUri); in openContainerDocument()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
D | TestContentProvider.java | 48 ModelTest.assertTrue(mDeleted.contains(doc.derivedUri)); in assertWasDeleted()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | RenameDocumentFragment.java | 217 resolver, document[0].derivedUri.getAuthority()); in doInBackground() 219 client, document[0].derivedUri, mNewDisplayName); in doInBackground()
|
D | DirectoryFragment.java | 752 intent.putExtra(Intent.EXTRA_STREAM, doc.derivedUri); in shareDocuments() 763 uris.add(doc.derivedUri); in shareDocuments() 1565 model.doc != null ? model.doc.derivedUri : null); in onModelUpdate()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 282 assertFileContents(file.derivedUri, expected); in assertFileContents()
|