Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java86 assertTrue(FileUtils.isFilenameSafe(new File("foobar"))); in testIsFilenameSafe()
87 assertTrue(FileUtils.isFilenameSafe(new File("a_b-c=d.e/0,1+23"))); in testIsFilenameSafe()
88 assertFalse(FileUtils.isFilenameSafe(new File("foo*bar"))); in testIsFilenameSafe()
89 assertFalse(FileUtils.isFilenameSafe(new File("foo\nbar"))); in testIsFilenameSafe()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp75 isFilenameSafe(const char* filename) in isFilenameSafe() function
363 if (!isFilenameSafe(lastSlash + 1)) { in next()
539 if (isFilenameSafe(baseName)) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
/frameworks/base/core/java/android/os/
DFileUtils.java220 public static boolean isFilenameSafe(File file) { in isFilenameSafe() method in FileUtils