Searched refs:deleteDocument (Results 1 – 4 of 4) sorted by relevance
30 import static android.provider.DocumentsContract.deleteDocument;282 doNothing().when(mProvider).deleteDocument(DOC_RED); in testDeleteDocument()283 assertEquals(true, deleteDocument(mResolver, URI_RED)); in testDeleteDocument()288 doThrow(new RuntimeException()).when(mProvider).deleteDocument(DOC_RED); in testDeleteDocument_Failure()290 deleteDocument(mResolver, URI_RED); in testDeleteDocument_Failure()
259 public void deleteDocument(String documentId) throws FileNotFoundException { in deleteDocument() method in MyDocumentsProvider
437 assertTrue("delete", DocumentsContract.deleteDocument(resolver, file4)); in testTree()
36989 …method public static boolean deleteDocument(@NonNull android.content.ContentResolver, @NonNull and…37090 method public void deleteDocument(String) throws java.io.FileNotFoundException;