Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java402 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test")); in testBuildUniqueFile_normal()
403 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpg")); in testBuildUniqueFile_normal()
404 … assertNameEquals("test.jpeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpeg")); in testBuildUniqueFile_normal()
405 … assertNameEquals("TEst.JPeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "TEst.JPeg")); in testBuildUniqueFile_normal()
407 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png.jpg")); in testBuildUniqueFile_normal()
409 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png")); in testBuildUniqueFile_normal()
411 assertNameEquals("test.flac", FileUtils.buildUniqueFile(mTarget, "audio/flac", "test")); in testBuildUniqueFile_normal()
412 … assertNameEquals("test.flac", FileUtils.buildUniqueFile(mTarget, "audio/flac", "test.flac")); in testBuildUniqueFile_normal()
414 FileUtils.buildUniqueFile(mTarget, "application/x-flac", "test")); in testBuildUniqueFile_normal()
416 FileUtils.buildUniqueFile(mTarget, "application/x-flac", "test.flac")); in testBuildUniqueFile_normal()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java242 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument()
274 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.java1107 public static File buildUniqueFile(File parent, String mimeType, String displayName) in buildUniqueFile() method in FileUtils
1125 public static File buildUniqueFile(File parent, String displayName) in buildUniqueFile() method in FileUtils
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt49825 Landroid/os/FileUtils;->buildUniqueFile(Ljava/io/File;Ljava/lang/String;)Ljava/io/File;
49826 Landroid/os/FileUtils;->buildUniqueFile(Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)Ljava/io…