Home
last modified time | relevance | path

Searched refs:isFilenameSafe (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java206 assertTrue(FileUtils.isFilenameSafe(new File("foobar"))); in testIsFilenameSafe()
207 assertTrue(FileUtils.isFilenameSafe(new File("a_b-c=d.e/0,1+23"))); in testIsFilenameSafe()
208 assertFalse(FileUtils.isFilenameSafe(new File("foo*bar"))); in testIsFilenameSafe()
209 assertFalse(FileUtils.isFilenameSafe(new File("foo\nbar"))); in testIsFilenameSafe()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp72 isFilenameSafe(const char* filename) in isFilenameSafe() function
351 if (!isFilenameSafe(lastSlash + 1)) { in next()
539 if (isFilenameSafe(baseName)) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
/frameworks/base/core/java/android/os/
DFileUtils.java498 public static boolean isFilenameSafe(File file) { in isFilenameSafe() method in FileUtils
/frameworks/base/config/
Dhiddenapi-light-greylist.txt4001 Landroid/os/FileUtils;->isFilenameSafe(Ljava/io/File;)Z