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.java184 assertTrue(FileUtils.isValidExtFilename("a")); in testValidExtFilename()
185 assertTrue(FileUtils.isValidExtFilename("foo.bar")); in testValidExtFilename()
186 assertTrue(FileUtils.isValidExtFilename("foo bar.baz")); in testValidExtFilename()
187 assertTrue(FileUtils.isValidExtFilename("foo.bar.baz")); in testValidExtFilename()
188 assertTrue(FileUtils.isValidExtFilename(".bar")); in testValidExtFilename()
189 assertTrue(FileUtils.isValidExtFilename("foo~!@#$%^&*()_[]{}+bar")); in testValidExtFilename()
191 assertFalse(FileUtils.isValidExtFilename(null)); in testValidExtFilename()
192 assertFalse(FileUtils.isValidExtFilename(".")); in testValidExtFilename()
193 assertFalse(FileUtils.isValidExtFilename("../foo")); in testValidExtFilename()
194 assertFalse(FileUtils.isValidExtFilename("/foo")); in testValidExtFilename()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java347 if (!FileUtils.isValidExtFilename(name)) { in openWriteInternal()
396 if (!FileUtils.isValidExtFilename(name)) { in openReadInternal()
619 if (!FileUtils.isValidExtFilename(targetName)) { in validateInstallLocked()
DPackageManagerService.java9454 if (!FileUtils.isValidExtFilename(name)) { in copyApk()
/frameworks/base/core/java/android/os/
DFileUtils.java418 public static boolean isValidExtFilename(String name) { in isValidExtFilename() method in FileUtils
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8344 if (!FileUtils.isValidExtFilename(filename)