Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DPsParserTest.java40 String psOutput = "USER PID PPID VSZ RSS WCHAN PC S NAME\n" in testNewerValidPsOutput() local
43 List<ProcessInfo> psInfo = PsParser.getProcesses(psOutput); in testNewerValidPsOutput()
58 String psOutput = "bad pid '-A'\n" in testOlderValidPsOutput() local
62 List<ProcessInfo> psInfo = PsParser.getProcesses(psOutput); in testOlderValidPsOutput()
/tools/tradefederation/core/src/com/android/tradefed/util/
DPsParser.java40 public static List<ProcessInfo> getProcesses(String psOutput) { in getProcesses() argument
43 if (psOutput.isEmpty()) { in getProcesses()
46 String processLines[] = psOutput.split(LINE_SEPARATOR); in getProcesses()