Searched refs:isFilenameSafe (Results 1 – 3 of 3) sorted by relevance
73 isFilenameSafe(const char* filename) in isFilenameSafe() function349 if (!isFilenameSafe(lastSlash + 1)) { in next()537 if (isFilenameSafe(baseName)) { in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode()
228 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()
596 public static boolean isFilenameSafe(File file) { in isFilenameSafe() method in FileUtils