Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/procstats/
DUidState.java40 private ArraySet<ProcessState> mProcesses = new ArraySet<>(); field in UidState
90 for (int i = 0, size = mProcesses.size(); i < size; i++) { in calcCombinedState()
91 final int combinedState = mProcesses.valueAt(i).getCombinedState(); in calcCombinedState()
153 mProcesses.removeIf(p -> !p.isInUse()); in resetSafely()
160 for (int i = 0, size = mProcesses.size(); i < size; i++) { in isInUse()
161 if (mProcesses.valueAt(i).isInUse()) { in isInUse()
172 for (int i = 0, size = mProcesses.size(); i < size; i++) { in hasPackage()
173 final ProcessState proc = mProcesses.valueAt(i); in hasPackage()
191 mProcesses.add(proc); in addProcess()
195 mProcesses.add(proc); in addProcess()
[all …]
DProcessStats.java207 public final ProcessMap<ProcessState> mProcesses = new ProcessMap<>(); field in ProcessStats
306 final int NPROCS = otherState.mProcesses.size(); in add()
310 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
323 pkgState.mProcesses.put(thisProc.getName(), thisProc); in add()
360 ArrayMap<String, SparseArray<ProcessState>> procMap = other.mProcesses.getMap(); in add()
369 ProcessState thisProc = mProcesses.get(name, uid); in add()
374 mProcesses.put(name, uid, thisProc); in add()
376 if (!thisState.mProcesses.containsKey(name)) { in add()
377 thisState.mProcesses.put(name, thisProc); in add()
506 ArrayMap<String, SparseArray<ProcessState>> procMap = mProcesses.getMap(); in computeTotalMemoryUse()
[all …]
DProcessState.java708 ProcessState proc = pkg.mProcesses.get(mName); in pullFixedProc()
750 proc = expkg.mProcesses.get(proc.mName); in pullFixedProc()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java394 ArrayMap<String, SparseArray<ProcessState>> procMap = stats.mProcesses.getMap(); in readLF()
419 final int NPROCS = pkgState.mProcesses.size(); in readLF()
421 Slog.w(TAG, " Process " + pkgState.mProcesses.keyAt(iproc) in readLF()
422 + ": " + pkgState.mProcesses.valueAt(iproc)); in readLF()