Home
last modified time | relevance | path

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

/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DMemLeaksHelper.java104 Map<Integer, String> pids = getPids(); in getMeminfo() local
107 if (pids.size() == 0) { in getMeminfo()
112 for (Integer pid : pids.keySet()) { in getMeminfo()
141 String processName = pids.get(pid); in getMeminfo()
164 Map<Integer, String> pids = new HashMap<>(); in getPids() local
185 pids.put(Integer.parseInt(splitLine[1]), processName); in getPids()
199 pids.put(Integer.parseInt(mPidOutput.replace("\n", "").trim()), mProcessNames[i]); in getPids()
205 return pids; in getPids()
DShowmapSnapshotHelper.java182 List<Integer> pids = new ArrayList<>(); in getMetrics() local
185 pids = getPids(processName); in getMetrics()
186 for (Integer pid : pids) { in getMetrics()
353 String[] pids = pidofOutput.split("\\s+"); in getPids() local
355 for (String pid : pids) { in getPids()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DProcessUtil.java109 Optional<Map<Integer, String>> pids = pidsOf(device, pgrepRegex); in pidOf() local
110 if (!pids.isPresent()) { in pidOf()
112 } else if (pids.get().size() == 1) { in pidOf()
113 return Optional.of(pids.get().keySet().iterator().next()); in pidOf()
290 Optional<Map<Integer, String>> pids = pidsOf(device, pgrepRegex); in killAll() local
291 if (!pids.isPresent()) { in killAll()
300 for (int pid : pids.get().keySet()) { in killAll()
438 Optional<Map<Integer, String>> pids = pidsOf(device, processPgrepRegex);
439 if (pids.isPresent()) {
440 for (Integer pid : pids.get().keySet()) {
[all …]
DFridaUtils.java184 Map<Integer, String> pids = in withFridaScript() local
186 assertEquals("Unexpected Frida processes with the same name", 1, pids.size()); in withFridaScript()
187 runningPids.add(pids.keySet().iterator().next()); in withFridaScript()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenRecordCollector.java261 String[] pids = getDevice().executeShellCommand("pidof screenrecord").split(" "); in cancel() local
262 for (String pid : pids) { in cancel()
DPerfettoTracingStrategy.java214 Set<Integer> pids = new HashSet<>(); in cleanupPerfettoSessionsFromPreviousRuns() local
218 pids.add(Integer.parseInt(pid.trim())); in cleanupPerfettoSessionsFromPreviousRuns()
236 if (mPerfettoHelper.stopPerfettoProcesses(pids)) { in cleanupPerfettoSessionsFromPreviousRuns()