Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java316 Uri pic = DocumentsContract.createDocument(resolver, doc, "image/png", "pic.png"); in testTree()
317 Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, "my dir"); in testTree()
318 Uri dirPic = DocumentsContract.createDocument(resolver, dir, "image/png", "pic2.png"); in testTree()
560 Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, "my dir"); in testFindDocumentPathInScopedAccess()
561 Uri dirPic = DocumentsContract.createDocument(resolver, dir, "image/png", "pic2.png"); in testFindDocumentPathInScopedAccess()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java28 import static android.provider.DocumentsContract.createDocument;
226 doReturn(DOC_RESULT).when(mProvider).createDocument(DOC_RED, MIME_TYPE, DISPLAY_NAME); in testCreateDocument()
227 assertEquals(URI_RESULT, createDocument(mResolver, URI_RED, MIME_TYPE, DISPLAY_NAME)); in testCreateDocument()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java241 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in MyDocumentsProvider