Searched refs:psInfo (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | PsParserTest.java | 32 List<ProcessInfo> psInfo = PsParser.getProcesses(""); in testEmptyPsOutput() local 33 assertEquals("ProcessInfo list is not empty when ps output is empty", 0, psInfo.size()); in testEmptyPsOutput() 43 List<ProcessInfo> psInfo = PsParser.getProcesses(psOutput); in testNewerValidPsOutput() local 45 psInfo.size()); in testNewerValidPsOutput() 46 assertEquals("First process user name did not match", "root", psInfo.get(0).getUser()); in testNewerValidPsOutput() 47 assertEquals("First process id did not match", 1, psInfo.get(0).getPid()); in testNewerValidPsOutput() 48 assertEquals("First process name did not match", "init", psInfo.get(0).getName()); in testNewerValidPsOutput() 49 assertEquals("Second process user name did not match", "root", psInfo.get(1).getUser()); in testNewerValidPsOutput() 50 assertEquals("Second process id did not match", 2, psInfo.get(1).getPid()); in testNewerValidPsOutput() 51 assertEquals("Second process name did not match", "[kthreadd]", psInfo.get(1).getName()); in testNewerValidPsOutput() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | PsParser.java | 68 ProcessInfo psInfo = new ProcessInfo(processInfoStr[0], in getProcesses() local 70 processesInfo.add(psInfo); in getProcesses()
|