/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/kernel-headers/original/linux/ |
threads.h | 30 * A maximum of 4 million PIDs should be enough for a while.
|
capability.h | 122 /* Allows forged pids on socket credentials passing. */ 220 /* Allow forged pids on socket credentials passing */
|
/system/extras/procrank/ |
procrank.c | 51 pid_t *pids; local 89 error = pm_kernel_pids(ker, &pids, &num_procs); 101 procs[i]->pid = pids[i]; 102 error = pm_process_create(ker, pids[i], &proc); 117 fprintf(stderr, "warning: could not create process interface for %d\n", pids[i]); 122 free(pids);
|
/external/bluetooth/bluez/network/ |
common.c | 48 static GSList *pids; variable 249 l = g_slist_find_custom(pids, devname, find_devname); 310 pids = g_slist_append(pids, bnep); 324 l = g_slist_find_custom(pids, devname, find_devname); 362 pids = g_slist_remove(pids, bnep);
|
/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]);
|
/external/tcpdump/ |
llc.h | 102 * PIDs for use with OUI_CISCO. 109 * PIDs for use with OUI_RFC2684.
|
/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]);
|
/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 832 ArrayList pids = new ArrayList(); local 847 ArrayList pids = new ArrayList(); local [all...] |
ConnectivityService.java | 881 List pids = mNetRequestersPids[prevNetType]; local 1224 List pids = mNetRequestersPids[i]; local 1301 List pids = mNetRequestersPids[netType]; local [all...] |
ProcessStats.java | 318 int[] pids = Process.getPids(statsFile, curPids); local 319 int NP = (pids == null) ? 0 : pids.length; 323 int pid = pids[i]; 464 return pids;
|
MountService.java | 231 int pids[] = getStorageUsers(path); local 232 if (pids == null || pids.length == 0) { 236 ams.killPids(pids, "unmount media"); 238 pids = getStorageUsers(path); 239 if (pids == null || pids.length == 0) { [all...] |
/development/simulator/app/ |
Shmem.h | 30 * in lowest-common-denominator mode here. Assuming we have 16-bit PIDs,
|
/external/qemu/ |
trace_common.h | 48 int first_unused_pid; // -1 if all 32,768 pids are used (unlikely)
|
/frameworks/base/core/java/android/os/storage/ |
IMountService.aidl | 81 * Returns an array of pids with open files on
|
/system/core/sh/ |
jobs.h | 58 * array of pids.
|
/system/core/toolbox/ |
renice.c | 42 fprintf(stderr, "USAGE: %s [[-r] priority pids ...] [-g pid]\n", s);
|
/hardware/msm7k/librpc/ |
svc_clnt_common.c | 37 * processes will have separate PIDs, and the rpcrouter driver uses PIDs to
|
/system/core/adb/ |
jdwp_service.c | 522 ** this simply returns the list of known JDWP process pids 560 /* on the first call, send the list of pids, 593 ** this periodically sends the list of known JDWP process pids
|
/external/qemu/hw/ |
usb.c | 186 /* Rest of the PIDs must match our address */
|
/frameworks/base/core/java/android/app/ |
ActivityManager.java | 903 * @param pids The pids of the processes whose memory usage is to be 908 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) { 910 return ActivityManagerNative.getDefault().getProcessMemoryInfo(pids); [all...] |
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
DeviceMonitor.java | 642 // array for the current pids. 651 String[] pids = result.split("\n"); //$NON-NLS-1$ local 653 for (String pid : pids) { 672 // Once this is done, the new list contains pids for which we don't have clients yet,
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventDisplayOptions.java | 87 /** list of current pids */ 540 pidLabel.setToolTipText("Enter all pids, separated by commas"); 550 String[] pids = pidText.split("\\s*,\\s*"); //$NON-NLS-1$ 553 for (String pid : pids) { [all...] |
/system/extras/libpagemap/include/pagemap/ |
pagemap.h | 83 /* Get a list of probably-existing PIDs (returned through *pids_out).
|
/system/extras/tests/sdcard/ |
sysutil.h | 136 // Wait for all the children to report their pids.
|