Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java191 assertTrue(FileUtils.isValidExtFilename("a")); in testValidExtFilename()
192 assertTrue(FileUtils.isValidExtFilename("foo.bar")); in testValidExtFilename()
193 assertTrue(FileUtils.isValidExtFilename("foo bar.baz")); in testValidExtFilename()
194 assertTrue(FileUtils.isValidExtFilename("foo.bar.baz")); in testValidExtFilename()
195 assertTrue(FileUtils.isValidExtFilename(".bar")); in testValidExtFilename()
196 assertTrue(FileUtils.isValidExtFilename("foo~!@#$%^&*()_[]{}+bar")); in testValidExtFilename()
198 assertFalse(FileUtils.isValidExtFilename(null)); in testValidExtFilename()
199 assertFalse(FileUtils.isValidExtFilename(".")); in testValidExtFilename()
200 assertFalse(FileUtils.isValidExtFilename("../foo")); in testValidExtFilename()
201 assertFalse(FileUtils.isValidExtFilename("/foo")); in testValidExtFilename()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java388 if (!FileUtils.isValidExtFilename(markerName)) { in createRemoveSplitMarker()
423 if (!FileUtils.isValidExtFilename(name)) { in openWriteInternal()
472 if (!FileUtils.isValidExtFilename(name)) { in openReadInternal()
712 if (!FileUtils.isValidExtFilename(targetName)) { in validateInstallLocked()
DPackageManagerService.java13370 if (!FileUtils.isValidExtFilename(name)) {
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java171 !FileUtils.isValidExtFilename(name)) { in getFileForDocId()
/frameworks/base/core/java/android/os/
DFileUtils.java483 public static boolean isValidExtFilename(String name) { in isValidExtFilename() method in FileUtils
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1378 if (requireFilename && !FileUtils.isValidExtFilename(name)) { in validateName()