Home
last modified time | relevance | path

Searched refs:pids (Results 1 – 4 of 4) sorted by relevance

/packages/experimental/procstatlog/
Dprocstatlog.c222 int pids[4096]; in read_stats() local
276 if (pid_count >= sizeof(pids) / sizeof(pids[0])) { in read_stats()
279 pids[pid_count++] = pid; in read_stats()
288 assert(pids[i] > 0); in read_stats()
289 sprintf(filename, "/proc/%d/stat", pids[i]); in read_stats()
291 sprintf(filename, "/proc/%d/wchan", pids[i]); in read_stats()
/packages/apps/Camera2/src/com/android/camera/app/
DMemoryQuery.java93 int pids[] = new int[1]; in queryMemory() local
94 pids[0] = appPID; in queryMemory()
95 Debug.MemoryInfo[] memoryInfoArray = mActivityManager.getProcessMemoryInfo(pids); in queryMemory()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DWeightWatcher.java69 int[] pids = mMemoryService.getTrackedProcesses();
72 if (pids.length != N) initViews();
75 if (indexOf(pids, pw.getPid()) < 0) {
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java1319 int[] pids = new int[numProc]; in update() local
1321 pids[i] = mAllProcessItems.get(i).mPid; in update()
1324 .getProcessPss(pids); in update()
1326 for (int i=0; i<pids.length; i++) { in update()