Searched refs:buildUniqueFile (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 249 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test")); in testBuildUniqueFile_normal() 250 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpg")); in testBuildUniqueFile_normal() 251 … assertNameEquals("test.jpeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpeg")); in testBuildUniqueFile_normal() 252 … assertNameEquals("TEst.JPeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "TEst.JPeg")); in testBuildUniqueFile_normal() 254 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png.jpg")); in testBuildUniqueFile_normal() 256 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png")); in testBuildUniqueFile_normal() 258 assertNameEquals("test.flac", FileUtils.buildUniqueFile(mTarget, "audio/flac", "test")); in testBuildUniqueFile_normal() 259 … assertNameEquals("test.flac", FileUtils.buildUniqueFile(mTarget, "audio/flac", "test.flac")); in testBuildUniqueFile_normal() 261 FileUtils.buildUniqueFile(mTarget, "application/x-flac", "test")); in testBuildUniqueFile_normal() 263 FileUtils.buildUniqueFile(mTarget, "application/x-flac", "test.flac")); in testBuildUniqueFile_normal() [all …]
|
/frameworks/base/core/java/com/android/internal/content/ |
D | FileSystemProvider.java | 169 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument() 217 final File after = FileUtils.buildUniqueFile(before.getParentFile(), displayName); in renameDocument()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 638 public static File buildUniqueFile(File parent, String mimeType, String displayName) in buildUniqueFile() method in FileUtils 648 public static File buildUniqueFile(File parent, String displayName) in buildUniqueFile() method in FileUtils
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 339 outFile = FileUtils.buildUniqueFile(externalStorage, mimeType, fileName);
|