Home
last modified time | relevance | path

Searched refs:isSymlink (Results 1 – 2 of 2) sorted by relevance

/system/timezone/distro/core/src/test/com/android/timezone/distro/
DFileUtilsTest.java90 assertFalse(FileUtils.isSymlink(dir)); in testIsSymlink()
91 assertFalse(FileUtils.isSymlink(subDir)); in testIsSymlink()
92 assertFalse(FileUtils.isSymlink(fileInSubDir)); in testIsSymlink()
93 assertFalse(FileUtils.isSymlink(normalFile)); in testIsSymlink()
94 assertTrue(FileUtils.isSymlink(symlinkToDir)); in testIsSymlink()
95 assertTrue(FileUtils.isSymlink(symlinkToFile)); in testIsSymlink()
96 assertTrue(FileUtils.isSymlink(symlinkToFileInSubDir)); in testIsSymlink()
97 assertFalse(FileUtils.isSymlink(normalFileViaSymlink)); in testIsSymlink()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DFileUtils.java123 public static boolean isSymlink(File file) throws IOException { in isSymlink() method in FileUtils
133 if (file.isDirectory() && !FileUtils.isSymlink(file)) { in deleteRecursive()