Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java342 assertTrue(FileUtils.isValidExtFilename("a")); in testValidExtFilename()
343 assertTrue(FileUtils.isValidExtFilename("foo.bar")); in testValidExtFilename()
344 assertTrue(FileUtils.isValidExtFilename("foo bar.baz")); in testValidExtFilename()
345 assertTrue(FileUtils.isValidExtFilename("foo.bar.baz")); in testValidExtFilename()
346 assertTrue(FileUtils.isValidExtFilename(".bar")); in testValidExtFilename()
347 assertTrue(FileUtils.isValidExtFilename("foo~!@#$%^&*()_[]{}+bar")); in testValidExtFilename()
349 assertFalse(FileUtils.isValidExtFilename(null)); in testValidExtFilename()
350 assertFalse(FileUtils.isValidExtFilename(".")); in testValidExtFilename()
351 assertFalse(FileUtils.isValidExtFilename("../foo")); in testValidExtFilename()
352 assertFalse(FileUtils.isValidExtFilename("/foo")); in testValidExtFilename()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java133 !FileUtils.isValidExtFilename(name)) { in getFileForDocId()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java641 if (!FileUtils.isValidExtFilename(markerName)) { in getRemoveMarkerName()
700 if (!FileUtils.isValidExtFilename(name)) { in doWriteInternal()
798 if (!FileUtils.isValidExtFilename(name)) { in openReadInternalLocked()
1466 if (!FileUtils.isValidExtFilename(targetName)) { in validateApexInstallLocked()
1576 if (!FileUtils.isValidExtFilename(targetName)) { in validateApkInstallLocked()
1592 if (!FileUtils.isValidExtFilename(dexMetadataFile.getName())) { in validateApkInstallLocked()
DPackageManagerServiceUtils.java871 if (!FileUtils.isValidExtFilename(targetName)) { in copyFile()
/frameworks/base/core/java/android/os/
DFileUtils.java941 public static boolean isValidExtFilename(String name) { in isValidExtFilename() method in FileUtils
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1703 if (requireFilename && !FileUtils.isValidExtFilename(name)) { in validateName()
/frameworks/base/config/
Dboot-image-profile.txt11458 HSPLandroid/os/FileUtils;->isValidExtFilename(Ljava/lang/String;)Z
Dhiddenapi-greylist-max-o.txt49854 Landroid/os/FileUtils;->isValidExtFilename(Ljava/lang/String;)Z