Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java427 Uri pic = DocumentsContract.createDocument(resolver, doc, "image/png", "pic.png"); in testTree()
428 Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, "my dir"); in testTree()
429 Uri dirPic = DocumentsContract.createDocument(resolver, dir, "image/png", "pic2.png"); in testTree()
834 Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, "my dir"); in testFindDocumentPathInScopedAccess()
835 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;
270 doReturn(DOC_RESULT).when(mProvider).createDocument(DOC_RED, MIME_TYPE, DISPLAY_NAME); in testCreateDocument()
271 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.java242 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in MyDocumentsProvider
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt36987 …method @Nullable public static android.net.Uri createDocument(@NonNull android.content.ContentReso…
37087 … method public String createDocument(String, String, String) throws java.io.FileNotFoundException;