Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java443 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/
DMediaStoreUiTest.java135 final Uri docUri = MediaStore.getDocumentUri(mActivity, mMediaStoreUri); in testGetDocumentUri() local
136 assertNotNull(docUri); in testGetDocumentUri()
143 try (ParcelFileDescriptor fd = resolver.openFileDescriptor(docUri, "r")) { in testGetDocumentUri()
149 try (ParcelFileDescriptor fd = resolver.openFileDescriptor(docUri, "wt")) { in testGetDocumentUri()
178 final Uri docUri = MediaStore.getDocumentUri(mActivity, mMediaStoreUri); in testGetDocumentUri_Symmetry() local
179 Log.v(TAG, "Document " + docUri); in testGetDocumentUri_Symmetry()
180 assertNotNull(docUri); in testGetDocumentUri_Symmetry()
182 final Uri mediaUri = MediaStore.getMediaUri(mActivity, docUri); in testGetDocumentUri_Symmetry()