/frameworks/base/services/java/com/android/server/ |
H A D | Watchdog.java | 408 ArrayList<Integer> pids = new ArrayList<Integer>(); 409 pids.add(Process.myPid()); 410 ActivityManagerService.dumpStackTraces(true, pids, null, null, 425 ArrayList<Integer> pids = new ArrayList<Integer>(); 426 pids.add(Process.myPid()); 427 if (mPhonePid > 0) pids.add(mPhonePid); 431 !waitedHalf, pids, null, null, NATIVE_STACKS_OF_INTEREST);
|
H A D | ConnectivityService.java | 1688 List pids = mNetRequestersPids[prevNetType]; 1689 for (int i = 0; i<pids.size(); i++) { 1690 Integer pid = (Integer)pids.get(i); 1692 // need to do this now as only now do we know the pids and 2418 List pids = mNetRequestersPids[i]; 2419 for (int j=0; j<pids.size(); j++) { 2420 Integer pid = (Integer)pids.get(j); 2566 List pids = mNetRequestersPids[netType]; 2567 for (int y=0; y< pids.size(); y++) { 2568 Integer pid = (Integer)pids [all...] |
H A D | MountService.java | 432 int pids[] = getStorageUsers(path); 433 if (pids == null || pids.length == 0) { 437 ams.killPids(pids, "unmount media", true); 439 pids = getStorageUsers(path); 440 if (pids == null || pids.length == 0) {
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
H A D | MemoryUsageTest.java | 236 int[] pids = { 239 MemoryInfo meminfo = am.getProcessMemoryInfo(pids)[0];
|
/frameworks/base/core/jni/ |
H A D | 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());
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessStats.java | 341 int[] pids = Process.getPids(statsFile, curPids); 342 int NP = (pids == null) ? 0 : pids.length; 346 int pid = pids[i]; 518 return pids;
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 232 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException; argument 281 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) argument 346 public long[] getProcessPss(int[] pids) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 1171 int[] pids = data.createIntArray(); 1174 boolean res = killPids(pids, reason, secure); 1374 int[] pids = data.createIntArray(); 1375 Debug.MemoryInfo[] res = getProcessMemoryInfo(pids); 1714 int[] pids = data.createIntArray(); 1715 long[] pss = getProcessPss(pids); 3274 public boolean killPids(int[] pids, String reason, boolean secure) throws RemoteException { argument 3278 data.writeIntArray(pids); 3518 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) argument 3523 data.writeIntArray(pids); 3992 getProcessPss(int[] pids) argument [all...] |
H A D | ActivityManager.java | 1666 * @param pids The pids of the processes whose memory usage is to be 1671 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) { argument 1673 return ActivityManagerNative.getDefault().getProcessMemoryInfo(pids);
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 2138 SparseArray<? extends Uid.Pid> pids = uid.getPidStats(); 2139 if (pids != null) { 2140 for (int j=0; j<pids.size(); j++) { 2141 Uid.Pid pid = pids.valueAt(j); 2148 pw.print(" PID "); pw.print(pids.keyAt(j));
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 211 * Returns an array of pids with open files on the specified path. 916 int[] pids = getStorageUsers(path); 918 reply.writeIntArray(pids); 1211 * Returns an array of pids with open files on the specified path.
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 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) argument 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) throw argument 7486 killPids(int[] pids, String pReason, boolean secure) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 5681 // only allow disables from pids which have count on, etc. 9876 int[] pids = new int[pidCandidates.size()]; 9877 for (int i=0; i<pids.length; i++) { 9878 pids[i] = pidCandidates.keyAt(i); 9881 if (mActivityManager.killPids(pids, "Free memory", secure)) {
|