/frameworks/base/services/core/java/com/android/server/ |
Watchdog.java | 386 HashSet<Integer> pids = new HashSet<>(); local 396 pids.add(info.pid); 398 return new ArrayList<Integer>(pids); 405 ArrayList<Integer> pids = getInterestingHalPids(); local 409 pids.ensureCapacity(pids.size() + nativePids.length); 411 pids.add(i); 415 return pids; 477 ArrayList<Integer> pids = new ArrayList<Integer>(); local 478 pids.add(Process.myPid()) 501 ArrayList<Integer> pids = new ArrayList<>(); local [all...] |
/packages/services/Car/service/src/com/android/car/ |
SystemActivityMonitoringService.java | 147 writer.println(" Foregroud uid-pids:"); 149 Set<Integer> pids = mForegroundUidPids.get(key); local 150 if (pids == null) { 153 writer.println("uid:" + key + ", pids:" + Arrays.toString(pids.toArray())); 180 Set<Integer> pids = mForegroundUidPids.get(uid); local 181 if (pids == null) { 184 if (pids.contains(pid)) { 328 Set<Integer> pids = mForegroundUidPids.get(uid); local 329 if (pids == null) 347 Set<Integer> pids = mForegroundUidPids.get(uid); local [all...] |
/external/trappy/trappy/plotter/ |
__init__.py | 54 pids=None): 65 :param pids: List of pids to be filtered. If not specified 66 all pids will be plotted 67 :type pids: list, str 79 data, procs, domain = Utils.get_trace_event_data(trace, execnames, pids)
|
/system/extras/memtrack/ |
memtrack.h | 63 std::vector<int> pids; member in struct:__anon2993 70 std::vector<int> pids; member in struct:__anon2994
|
memtrack.cpp | 154 cur_[cmd_name_].pids.push_back(pid); 166 // Clear any current pids. 168 it->second.pids.clear(); 207 if (it->second.pids.size() > all_[it->first].max_num_pids) { 208 all_[it->first].max_num_pids = it->second.pids.size(); 211 all_[it->first].pids = it->second.pids; 248 if ((*it)->pids.size() > 0) { 249 ALOGI(" Currently running pids:"); 250 for (std::vector<int>::const_iterator pid_it = (*it)->pids.begin() [all...] |
/tools/test/connectivity/tools/lab/metrics/ |
process_time_metric.py | 40 pids = self.get_adb_fastboot_pids() 42 # Get elapsed time for selected pids 44 for pid in pids: 51 # There is a potential race condition between getting pids, and the
|
/external/strace/xlat/ |
gen.sh | 299 local pids= 310 pids="$pids $!" 315 pids="$rest" 319 $pids
|
/system/extras/ksmutils/ |
ksminfo.c | 72 pid_t *pids; local 119 error = pm_kernel_pids(ker, &pids, &num_procs); 130 pids = malloc(sizeof(*pids)); 131 if (pids == NULL) { 136 *pids = strtoul(argv[optind], NULL, 10); 137 if (*pids == 0) { 143 if (getprocname(*pids, cmdline, sizeof(cmdline)) < 0) { 146 printf("%s (%u):\n", cmdline, *pids); 153 error = pm_process_create(ker, pids[i], &proc) [all...] |
/external/bart/bart/sched/ |
SchedMultiAssert.py | 48 :param pids: The process IDs of the tasks to be analysed 49 :type pids: list, int 77 SchedMultiAssert(ftrace, topology, pids=[11, 22, 33]) 138 def __init__(self, ftrace, topology, execnames=None, pids=None): 143 if execnames and pids: 144 raise ValueError('Either pids or execnames must be specified') 148 elif pids: 149 self._pids = pids 151 raise ValueError('One of PIDs or execnames must be specified') 157 """Populate SchedAsserts for the PIDs""" [all...] |
SchedMatrix.py | 167 "The runs do not have the same number of PIDs for {0}".format( 171 """Populate the qualifying PIDs from the run""" 176 pids = [] 179 pids += sched_funcs.get_pids_for_process(run, proc) 181 return list(set(pids))
|
SchedAssert.py | 53 execname. If there are multiple PIDs :mod:`bart.sched.SchedMultiAssert` 88 pids = sched_funcs.get_pids_for_process(self._ftrace, 91 if len(pids) != 1: 94 pids, 97 return pids[0] 101 pids = sched_funcs.get_pids_for_process(self._ftrace, 103 if pid not in pids:
|
/external/autotest/client/site_tests/policy_PluginsAllowedForUrls/ |
policy_PluginsAllowedForUrls.py | 93 pids = utils.get_process_list('chrome', '--type=ppapi') 94 for pid in pids: 99 return pids
|
/external/autotest/client/site_tests/policy_PluginsBlockedForUrls/ |
policy_PluginsBlockedForUrls.py | 93 pids = utils.get_process_list('chrome', '--type=ppapi') 94 for pid in pids: 99 return pids
|
/external/autotest/client/tests/disktest/ |
disktest.py | 86 pids = [] 89 pids.append(pid) 91 for pid in pids:
|
/external/bart/tests/ |
test_sched_assert.py | 96 pids = [4729, 4734] 101 sma = SchedMultiAssert(tr, self.topology, pids=pids)
|
/system/core/libmemtrack/ |
memtrack_test.c | 78 pid_t *pids; local 92 ret = pm_kernel_pids(ker, &pids, &num_procs); 105 pid_t pid = pids[i];
|
/external/valgrind/callgrind/ |
callgrind_control.in | 29 @pids = (); 41 push(@pids, $pid); 69 print "If no pids/names are given, an action is applied to all currently\n"; 190 # To find the list of active pids, we need to have 313 foreach $p (@pids) { 331 if (scalar @pids == 0) { 337 if (scalar @spids >0) { @pids = @spids; } 353 foreach $pid (@pids) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
DumpTruck.java | 62 * @param pids 65 public DumpTruck captureHeaps(int[] pids) { 78 final int[] pids_copy = Arrays.copyOf(pids, pids.length);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
MemoryQuery.java | 93 int pids[] = new int[1]; local 94 pids[0] = appPID; 95 Debug.MemoryInfo[] memoryInfoArray = mActivityManager.getProcessMemoryInfo(pids);
|
/system/core/libprocessgroup/ |
processgroup.cpp | 170 // We separate all of the pids in the cgroup into those pids that are also the leaders of 171 // process groups (stored in the pgids set) and those that are not (stored in the pids set). 174 std::set<pid_t> pids; local 191 pids.emplace(pid); 195 // Erase all pids that will be killed when we kill the process groups. 196 for (auto it = pids.begin(); it != pids.end();) { 199 it = pids.erase(it); 215 // Kill remaining pids [all...] |
/development/scripts/ |
gdbclient.py | 84 pids = processes[process_name] 85 if len(pids) > 1: 86 msg = "multiple processes match '{}': {}".format(process_name, pids) 90 return pids[0]
|
/external/perfetto/src/traced/probes/ |
process_stats_data_source.h | 44 void OnPids(const std::vector<int32_t>& pids); 69 // This set contains PIDs as per the Linux kernel notion of a PID (which is
|
probes_producer.cc | 368 if (ps_source_ && !metadata.pids.empty()) { 374 const auto& pids = metadata.pids; local 376 task_runner_->PostTask([weak_ps_source, pids] { 378 weak_ps_source->OnPids(pids);
|
/system/core/init/ |
subcontext_test.cpp | 72 auto pids = Split(result.error_string(), " "); 73 ASSERT_EQ(2U, pids.size()); 75 EXPECT_NE(our_pid, pids[0]); 76 EXPECT_EQ(our_pid, pids[1]);
|
/packages/experimental/procstatlog/ |
procstatlog.c | 219 static int bad[4096]; // Cache pids known not to match patterns 222 int pids[4096]; local 263 // Insertion sort -- pids mostly increase so this makes sense 276 if (pid_count >= sizeof(pids) / sizeof(pids[0])) { 279 pids[pid_count++] = pid; 288 assert(pids[i] > 0); 289 sprintf(filename, "/proc/%d/stat", pids[i]); 291 sprintf(filename, "/proc/%d/wchan", pids[i]);
|