Searched refs:docUri (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 443 final Uri docUri = DocumentsContract.buildDocumentUriUsingTree(uri, in testTransferDocument() local 446 assertEquals("DIR2", getColumn(docUri, Document.COLUMN_DISPLAY_NAME)); in testTransferDocument() 451 docUri, DocumentsContract.getDocumentId(docUri)), in testTransferDocument() 463 docUri, cursor.getString(0)); in testTransferDocument() 472 docUri, cursor.getString(0)); in testTransferDocument() 480 resolver, sourceFileUri, docUri, targetDirUri); in testTransferDocument() 505 docUri, DocumentsContract.getDocumentId(docUri)), in testTransferDocument() 583 final Uri docUri = DocumentsContract.buildDocumentUri(PROVIDER_PACKAGE, "doc:file1"); in testOpenDocumentAtInitialLocation() local 588 intent.putExtra(DocumentsContract.EXTRA_INITIAL_URI, docUri); in testOpenDocumentAtInitialLocation() 602 final Uri docUri = DocumentsContract.buildDocumentUri(PROVIDER_PACKAGE, "doc:dir2"); in testOpenDocumentTreeAtInitialLocation() local [all …]
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 159 final Uri docUri = MediaStore.getDocumentUri(mActivity, mMediaStoreUri); in testGetDocumentUri() local 160 assertNotNull(docUri); in testGetDocumentUri() 167 try (ParcelFileDescriptor fd = resolver.openFileDescriptor(docUri, "r")) { in testGetDocumentUri() 173 try (ParcelFileDescriptor fd = resolver.openFileDescriptor(docUri, "wt")) { in testGetDocumentUri() 202 final Uri docUri = MediaStore.getDocumentUri(mActivity, mMediaStoreUri); in testGetDocumentUri_Symmetry() local 203 Log.v(TAG, "Document " + docUri); in testGetDocumentUri_Symmetry() 204 assertNotNull(docUri); in testGetDocumentUri_Symmetry() 206 final Uri mediaUri = MediaStore.getMediaUri(mActivity, docUri); in testGetDocumentUri_Symmetry()
|