Home
last modified time | relevance | path

Searched refs:removeDocument (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java36 import static android.provider.DocumentsContract.removeDocument;
278 doNothing().when(mProvider).removeDocument(DOC_RED, DOC_GREEN); in testRemoveDocument()
279 assertEquals(true, removeDocument(mResolver, URI_RED, URI_GREEN)); in testRemoveDocument()
284 doThrow(new RuntimeException()).when(mProvider).removeDocument(DOC_RED, DOC_GREEN); in testRemoveDocument_Failure()
286 removeDocument(mResolver, URI_RED, URI_GREEN); in testRemoveDocument_Failure()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java516 assertTrue(DocumentsContract.removeDocument(resolver, movedFileUri, targetDirUri)); in testTransferDocument()
517 assertTrue(DocumentsContract.removeDocument(resolver, copiedFileUri, targetDirUri)); in testTransferDocument()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java267 public void removeDocument(String documentId, String parentDocumentId) in removeDocument() method in MyDocumentsProvider