Home
last modified time | relevance | path

Searched refs:docUri (Results 1 – 8 of 8) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DLoadDocStackTask.java69 final Uri docUri; in run() local
74 docUri = DocumentsContract.buildDocumentUri(uris[0].getAuthority(), docId); in run()
76 docUri = uris[0]; in run()
80 final Path path = mDocs.findDocumentPath(docUri, mUserId); in run()
82 return buildStack(docUri.getAuthority(), path); in run()
87 Log.e(TAG, "Failed to build document stack for uri: " + docUri, e); in run()
DMetrics.java231 Context context, @MetricConsts.SubFileOp int subFileOp, Uri docUri) { in logFileOperationFailure() argument
232 final String authority = docUri.getAuthority(); in logFileOperationFailure()
240 logStorageFileOperationFailure(context, subFileOp, docUri); in logFileOperationFailure()
369 Context context, @MetricConsts.SubFileOp int subFileOp, Uri docUri) { in logStorageFileOperationFailure() argument
370 assert(Providers.AUTHORITY_STORAGE.equals(docUri.getAuthority())); in logStorageFileOperationFailure()
374 final Path path = DocumentsContract.findDocumentPath(wrap(client), docUri); in logStorageFileOperationFailure()
DDocumentsAccess.java140 public Path findDocumentPath(Uri docUri, UserId userId) in findDocumentPath() argument
147 .acquireUnstableProviderOrThrow(resolver, docUri.getAuthority())) { in findDocumentPath()
148 return DocumentsContract.findDocumentPath(wrap(client), docUri); in findDocumentPath()
DAbstractActionHandler.java990 void notifyDirectoryNavigated(Uri docUri); in notifyDirectoryNavigated() argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsAccess.java88 public Path findDocumentPath(Uri docUri, UserId userId) throws RemoteException { in findDocumentPath() argument
89 lastUri.accept(docUri); in findDocumentPath()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DProfileTabsTest.java335 public void notifyDirectoryNavigated(Uri docUri) { in notifyDirectoryNavigated() argument
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java363 final Uri docUri = mEnv.docs.getLastCreatedDocumentUri(); in testSaveDocument_SetsCorrectResultAndFinishes() local
373 assertContent(result, docUri); in testSaveDocument_SetsCorrectResultAndFinishes()
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/
DUnbundledChooserActivityTest.java1105 Uri docUri = createTestContentProviderUri("application/pdf", "image/png", 3_000); in testPartiallyLoadedMetadata_previewIsShownForTheLoadedPart() local
1111 uris.add(docUri); in testPartiallyLoadedMetadata_previewIsShownForTheLoadedPart()
1117 bitmaps.put(docUri, createWideBitmap(Color.BLUE)); in testPartiallyLoadedMetadata_previewIsShownForTheLoadedPart()