Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java192 assertTrue(FileUtils.isValidExtFilename("a")); in testValidExtFilename()
193 assertTrue(FileUtils.isValidExtFilename("foo.bar")); in testValidExtFilename()
194 assertTrue(FileUtils.isValidExtFilename("foo bar.baz")); in testValidExtFilename()
195 assertTrue(FileUtils.isValidExtFilename("foo.bar.baz")); in testValidExtFilename()
196 assertTrue(FileUtils.isValidExtFilename(".bar")); in testValidExtFilename()
197 assertTrue(FileUtils.isValidExtFilename("foo~!@#$%^&*()_[]{}+bar")); in testValidExtFilename()
199 assertFalse(FileUtils.isValidExtFilename(null)); in testValidExtFilename()
200 assertFalse(FileUtils.isValidExtFilename(".")); in testValidExtFilename()
201 assertFalse(FileUtils.isValidExtFilename("../foo")); in testValidExtFilename()
202 assertFalse(FileUtils.isValidExtFilename("/foo")); in testValidExtFilename()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java410 if (!FileUtils.isValidExtFilename(markerName)) { in createRemoveSplitMarker()
453 if (!FileUtils.isValidExtFilename(name)) { in openWriteInternal()
508 if (!FileUtils.isValidExtFilename(name)) { in openReadInternal()
758 if (!FileUtils.isValidExtFilename(targetName)) { in validateInstallLocked()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java156 !FileUtils.isValidExtFilename(name)) { in getFileForDocId()
/frameworks/base/core/java/android/os/
DFileUtils.java486 public static boolean isValidExtFilename(String name) { in isValidExtFilename() method in FileUtils
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1723 if (requireFilename && !FileUtils.isValidExtFilename(name)) { in validateName()