Searched refs:pathname (Results 1 – 5 of 5) 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()
215 public boolean accept(File pathname) { in accept() argument217 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { in accept()220 Log.w(TAG, "Could not stat " + pathname); in accept()232 public boolean accept(File pathname) { in accept() argument233 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { in accept()240 Log.w(TAG, "Could not stat " + pathname); in accept()
101 public boolean accept(File pathname) { in getSourceFiles()102 return pathname.isDirectory() || pathname.toString().endsWith(".java"); in getSourceFiles()
424 public boolean accept(File pathname, String name) { in testDeviceTreeCpuCurrent()425 return (pathname.isDirectory() && name.matches("cpu@[0-9]+")); in testDeviceTreeCpuCurrent()773 @Override public boolean accept(File pathname) { in getAllWritableFilesInDirAndSubDir()774 return pathname.isDirectory(); in getAllWritableFilesInDirAndSubDir()787 @Override public boolean accept(File pathname) { in getAllWritableFilesInDirAndSubDir()788 return pathname.isFile(); in getAllWritableFilesInDirAndSubDir()1028 @Override public boolean accept(File pathname) { in getAllInsecureDevicesInDirAndSubdir()1029 return pathname.isDirectory(); in getAllInsecureDevicesInDirAndSubdir()
109 public boolean accept(File pathname) { in testSetup()110 return pathname.getName().endsWith(".zip"); in testSetup()