Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp73 isFilenameSafe(const char* filename) in isFilenameSafe() function
349 if (!isFilenameSafe(lastSlash + 1)) { in next()
537 if (isFilenameSafe(baseName)) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java228 assertTrue(FileUtils.isFilenameSafe(new File("foobar"))); in testIsFilenameSafe()
229 assertTrue(FileUtils.isFilenameSafe(new File("a_b-c=d.e/0,1+23"))); in testIsFilenameSafe()
230 assertFalse(FileUtils.isFilenameSafe(new File("foo*bar"))); in testIsFilenameSafe()
231 assertFalse(FileUtils.isFilenameSafe(new File("foo\nbar"))); in testIsFilenameSafe()
/frameworks/base/core/java/android/os/
DFileUtils.java596 public static boolean isFilenameSafe(File file) { in isFilenameSafe() method in FileUtils