Searched refs:psOutput (Results 1 – 2 of 2) sorted by relevance
40 String psOutput = "USER PID PPID VSZ RSS WCHAN PC S NAME\n" in testNewerValidPsOutput() local43 List<ProcessInfo> psInfo = PsParser.getProcesses(psOutput); in testNewerValidPsOutput()58 String psOutput = "bad pid '-A'\n" in testOlderValidPsOutput() local62 List<ProcessInfo> psInfo = PsParser.getProcesses(psOutput); in testOlderValidPsOutput()
40 public static List<ProcessInfo> getProcesses(String psOutput) { in getProcesses() argument43 if (psOutput.isEmpty()) { in getProcesses()46 String processLines[] = psOutput.split(LINE_SEPARATOR); in getProcesses()