Searched refs:pids (Results 1 – 4 of 4) sorted by relevance
222 int pids[4096]; in read_stats() local276 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()
93 int pids[] = new int[1]; in queryMemory() local94 pids[0] = appPID; in queryMemory()95 Debug.MemoryInfo[] memoryInfoArray = mActivityManager.getProcessMemoryInfo(pids); in queryMemory()
69 int[] pids = mMemoryService.getTrackedProcesses();72 if (pids.length != N) initViews();75 if (indexOf(pids, pw.getPid()) < 0) {
1319 int[] pids = new int[numProc]; in update() local1321 pids[i] = mAllProcessItems.get(i).mPid; in update()1324 .getProcessPss(pids); in update()1326 for (int i=0; i<pids.length; i++) { in update()