Home
last modified time | relevance | path

Searched refs:createFile (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DCopyTest.java157 Uri testFile = mStorage.createFile(SRC, srcPath, "text/plain", in testCopyFile()
187 mStorage.createFile(SRC, srcPaths[0], "text/plain", testContent[0].getBytes()), in testCopyMultipleFiles()
188 mStorage.createFile(SRC, srcPaths[1], "text/plain", testContent[1].getBytes()), in testCopyMultipleFiles()
189 mStorage.createFile(SRC, srcPaths[2], "text/plain", testContent[2].getBytes())); in testCopyMultipleFiles()
207 Uri testDir = mStorage.createFile(SRC, srcPath, DocumentsContract.Document.MIME_TYPE_DIR, in testCopyEmptyDir()
225 Uri testFile = mStorage.createFile(SRC, srcPath, "text/plain", in testReadErrors()
DStubProvider.java409 public Uri createFile(String rootId, String path, String mimeType, byte[] content) in createFile() method in StubProvider
418 parent = mStorage.get(createFile(rootId, file.getParentFile().getPath(), in createFile()
/frameworks/support/v4/api21/android/support/v4/provider/
DDocumentsContractApi21.java31 public static Uri createFile(Context context, Uri self, String mimeType, in createFile() method in DocumentsContractApi21
38 return createFile(context, self, DocumentsContract.Document.MIME_TYPE_DIR, displayName); in createDirectory()
/frameworks/support/v4/java/android/support/v4/provider/
DTreeDocumentFile.java33 public DocumentFile createFile(String mimeType, String displayName) { in createFile() method in TreeDocumentFile
34 final Uri result = DocumentsContractApi21.createFile(mContext, mUri, mimeType, displayName); in createFile()
DSingleDocumentFile.java34 public DocumentFile createFile(String mimeType, String displayName) { in createFile() method in SingleDocumentFile
DDocumentFile.java164 public abstract DocumentFile createFile(String mimeType, String displayName); in createFile() method in DocumentFile
DRawDocumentFile.java36 public DocumentFile createFile(String mimeType, String displayName) { in createFile() method in RawDocumentFile
/frameworks/support/tests/java/android/support/v4/provider/
DDocumentFileTest.java213 final DocumentFile newFile = meow.createFile("text/plain", "My New File"); in testCreate()
224 final DocumentFile newRaw = meow.createFile("application/octet-stream", in testCreate()
/frameworks/base/docs/html/guide/topics/providers/
Ddocument-provider.jd425 // createFile("text/plain", "foobar.txt");
426 // createFile("image/png", "mypicture.png");
431 private void createFile(String mimeType, String fileName) {
/frameworks/support/v4/api/
D22.0.0.txt1514 …method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.…
D22.1.0.txt1533 …method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.…
D22.2.1.txt1592 …method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.…
D22.2.0.txt1591 …method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.…
D23.txt1784 …method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.…
Dcurrent.txt1790 …method public abstract android.support.v4.provider.DocumentFile createFile(java.lang.String, java.…