Home
last modified time | relevance | path

Searched refs:derivedUri (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java240 "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 …]
DMoveJob.java94 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()
DJob.java189 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()
DDeleteJob.java85 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/
DDocumentInfo.java60 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/
DAbstractCopyJobTest.java101 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()
DFileOperationServiceTest.java181 destDoc.derivedUri = destination; in createDoc()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentClipper.java137 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()
DDocumentsActivity.java304 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()
DCreateDirectoryFragment.java139 resolver, mCwd.derivedUri.getAuthority()); in doInBackground()
141 client, mCwd.derivedUri, Document.MIME_TYPE_DIR, mDisplayName); in doInBackground()
DFilesActivity.java307 manage.setData(doc.derivedUri); in onDocumentPicked()
345 intent.setData(doc.derivedUri); in openDocument()
DQuickViewIntentBuilder.java81 intent.setDataAndType(mDocument.derivedUri, mDocument.mimeType); in build()
DBaseActivity.java362 notifyDirectoryNavigated(doc.derivedUri); in openContainerDocument()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DTestContentProvider.java48 ModelTest.assertTrue(mDeleted.contains(doc.derivedUri)); in assertWasDeleted()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DRenameDocumentFragment.java217 resolver, document[0].derivedUri.getAuthority()); in doInBackground()
219 client, document[0].derivedUri, mNewDisplayName); in doInBackground()
DDirectoryFragment.java752 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/
DDocumentsProviderHelper.java282 assertFileContents(file.derivedUri, expected); in assertFileContents()