/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 | 99 Set<Integer> pids = getPids(); local 100 assertTrue(pids.size() > 1); // at least vold and netd should exist 112 for (int i : pids) { 120 for (int i : pids) { 245 * 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) {
|
/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]);
|
/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);
|
/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;
|
/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 421 ArrayList<Integer> pids = new ArrayList<Integer>(); local 422 pids.add(Process.myPid()); 423 ActivityManagerService.dumpStackTraces(true, pids, null, null, 438 ArrayList<Integer> pids = new ArrayList<Integer>(); local 439 pids.add(Process.myPid()); 440 if (mPhonePid > 0) pids.add(mPhonePid); 444 !waitedHalf, pids, null, null, NATIVE_STACKS_OF_INTEREST);
|
ConnectivityService.java | 1600 List pids = mNetRequestersPids[prevNetType]; local 2202 List pids = mNetRequestersPids[i]; local 2345 List pids = mNetRequestersPids[netType]; local [all...] |
MountService.java | 404 int pids[] = getStorageUsers(path); local 405 if (pids == null || pids.length == 0) { 409 ams.killPids(pids, "unmount media", true); 411 pids = getStorageUsers(path); 412 if (pids == null || pids.length == 0) { [all...] |
/frameworks/base/core/java/android/os/storage/ |
IMountService.java | 211 * Returns an array of pids with open files on the specified path. 914 int[] pids = getStorageUsers(path); local [all...] |
/frameworks/base/core/jni/ |
android_util_Process.cpp | 923 Vector<jint> pids; local 961 pids.add(pid); 969 jintArray pidArray = env->NewIntArray(pids.size()); 975 if (pids.size() > 0) { 976 env->SetIntArrayRegion(pidArray, 0, pids.size(), pids.array());
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
DeviceMonitor.java | 711 // These bytes correspond to the pids of the current set of processes on the device. 712 // It takes this set of pids and compares them with the existing set of clients 713 // for the device. Clients that correspond to pids that are not alive anymore are 714 // dropped, and new clients are created for pids that don't have a corresponding Client. 717 // array for the current pids. 726 String[] pids = result.split("\n"); //$NON-NLS-1$ local 728 for (String pid : pids) { [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 2133 SparseArray<? extends Uid.Pid> pids = uid.getPidStats(); local [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningState.java | 1052 int[] pids = new int[numProc]; local [all...] |
/frameworks/base/core/java/android/app/ |
ActivityManagerNative.java | 1097 int[] pids = data.createIntArray(); local 1316 int[] pids = data.createIntArray(); local 1640 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...] |
/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...] |
/frameworks/base/services/java/com/android/server/am/ |
ActivityManagerService.java | 3114 int[] pids = Process.getPidsForCommands(nativeProcs); local [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |