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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/os/
IProcessInfoService.aidl 27 void getProcessStatesFromPids(in int[] pids, out int[] states);
34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores);
  /external/ltp/testcases/network/nfs/nfs_stress/
nfs06 35 local pids
38 pids="$pids $!"
42 tst_resm TINFO "waiting for pids:$pids"
43 for p in $pids; do
46 kill -9 $pids
  /frameworks/native/libs/binder/include/binder/
ProcessInfoService.h 39 status_t getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, /*out*/ int32_t* states);
40 status_t getProcessStatesScoresImpl(size_t length, /*in*/ int32_t* pids,
49 * For each PID in the given "pids" input array, write the current process state
56 static status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids,
58 return ProcessInfoService::getInstance().getProcessStatesImpl(length, /*in*/ pids,
63 * For each PID in the given "pids" input array, write the current process state
72 static status_t getProcessStatesScoresFromPids(size_t length, /*in*/ int32_t* pids,
75 length, /*in*/ pids, /*out*/ states, /*out*/ scores);
IProcessInfoService.h 33 /*in*/ int32_t* pids,
37 /*in*/ int32_t* pids,
  /external/ltp/testcases/network/nfs/nfslock01/
nfslock01 57 local pids=$!
59 pids="$pids $!"
61 tst_resm TINFO "waiting for pids: $pids"
62 for p in $pids; do
  /external/autotest/client/site_tests/security_RendererSandbox/
security_RendererSandbox.py 25 pids = []
35 pids.append(proc.split()[0])
37 if pids:
38 self.renderer_pid = pids[0]
  /external/ltp/testcases/kernel/syscalls/futex/
futex_wake03.c 75 pid_t pids[55]; local
77 for (i = 0; i < (int)ARRAY_SIZE(pids); i++) {
78 pids[i] = tst_fork();
80 switch (pids[i]) {
90 for (i = 0; i < (int)ARRAY_SIZE(pids); i++)
91 tst_process_state_wait2(pids[i], 'S');
  /external/libvpx/libvpx/test/
stress.sh 82 local pids=""
97 pids="${pids} $!"
107 pids="${pids} $!"
122 pids="${pids} $!"
128 pids="${pids} $!"
133 for job in "${pids}"; d
    [all...]
  /system/extras/libpagemap/
pm_kernel.c 65 pid_t pid, *pids, *new_pids; local
73 pids = malloc(INIT_PIDS * sizeof(pid_t));
74 if (!pids) {
85 new_pids = realloc(pids, 2 * pids_size * sizeof(pid_t));
88 free(pids);
92 pids = new_pids;
96 pids[pids_count] = pid;
103 new_pids = realloc(pids, pids_count * sizeof(pid_t));
106 free(pids);
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
multi_ebb_procs_test.c 79 pid_t pids[NR_CHILDREN]; local
89 pids[i] = fork();
90 if (pids[i] == 0)
100 kill(pids[i], SIGINT);
102 rc |= wait_for_child(pids[i]);
  /external/trappy/trappy/plotter/
Utils.py 42 def get_trace_event_data(trace, execnames=None, pids=None):
51 if pids:
52 pids = listify(pids)
90 if pids and next_pid not in pids:
  /external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
parsed_trace_events.py 52 self.pids = None
68 if self.pids:
69 return self.pids
70 pids = set()
73 pids.add(e["pid"])
74 self.pids = list(pids)
75 return self.pids
  /external/ltp/testcases/kernel/syscalls/cma/
process_vm_readv02.c 40 static pid_t pids[2]; variable
62 pids[0] = fork();
63 switch (pids[0]) {
71 pids[1] = fork();
72 switch (pids[1]) {
81 SAFE_WAITPID(cleanup, pids[1], &status, 0);
88 SAFE_WAITPID(cleanup, pids[0], &status, 0);
137 TEST(test_process_vm_readv(pids[0], &local, 1, &remote, 1, 0));
process_vm_writev02.c 50 static pid_t pids[2]; variable
72 pids[0] = fork();
73 switch (pids[0]) {
83 pids[1] = fork();
84 switch (pids[1]) {
94 SAFE_WAITPID(cleanup, pids[1], &status, 0);
101 SAFE_WAITPID(cleanup, pids[0], &status, 0);
174 TEST(test_process_vm_writev(pids[0], &local, 1, &remote, 1, 0));
process_vm_readv03.c 53 static pid_t pids[2]; variable
81 pids[0] = fork();
82 switch (pids[0]) {
90 pids[1] = fork();
91 switch (pids[1]) {
100 SAFE_WAITPID(cleanup, pids[1], &status, 0);
107 SAFE_WAITPID(cleanup, pids[0], &status, 0);
183 TEST(test_process_vm_readv(pids[0], &local, 1, &remote, 1, 0));
215 TEST(test_process_vm_readv(pids[0], local, NUM_LOCAL_VECS,
  /external/ltp/testcases/kernel/containers/pidns/
pidns05.c 81 * Returns - the number of pids matched.
83 int find_cinit_pids(pid_t * pids)
99 pids[next] = i;
156 pid_t pids[MAX_DEPTH]; local
159 orig_count = find_cinit_pids(pids);
160 kill(pids[MAX_DEPTH - 3], SIGKILL);
171 if (pids[i] != pids_new[i])
180 "the container %d", pids[MAX_DEPTH - 3]);
184 kill(pids[i], SIGKILL);
185 waitpid(pids[i], &status, 0)
    [all...]
  /tools/test/connectivity/tools/lab/utils/
shell.py 95 """Gets the pids of a program, based only upon the starting command
97 Searches for a program with a specific name and grabs the pids for all
105 An array of ints of all pids that matched the identifier.
110 # Output looks like pids on separate lines:
114 pids = result.stdout.splitlines()
118 """Gets the pids of a program.
120 Searches for a program with a specific name and grabs the pids for all
126 Returns: An array of all pids that matched the identifier, or None
127 if no pids were found.
229 pids = [identifier
    [all...]
  /frameworks/native/libs/binder/
IProcessInfoService.cpp 31 virtual status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids,
36 data.writeInt32Array(length, pids);
53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores)
57 data.writeInt32Array(length, pids);
ProcessInfoService.cpp 29 status_t ProcessInfoService::getProcessStatesImpl(size_t length, /*in*/ int32_t* pids,
40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states);
61 /*in*/ int32_t* pids, /*out*/ int32_t* states,
73 /*in*/ pids, /*out*/ states, /*out*/ scores);
  /frameworks/native/libs/dumputils/
dump_utils.cpp 81 std::set<int> pids; local
93 pids.insert(info.pid);
98 ALOGE("Could not get list of HAL PIDs: %s\n", ret.description().c_str());
101 return pids; // whether it was okay or not
  /external/ltp/testcases/kernel/controllers/pids/
pids.sh 27 # ./pids.sh caseno max
61 tst_res TINFO "Umounting pids"
69 exist=`grep -w pids /proc/cgroups | cut -f1`;
71 tst_brk TCONF NULL "pids not supported"
74 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2`
85 ROD mount -t cgroup -o pids none $mount_point
134 ROD echo $max \> $testpath/pids.max
138 # should return 2 because the limit of pids is reached
157 ROD echo $lim \> $testpath/pids.max
178 ROD echo 0 \> $testpath/pids.ma
    [all...]
  /tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
shell.py 95 """Gets the pids of a program.
97 Searches for a program with a specific name and grabs the pids for all
103 Returns: An array of all pids that matched the identifier, or None
104 if no pids were found.
206 pids = [identifier]
208 pids = list(self.get_pids(identifier))
214 for pid in pids:
221 while pids and time.time() - start_time < signal_duration:
223 pids = [pid for pid in pids if self.is_alive(pid)
    [all...]
  /external/ltp/testcases/kernel/mem/cpuset/
cpuset01.c 126 pid_t *pids; local
137 pids = SAFE_MALLOC(sizeof(pid_t) * ntasks);
139 switch (pids[i] = fork()) {
141 tst_res(TFAIL | TERRNO, "fork %d", pids[i]);
153 if (kill(pids[i], SIGUSR1) == -1) {
154 tst_res(TFAIL | TERRNO, "kill %d", pids[i]);
  /bionic/tests/
leak_test.cpp 38 static void WaitUntilAllExited(pid_t* pids, size_t pid_count) {
44 if (pids[i] != 0) {
45 if (kill(pids[i], 0) == 0) {
49 pids[i] = 0; // Skip in next loop.
  /system/vold/
Process.cpp 76 std::unordered_set<pid_t> pids; local
86 // We only care about valid PIDs
112 pids.insert(pid);
116 for (const auto& pid : pids) {
121 return pids.size();

Completed in 422 milliseconds

1 2 3 4 5 6 7 8 91011>>