Searched refs:renameDocument (Results 1 – 3 of 3) sorted by relevance
37 import static android.provider.DocumentsContract.renameDocument;232 doReturn(DOC_RESULT).when(mProvider).renameDocument(DOC_RED, DISPLAY_NAME); in testRenameDocument()233 assertEquals(URI_RESULT, renameDocument(mResolver, URI_RED, DISPLAY_NAME)); in testRenameDocument()
251 public String renameDocument(String documentId, String displayName) in renameDocument() method in MyDocumentsProvider
334 dirPic = DocumentsContract.renameDocument(resolver, dirPic, "wow"); in testTree()