Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 5 of 5) sorted by relevance

/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java92 private static boolean isUnapprovedRootProcess(File pathname) in isUnapprovedRootProcess() argument
94 return isPidDirectory(pathname) in isUnapprovedRootProcess()
95 && !isKernelProcess(pathname) in isUnapprovedRootProcess()
96 && isRootProcess(pathname); in isUnapprovedRootProcess()
99 private static boolean isPidDirectory(File pathname) { in isPidDirectory() argument
100 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName()); in isPidDirectory()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java215 public boolean accept(File pathname) { in accept() argument
217 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() argument
233 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { in accept()
240 Log.w(TAG, "Could not stat " + pathname); in accept()
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DDocletRunner.java101 public boolean accept(File pathname) { in getSourceFiles()
102 return pathname.isDirectory() || pathname.toString().endsWith(".java"); in getSourceFiles()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java424 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()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java109 public boolean accept(File pathname) { in testSetup()
110 return pathname.getName().endsWith(".zip"); in testSetup()