HomeSort by relevance Sort by last modified time
    Searched refs:pids (Results 51 - 75 of 299) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/toybox/toys/pending/
tcpsvd.c 71 struct list_pid *pids = NULL; variable in typeref:struct:list_pid
123 static char *delete(struct list_pid **pids, int pid)
125 struct list_pid *prev, *free_node, *head = *pids;
134 if (!prev) *pids = head->next;
176 char *ip = delete(&pids, pid_n);
398 insert(&pids, pid, addr);
  /external/autotest/client/site_tests/login_LogoutProcessCleanup/
login_LogoutProcessCleanup.py 59 """Get a list of all PIDs that are owned by chronos."""
118 pids = self.__get_chronos_pids()
119 for p in pids:
  /external/lisa/tests/lisa/
test_trace.py 56 """TestTrace: getTaskByName() returns the list of PIDs for all tasks with the specified name"""
57 for name, pids in [('watchdog/0', [12]),
60 self.assertEqual(self.trace.getTaskByName(name), pids)
70 """TestTrace: getTasks() returns a dictionary mapping PIDs to a single task name"""
  /external/ltp/testcases/kernel/containers/pidns/
README 23 A pid namespace is a view of particular set of tasks on the system. For processes, a process may have pid 1234 in one namespace, but have pid 1 in another.This allows processes to use process ids which are in use in other pid namespaces, without having to worry about what pids exist in other namespaces.
  /external/perfetto/src/traced/probes/
process_stats_data_source.cc 28 // TODO(primiano): the code in this file assumes that PIDs are never recycled
106 void ProcessStatsDataSource::OnPids(const std::vector<int32_t>& pids) {
108 for (int32_t pid : pids) {
  /system/extras/procrank/
procrank.cpp 187 pid_t *pids; local
248 error = pm_kernel_pids(ker, &pids, &num_procs);
256 procs[i].pid = pids[i];
257 procs[i].oomadj = getoomadj(pids[i]);
260 error = pm_process_create(ker, pids[i], &proc);
262 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]);
280 fprintf(stderr, "warning: could not read usage for %d\n", pids[i]);
290 free(pids);
  /test/vts-testcase/vndk/open_libraries/
VtsVndkOpenLibrariesTest.py 69 def _ListOpenFiles(self, pids, file_filter):
73 pids: A collection of strings, the PIDs to list open files.
80 lsof_cmd = "lsof -p " + ",".join(pids)
  /external/autotest/client/site_tests/security_ASLR/
security_ASLR.py 7 Uses system calls to get important pids and then gets information about
8 the pids in /proc/<pid>/maps. Restarts the tested processes and reads
24 """Returns the PIDs of processes with the given name as a list."""
62 # Find all PIDs matching the expected parent name, then find all
63 # PIDs that have the expected process name and any of the parent
64 # PIDs. Only succeed when there is exactly one PID/PPID pairing.
73 pids = ps_results.split()
74 if len(pids) == 1:
75 return pids[0]
76 elif len(pids) > 1
    [all...]
  /external/llvm/utils/Misc/
zkill 224 pids = set()
227 pids.add(int(arg))
234 if pids:
236 if p.pid in pids]
  /external/perfetto/src/ftrace_reader/
ftrace_controller.cc 395 pids.reserve(10);
429 if (!pids.empty() && pids.back() == pid)
431 pids.push_back(pid);
444 pids.clear();
  /system/extras/librank/
librank.c 206 pid_t *pids; local
327 error = pm_kernel_pids(ker, &pids, &num_procs);
334 error = pm_process_create(ker, pids[i], &proc);
336 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]);
340 pi = get_process(pids[i]);
  /external/selinux/sandbox/
seunshare.c 559 int pids, max_pids; local
571 pids = 0;
580 if (pids == max_pids) {
581 pid_t *new_pid_table = realloc(pid_table, 2*pids*sizeof(pid_t));
590 pid_table[pids++] = pid;
595 for (i = 0; i < pids; i++) {
  /frameworks/rs/tests/lldb/tests/harness/
util_android.py 270 pids = pid_output.split()
272 if len(pids) < 1:
276 if len(pids) > 1:
278 .format(process_name, pids))
281 pid = int(pids[0])
282 self._log.info('App pid found: {0}'.format(pids[0]))
  /external/autotest/site_utils/chromeos_proxy/
swarming_bots.py 152 pids = output.splitlines()
153 if len(pids) > 1:
155 % (str(pids), self.bot_id))
156 pid = int(pids[0])
  /external/autotest/server/site_tests/autoupdate_EndToEndTest/
update_engine_performance_monitor.py 97 pids = self.get_update_engine_pids()
99 # Loop over all PIDs (tasks) in the update-engine cgroup and
100 # be careful not to double-count PIDs (tasks) belonging to the
102 for pid in pids:
  /external/swiftshader/third_party/LLVM/utils/Misc/
zkill 224 pids = set()
227 pids.add(int(arg))
234 if pids:
236 if p.pid in pids]
  /packages/services/Car/obd2-lib/src/com/android/car/obd2/
Obd2Connection.java 263 String[] pids = new String[] {"0100", "0120", "0140", "0160"}; local
265 for (String pid : pids) {
  /frameworks/base/services/core/java/com/android/server/am/
HealthStatsBatteryStatsWriter.java 54 SparseArray<? extends BatteryStats.Uid.Pid> pids; local
136 pids = uid.getPidStats();
137 N = pids.size();
140 writePid(writer, pids.valueAt(i));
141 uidWriter.addStats(UidHealthStats.STATS_PIDS, Integer.toString(pids.keyAt(i)), writer);
  /system/extras/simpleperf/
cmd_stat.cpp 389 std::set<pid_t> pids = WaitForAppProcesses(app_package_name_); local
390 event_selection_set_.AddMonitoredProcesses(pids);
549 std::set<pid_t> pids; local
550 if (!GetValidThreadsFromThreadString(args[i], &pids)) {
553 event_selection_set_.AddMonitoredProcesses(pids);
  /external/tensorflow/tensorflow/python/ops/
embedding_ops.py 213 pids = gather_ids[p]
215 result = _gather(params[p], pids)
220 result = transform_fn(_clip(result, pids, max_norm))
  /test/vts/utils/python/coverage/
sancov_utils.py 114 pids = set([pid.strip()
118 if len(pids) == 0:
123 pids))).splitlines()
  /external/perfetto/include/perfetto/ftrace_reader/
ftrace_controller.h 85 std::vector<int32_t> pids; member in struct:perfetto::FtraceMetadata
  /frameworks/native/cmds/lshal/
ListCommand.h 43 std::map<uint64_t, Pids> refPids; // pids that are referenced
111 // Call getCmdline on all pid in pids. If it returns empty string, the process might
112 // have died, and the pid is removed from pids.
113 void removeDeadProcesses(Pids *pids);
156 // If true, emit cmdlines instead of PIDs
  /external/perf_data_converter/src/
perf_data_converter_test.cc 250 // PIDs so the inner vector will have multiple entries.
259 // Samples were collected for 6 pids in this case, so the outer vector should
261 int pids = 6; local
262 EXPECT_EQ(pids, pps.size());
  /frameworks/base/core/jni/
android_util_Process.cpp 1143 Vector<jint> pids; local
    [all...]

Completed in 893 milliseconds

1 23 4 5 6 7 8 91011>>