Home
last modified time | relevance | path

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

/development/samples/Vault/tests/src/com/example/android/vault/
DVaultProviderTest.java59 final String file = mProvider.createDocument( in testDeleteDirectory()
61 final String dir = mProvider.createDocument( in testDeleteDirectory()
64 final String dirfile = mProvider.createDocument( in testDeleteDirectory()
66 final String dirdir = mProvider.createDocument( in testDeleteDirectory()
69 final String dirdirfile = mProvider.createDocument( in testDeleteDirectory()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java345 Uri pic = createDocument(cr, doc, "image/png", "pic.png"); in onActivityResult()
346 Uri dir = createDocument(cr, doc, Document.MIME_TYPE_DIR, "my dir"); in onActivityResult()
347 Uri dirPic = createDocument(cr, dir, "image/png", "pic2.png"); in onActivityResult()
387 private Uri createDocument(ContentResolver resolver, Uri documentUri, String mimeType, in createDocument() method in DocumentsSample
391 uri = DocumentsContract.createDocument(resolver, documentUri, mimeType, displayName); in createDocument()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java202 .createDocument(contentResolver, docUri, Document.MIME_TYPE_DIR, directoryName); in createDirectory()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java333 public String createDocument(String documentId, String mimeType, String displayName)
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java293 public String createDocument(String parentDocumentId, String mimeType, String displayName) in createDocument() method in VaultProvider