Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java456 assertTrue(FileUtils.isValidExtFilename("a")); in testValidExtFilename()
457 assertTrue(FileUtils.isValidExtFilename("foo.bar")); in testValidExtFilename()
458 assertTrue(FileUtils.isValidExtFilename("foo bar.baz")); in testValidExtFilename()
459 assertTrue(FileUtils.isValidExtFilename("foo.bar.baz")); in testValidExtFilename()
460 assertTrue(FileUtils.isValidExtFilename(".bar")); in testValidExtFilename()
461 assertTrue(FileUtils.isValidExtFilename("foo~!@#$%^&*()_[]{}+bar")); in testValidExtFilename()
463 assertFalse(FileUtils.isValidExtFilename(null)); in testValidExtFilename()
464 assertFalse(FileUtils.isValidExtFilename(".")); in testValidExtFilename()
465 assertFalse(FileUtils.isValidExtFilename("../foo")); in testValidExtFilename()
466 assertFalse(FileUtils.isValidExtFilename("/foo")); in testValidExtFilename()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java133 !FileUtils.isValidExtFilename(name)) { in getFileForDocId()
/frameworks/base/core/java/android/content/pm/parsing/
DFrameworkParsingPackageUtils.java96 if (!FileUtils.isValidExtFilename(name)) { in validateName()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java1761 if (!FileUtils.isValidExtFilename(markerName)) { in getRemoveMarkerName()
1965 if (!FileUtils.isValidExtFilename(name)) { in doWriteInternal()
2064 if (!FileUtils.isValidExtFilename(name)) { in openReadInternalLocked()
3374 if (!FileUtils.isValidExtFilename(targetName)) {
3510 if (!FileUtils.isValidExtFilename(targetName)) {
3880 if (!FileUtils.isValidExtFilename(dexMetadataFile.getName())) {
4590 if (!FileUtils.isValidExtFilename(name)) {
DPackageManagerServiceUtils.java1056 if (!FileUtils.isValidExtFilename(targetName)) { in copyFile()
/frameworks/base/core/java/android/os/
DFileUtils.java1074 public static boolean isValidExtFilename(String name) { in isValidExtFilename() method in FileUtils
/frameworks/base/core/java/android/app/
DContextImpl.java861 Preconditions.checkArgument(FileUtils.isValidExtFilename(crateId), "invalidated crateId"); in getCrateDir()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1567 if (requireFilename && !FileUtils.isValidExtFilename(name)) { in validateName()
/frameworks/base/boot/
Dboot-image-profile.txt11952 HSPLandroid/os/FileUtils;->isValidExtFilename(Ljava/lang/String;)Z
/frameworks/base/config/
Dboot-image-profile.txt11955 HSPLandroid/os/FileUtils;->isValidExtFilename(Ljava/lang/String;)Z
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35372 Landroid/os/FileUtils;->isValidExtFilename(Ljava/lang/String;)Z