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.java95 StringJoiner pidString = new StringJoiner(" "); in forceCoverageFlush() local
100 pidString.add(pid.toString()); in forceCoverageFlush()
103 if (pidString.length() > 0) { in forceCoverageFlush()
105 String.format(COVERAGE_FLUSH_COMMAND_FORMAT, pidString.toString())); in forceCoverageFlush()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java5499 String pidString = getProcessPid(processName); in getProcessByName() local
5500 if (pidString == null) { in getProcessByName()
5503 long startTime = getProcessStartTimeByPid(pidString); in getProcessByName()
5508 getProcessUserByPid(pidString), in getProcessByName()
5509 Integer.parseInt(pidString), in getProcessByName()
5515 private long getProcessStartTimeByPid(String pidString) throws DeviceNotAvailableException { in getProcessStartTimeByPid() argument
5516 String output = executeShellCommand(String.format("ps -p %s -o stime=", pidString)); in getProcessStartTimeByPid()
5549 private String getProcessUserByPid(String pidString) throws DeviceNotAvailableException { in getProcessUserByPid() argument
5550 String output = executeShellCommand("stat -c%U /proc/" + pidString); in getProcessUserByPid()