/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 | 67 Set<Integer> pids = getPids(); local 68 assertTrue(pids.size() > 1); // at least vold and netd should exist 87 for (int i : pids) { 115 Set<Integer> pids = getPids(); local 116 assertTrue(pids.size() > 1); // at least vold and netd should exist 162 for (int i : pids) { 183 Set<Integer> pids = getPids(); local 184 assertTrue(pids.size() > 1); // at least vold and netd should exist 196 for (int i : pids) { 204 for (int i : pids) { [all...] |
/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 161 error = pm_kernel_pids(ker, &pids, &num_procs); 179 procs[i]->pid = pids[i]; 181 error = pm_process_create(ker, pids[i], &proc); 183 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); 200 fprintf(stderr, "warning: could not read usage for %d\n", pids[i]); 206 free(pids);
|
/external/valgrind/main/callgrind/ |
callgrind_control.in | 30 @pids = (); 62 push(@pids, $pid); 88 print "If no pids/names are given, an action is applied to all currently\n"; 336 foreach $p (@pids) { 373 @pids = ($pid); 376 if (scalar @pids == 0) { 385 if (scalar @spids >0) { @pids = @spids; } 401 foreach $pid (@pids) {
|
/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 | 415 ArrayList<Integer> pids = new ArrayList<Integer>(); local 416 pids.add(Process.myPid()); 417 ActivityManagerService.dumpStackTraces(true, pids, null, null); 431 ArrayList<Integer> pids = new ArrayList<Integer>(); local 432 pids.add(Process.myPid()); 433 if (mPhonePid > 0) pids.add(mPhonePid); 437 !waitedHalf, pids, null, null);
|
ConnectivityService.java | 1504 List pids = mNetRequestersPids[prevNetType]; local 2106 List pids = mNetRequestersPids[i]; local 2248 List pids = mNetRequestersPids[netType]; local [all...] |
MountService.java | 399 int pids[] = getStorageUsers(path); local 400 if (pids == null || pids.length == 0) { 404 ams.killPids(pids, "unmount media", true); 406 pids = getStorageUsers(path); 407 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 224 error = pm_kernel_pids(ker, &pids, &num_procs); 231 error = pm_process_create(ker, pids[i], &proc); 233 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); 237 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/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 | 1052 int[] pids = new int[numProc]; local [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
DeviceMonitor.java | 707 // array for the current pids. 716 String[] pids = result.split("\n"); //$NON-NLS-1$ local 718 for (String pid : pids) { 737 // Once this is done, the new list contains pids for which we don't have clients yet, [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventDisplay.java | 434 void setPidFilterList(ArrayList<Integer> pids) { 439 mPidFilterList = pids; [all...] |
EventDisplayOptions.java | 85 /** list of current pids */ 538 pidLabel.setToolTipText("Enter all pids, separated by commas"); 548 String[] pids = pidText.split("\\s*,\\s*"); //$NON-NLS-1$ 551 for (String pid : pids) { [all...] |
/frameworks/base/core/java/android/app/ |
IActivityManager.java | 257 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; 312 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) 372 public long[] getProcessPss(int[] pids) throws RemoteException; [all...] |
ActivityManagerNative.java | 1030 int[] pids = data.createIntArray(); local 1244 int[] pids = data.createIntArray(); local 1544 int[] pids = data.createIntArray(); local [all...] |
ActivityManager.java | [all...] |
/external/tinyalsa/ |
mixer.c | 123 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 | 2133 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...] |