Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/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()
57 String psOutput = "bad pid '-A'\n" in testOlderValidPsOutput() local
61 List<ProcessInfo> psInfo = PsParser.getProcesses(psOutput); in testOlderValidPsOutput()
/tools/tradefederation/core/src/com/android/tradefed/util/
DPsParser.java38 public static List<ProcessInfo> getProcesses(String psOutput) { in getProcesses() argument
41 if (psOutput.isEmpty()) { in getProcesses()
44 String processLines[] = psOutput.split(LINE_SEPARATOR); in getProcesses()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/sync/
DIncrementalImageFuncTest.java235 CommandResult psOutput = getDevice().executeShellV2Command("ps -ef | grep snapuserd"); in testBlockCompareUpdate() local
236 CLog.d("stdout: %s, stderr: %s", psOutput.getStdout(), psOutput.getStderr()); in testBlockCompareUpdate()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DIncrementalImageUtil.java467 CommandResult psOutput = mDevice.executeShellV2Command("ps -ef | grep snapuserd"); in internalUpdateDevice() local
468 CLog.d("stdout: %s, stderr: %s", psOutput.getStdout(), psOutput.getStderr()); in internalUpdateDevice()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DJavaCodeCoverageCollectorTest.java347 String psOutput = in testRunningProcess_coverageFileNotDeleted() local
362 doReturn(psOutput).when(mMockDevice).executeShellCommand("ps -e"); in testRunningProcess_coverageFileNotDeleted()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java2691 CommandResult psOutput = executeShellV2Command("ps -ef | grep snapuserd"); in waitForSnapuserd() local
2692 CLog.d("stdout: %s, stderr: %s", psOutput.getStdout(), psOutput.getStderr()); in waitForSnapuserd()
2693 if (psOutput.getStdout().contains("snapuserd -")) { in waitForSnapuserd()