Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DNativeCodeCoverageFlusher.java70 StringJoiner pidString = new StringJoiner(" "); in forceCoverageFlush() local
76 pidString.add(pid); in forceCoverageFlush()
80 if (pidString.length() > 0) { in forceCoverageFlush()
82 String.format(COVERAGE_FLUSH_COMMAND_FORMAT, pidString.toString())); in forceCoverageFlush()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java4565 String pidString = getProcessPid(processName); in getProcessByName() local
4566 if (pidString == null) { in getProcessByName()
4569 long startTime = getProcessStartTimeByPid(pidString); in getProcessByName()
4574 getProcessUserByPid(pidString), in getProcessByName()
4575 Integer.parseInt(pidString), in getProcessByName()
4581 private long getProcessStartTimeByPid(String pidString) throws DeviceNotAvailableException { in getProcessStartTimeByPid() argument
4582 String output = executeShellCommand(String.format("ps -p %s -o stime=", pidString)); in getProcessStartTimeByPid()
4601 private String getProcessUserByPid(String pidString) throws DeviceNotAvailableException { in getProcessUserByPid() argument
4602 String output = executeShellCommand("stat -c%U /proc/" + pidString); in getProcessUserByPid()