Home
last modified time | relevance | path

Searched refs:isValidFatFilename (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java212 assertTrue(FileUtils.isValidFatFilename("a")); in testValidFatFilename()
213 assertTrue(FileUtils.isValidFatFilename("foo bar.baz")); in testValidFatFilename()
214 assertTrue(FileUtils.isValidFatFilename("foo.bar.baz")); in testValidFatFilename()
215 assertTrue(FileUtils.isValidFatFilename(".bar")); in testValidFatFilename()
216 assertTrue(FileUtils.isValidFatFilename("foo.bar")); in testValidFatFilename()
217 assertTrue(FileUtils.isValidFatFilename("foo bar")); in testValidFatFilename()
218 assertTrue(FileUtils.isValidFatFilename("foo+bar")); in testValidFatFilename()
219 assertTrue(FileUtils.isValidFatFilename("foo,bar")); in testValidFatFilename()
221 assertFalse(FileUtils.isValidFatFilename("foo*bar")); in testValidFatFilename()
222 assertFalse(FileUtils.isValidFatFilename("foo?bar")); in testValidFatFilename()
[all …]
/frameworks/base/core/java/android/os/
DFileUtils.java535 public static boolean isValidFatFilename(String name) { in isValidFatFilename() method in FileUtils
/frameworks/base/core/java/android/app/
DDownloadManager.java1229 if (!FileUtils.isValidFatFilename(displayName)) {