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

1 2 3

  /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);
  /cts/tests/tests/security/src/android/security/cts/
VoldExploitTest.java 95 Set<Integer> pids = getPids(); local
96 assertTrue(pids.size() > 1); // at least vold and netd should exist
108 for (int i : pids) {
116 for (int i : pids) {
218 * Extract all the PIDs listening for netlink messages.
  /system/core/libmemtrack/
memtrack_test.c 78 pid_t *pids; local
98 ret = pm_kernel_pids(ker, &pids, &num_procs);
111 pid_t pid = pids[i];
  /external/chromium/base/
linux_util.cc 207 std::vector<pid_t> pids; local
215 pids.push_back(pid_ul);
220 i = pids.begin(); i != pids.end(); ++i) {
  /external/chromium_org/chrome/browser/resources/task_manager/
main.js 546 // We have to store the selected pids and restore them after
551 // Create map of selected PIDs.
562 // Create new array of selected indexes from map of old PIDs.
571 var pids = []; variable
573 pids.push(dm.item(i)['processId'][0]);
578 if (pids.indexOf(pid) == -1)
  /external/chromium_org/base/
linux_util.cc 207 std::vector<pid_t> pids; local
215 pids.push_back(pid_ul);
220 i = pids.begin(); i != pids.end(); ++i) {
  /external/chromium_org/tools/android/memdump/
memdump.cc 454 void KillAll(const std::vector<pid_t>& pids, int signal_number) {
455 for (std::vector<pid_t>::const_iterator it = pids.begin(); it != pids.end();
477 std::vector<pid_t> pids; local
482 pids.push_back(pid);
485 std::vector<ProcessMemory> processes_memory(pids.size());
503 base::Bind(&KillAll, pids, SIGCONT));
504 KillAll(pids, SIGSTOP);
505 for (std::vector<pid_t>::const_iterator it = pids.begin(); it != pids.end()
    [all...]
  /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]);
  /system/extras/ksmutils/
ksminfo.c 71 pid_t *pids; local
118 error = pm_kernel_pids(ker, &pids, &num_procs);
129 pids = malloc(sizeof(*pids));
130 if (pids == NULL) {
135 *pids = strtoul(argv[optind], NULL, 10);
136 if (*pids == 0) {
142 if (getprocname(*pids, cmdline, sizeof(cmdline)) < 0) {
145 printf("%s (%u):\n", cmdline, *pids);
152 error = pm_process_create(ker, pids[i], &proc)
    [all...]
  /system/extras/memtrack/
memtrack.h 61 std::vector<int> pids; member in struct:__anon63730
68 std::vector<int> pids; member in struct:__anon63731
  /system/extras/procrank/
procrank.c 122 pid_t *pids; local
172 error = pm_kernel_pids(ker, &pids, &num_procs);
190 procs[i]->pid = pids[i];
192 error = pm_process_create(ker, pids[i], &proc);
194 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]);
212 fprintf(stderr, "warning: could not read usage for %d\n", pids[i]);
222 free(pids);
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
linuxthreads.cc 349 pid_t pids[max_threads]; local
352 sig_pids = pids;
408 if (pids[i] == pid) {
422 pids[num_threads++] = pid;
481 ResumeAllProcessThreads(num_threads, pids);
489 pids, args->ap);
493 if (ResumeAllProcessThreads(num_threads, pids)) {
503 ResumeAllProcessThreads(num_threads, pids);
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
linuxthreads.cc 349 pid_t pids[max_threads]; local
352 sig_pids = pids;
408 if (pids[i] == pid) {
422 pids[num_threads++] = pid;
481 ResumeAllProcessThreads(num_threads, pids);
489 pids, args->ap);
493 if (ResumeAllProcessThreads(num_threads, pids)) {
503 ResumeAllProcessThreads(num_threads, pids);
  /frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
MemoryUsageTest.java 252 int[] pids = { local
255 MemoryInfo meminfo = am.getProcessMemoryInfo(pids)[0];
  /system/extras/librank/
librank.c 207 pid_t *pids; local
326 error = pm_kernel_pids(ker, &pids, &num_procs);
333 error = pm_process_create(ker, pids[i], &proc);
335 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]);
339 pi = get_process(pids[i]);
  /frameworks/base/core/java/com/android/internal/os/
ProcessCpuTracker.java 352 int[] pids = Process.getPids(statsFile, curPids); local
353 int NP = (pids == null) ? 0 : pids.length;
357 int pid = pids[i];
530 return pids;
  /frameworks/base/services/java/com/android/server/
Watchdog.java 375 ArrayList<Integer> pids = new ArrayList<Integer>(); local
376 pids.add(Process.myPid());
377 ActivityManagerService.dumpStackTraces(true, pids, null, null,
395 ArrayList<Integer> pids = new ArrayList<Integer>(); local
396 pids.add(Process.myPid());
397 if (mPhonePid > 0) pids.add(mPhonePid);
401 !waitedHalf, pids, null, null, NATIVE_STACKS_OF_INTEREST);
MountService.java 447 int pids[] = getStorageUsers(path); local
448 if (pids == null || pids.length == 0) {
452 ams.killPids(pids, "unmount media", true);
454 pids = getStorageUsers(path);
455 if (pids == null || pids.length == 0) {
    [all...]
  /frameworks/base/core/java/android/os/storage/
IMountService.java 209 * Returns an array of pids with open files on the specified path.
934 int[] pids = getStorageUsers(path); local
    [all...]
  /frameworks/base/core/jni/
android_util_Process.cpp 956 Vector<jint> pids; local
994 pids.add(pid);
1002 jintArray pidArray = env->NewIntArray(pids.size());
1008 if (pids.size() > 0) {
1009 env->SetIntArrayRegion(pidArray, 0, pids.size(), pids.array());
  /frameworks/base/core/java/android/os/
BatteryStats.java 2362 SparseArray<? extends Uid.Pid> pids = uid.getPidStats(); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
RunningState.java 1278 int[] pids = new int[numProc]; local
    [all...]
  /frameworks/base/core/java/android/app/
ActivityManagerNative.java 1278 int[] pids = data.createIntArray(); local
1482 int[] pids = data.createIntArray(); local
1864 int[] pids = data.createIntArray(); local
    [all...]
  /bionic/libc/kernel/common/sound/
asound.h 759 struct snd_ctl_elem_id __user *pids; member in struct:snd_ctl_elem_list
    [all...]
  /external/kernel-headers/original/linux/
sched.h 838 struct pid_link pids[PIDTYPE_MAX]; member in struct:task_struct
1016 return p->pids[PIDTYPE_PID].pid != NULL;
    [all...]

Completed in 937 milliseconds

1 2 3