Searched refs:pathname (Results 1 – 2 of 2) sorted by relevance
92 private static boolean isUnapprovedRootProcess(File pathname) in isUnapprovedRootProcess() argument94 return isPidDirectory(pathname) in isUnapprovedRootProcess()95 && !isKernelProcess(pathname) in isUnapprovedRootProcess()96 && isRootProcess(pathname); in isUnapprovedRootProcess()99 private static boolean isPidDirectory(File pathname) { in isPidDirectory() argument100 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName()); in isPidDirectory()
969 @Override public boolean accept(File pathname) { in getAllWritableFilesInDirAndSubDir()970 return pathname.isDirectory(); in getAllWritableFilesInDirAndSubDir()983 @Override public boolean accept(File pathname) { in getAllWritableFilesInDirAndSubDir()984 return pathname.isFile(); in getAllWritableFilesInDirAndSubDir()1187 @Override public boolean accept(File pathname) { in getAllInsecureDevicesInDirAndSubdir()1188 return pathname.isDirectory(); in getAllInsecureDevicesInDirAndSubdir()