Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java380 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test")); in testBuildUniqueFile_normal()
381 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpg")); in testBuildUniqueFile_normal()
382 … assertNameEquals("test.jpeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpeg")); in testBuildUniqueFile_normal()
383 … assertNameEquals("TEst.JPeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "TEst.JPeg")); in testBuildUniqueFile_normal()
385 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png.jpg")); in testBuildUniqueFile_normal()
387 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png")); in testBuildUniqueFile_normal()
389 assertNameEquals("test.flac", FileUtils.buildUniqueFile(mTarget, "audio/flac", "test")); in testBuildUniqueFile_normal()
390 … assertNameEquals("test.flac", FileUtils.buildUniqueFile(mTarget, "audio/flac", "test.flac")); in testBuildUniqueFile_normal()
392 FileUtils.buildUniqueFile(mTarget, "application/x-flac", "test")); in testBuildUniqueFile_normal()
394 FileUtils.buildUniqueFile(mTarget, "application/x-flac", "test.flac")); in testBuildUniqueFile_normal()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java189 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument()
239 final File after = FileUtils.buildUniqueFile(before.getParentFile(), displayName); in renameDocument()
/frameworks/base/media/java/android/media/
DUtils.java339 outFile = FileUtils.buildUniqueFile(externalStorage, mimeType, fileName);
/frameworks/base/core/java/android/os/
DFileUtils.java899 public static File buildUniqueFile(File parent, String mimeType, String displayName) in buildUniqueFile() method in FileUtils
909 public static File buildUniqueFile(File parent, String displayName) in buildUniqueFile() method in FileUtils