Lines Matching defs:pids
2817 // still has any relation to current pids, so must scan through the
3112 // First collect all of the stacks of the most important pids.
3165 int[] pids = Process.getPidsForCommands(nativeProcs);
3166 if (pids != null) {
3167 for (int pid : pids) {
3675 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids)
3678 Debug.MemoryInfo[] infos = new Debug.MemoryInfo[pids.length];
3679 for (int i=pids.length-1; i>=0; i--) {
3681 Debug.getMemoryInfo(pids[i], infos[i]);
3686 public long[] getProcessPss(int[] pids) throws RemoteException {
3688 long[] pss = new long[pids.length];
3689 for (int i=pids.length-1; i>=0; i--) {
3690 pss[i] = Debug.getPss(pids[i]);
7486 public boolean killPids(int[] pids, String pReason, boolean secure) {
7496 int[] types = new int[pids.length];
7498 for (int i=0; i<pids.length; i++) {
7499 ProcessRecord proc = mPidsSelfLocked.get(pids[i]);
7523 for (int i=0; i<pids.length; i++) {
7524 ProcessRecord proc = mPidsSelfLocked.get(pids[i]);
7535 Process.killProcessQuiet(pids[i]);