/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/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
browser_harness.rb | 71 pids = fork { exec(*args) } 73 msg("Server pid: #{pids.inspect}") 74 return pids 87 pids = launch_mac_browser(args, url) 89 pids = launch_posix_browser(args, url) 97 return pids 114 pids = [] 120 pids << $1.to_i 124 return pids 133 pids = find_pids(browser [all...] |
/system/extras/procrank/ |
procrank.c | 120 pid_t *pids; local 162 error = pm_kernel_pids(ker, &pids, &num_procs); 180 procs[i]->pid = pids[i]; 182 error = pm_process_create(ker, pids[i], &proc); 184 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); 201 fprintf(stderr, "warning: could not read usage for %d\n", pids[i]); 207 free(pids);
|
/external/valgrind/main/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"; 296 foreach $p (@pids) { 314 if (scalar @pids == 0) { 320 if (scalar @spids >0) { @pids = @spids; } 336 foreach $pid (@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) { 241 * Extract all the PIDs listening for netlink messages.
|
/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) {
|
/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 438 ArrayList<Integer> pids = new ArrayList<Integer>(); local 439 pids.add(Process.myPid()); 440 ActivityManagerService.dumpStackTraces(true, pids, null, null, 456 ArrayList<Integer> pids = new ArrayList<Integer>(); local 457 pids.add(Process.myPid()); 458 if (mPhonePid > 0) pids.add(mPhonePid); 462 !waitedHalf, pids, null, null, NATIVE_STACKS_OF_INTEREST);
|
MountService.java | 441 int pids[] = getStorageUsers(path); local 442 if (pids == null || pids.length == 0) { 446 ams.killPids(pids, "unmount media", true); 448 pids = getStorageUsers(path); 449 if (pids == null || pids.length == 0) { [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/librank/ |
librank.c | 174 pid_t *pids; local 225 error = pm_kernel_pids(ker, &pids, &num_procs); 232 error = pm_process_create(ker, pids[i], &proc); 234 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); 238 pi = get_process(pids[i]);
|
/external/llvm/utils/Misc/ |
zkill | 224 pids = set() 227 pids.add(int(arg)) 234 if pids: 236 if p.pid in pids]
|
/external/chromium/chrome/browser/ |
memory_details_linux.cc | 146 // For each of a list of pids, collect memory information about that process 149 const std::vector<pid_t>& pids, ProcessData* out) { 151 i = pids.begin(); i != pids.end(); ++i) {
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
MemoryUsageTest.java | 252 int[] pids = { local 255 MemoryInfo meminfo = am.getProcessMemoryInfo(pids)[0];
|
/frameworks/base/core/jni/ |
android_util_Process.cpp | 932 Vector<jint> pids; local 970 pids.add(pid); 978 jintArray pidArray = env->NewIntArray(pids.size()); 984 if (pids.size() > 0) { 985 env->SetIntArrayRegion(pidArray, 0, pids.size(), pids.array());
|
/frameworks/base/core/java/com/android/internal/os/ |
ProcessStats.java | 341 int[] pids = Process.getPids(statsFile, curPids); local 342 int NP = (pids == null) ? 0 : pids.length; 346 int pid = pids[i]; 518 return pids;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningState.java | 1272 int[] pids = new int[numProc]; local [all...] |
/frameworks/base/core/java/android/app/ |
IActivityManager.java | 232 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; 281 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) 350 public long[] getProcessPss(int[] pids) throws RemoteException; [all...] |
ActivityManagerNative.java | 1178 int[] pids = data.createIntArray(); local 1381 int[] pids = data.createIntArray(); local 1745 int[] pids = data.createIntArray(); local [all...] |
ActivityManager.java | [all...] |
/external/tinyalsa/ |
mixer.c | 125 elist.pids = eid;
|
/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...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 2250 SparseArray<? extends Uid.Pid> pids = uid.getPidStats(); 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/sound/ |
asound.h | 774 struct snd_ctl_elem_id __user *pids; \/* R: IDs *\/ member in struct:snd_ctl_elem_list [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
asound.h | 767 struct snd_ctl_elem_id __user *pids; \/* R: IDs *\/ member in struct:snd_ctl_elem_list [all...] |