Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 2 of 2) 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/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java969 @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()