Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DRootProcessScanner.java94 for (String processDir : mPidDirs) { in getRootProcessDirs()
95 if (isRootProcessDir(processDir, approved)) { in getRootProcessDirs()
96 rootProcesses.add(processDir); in getRootProcessDirs()
122 private boolean isKernelProcess(String processDir) in isKernelProcess() argument
124 String statm = getProcessStatM(processDir); in isKernelProcess()
134 throw new MalformedStatMException(processDir in isKernelProcess()
142 private String getProcessStatM(String processDir) throws DeviceNotAvailableException { in getProcessStatM() argument
143 return mDevice.executeShellCommand(String.format("cat %s/statm", processDir)); in getProcessStatM()
158 private boolean isRootProcess(String processDir) throws DeviceNotAvailableException { in isRootProcess() argument
159 String status = getProcessStatus(processDir); in isRootProcess()
[all …]