Home
last modified time | relevance | path

Searched refs:PackageState (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java217 public final ProcessMap<SparseArray<PackageState>> mPackages
218 = new ProcessMap<SparseArray<PackageState>>();
261 ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = other.mPackages.getMap(); in add()
264 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
267 final SparseArray<PackageState> versions = uids.valueAt(iu); in add()
270 final PackageState otherState = versions.valueAt(iv); in add()
284 final PackageState pkgState = getPackageStateLocked(pkgName, uid, in add()
317 PackageState thisState = getPackageStateLocked(otherProc.mPackage, uid, in add()
1323 final ArrayMap<String, SparseArray<SparseArray<PackageState>>> pkgMap = mPackages.getMap(); in resetSafely()
1325 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip); in resetSafely()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java138 final ArrayMap<String, SparseArray<SparseArray<ProcessStats.PackageState>>> pmap in setMemFactorLocked()
141 final SparseArray<SparseArray<ProcessStats.PackageState>> uids = pmap.valueAt(ipkg); in setMemFactorLocked()
143 final SparseArray<ProcessStats.PackageState> vers = uids.valueAt(iuid); in setMemFactorLocked()
145 final ProcessStats.PackageState pkg = vers.valueAt(iver); in setMemFactorLocked()
308 ArrayMap<String, SparseArray<SparseArray<ProcessStats.PackageState>>> pkgMap in readLocked()
313 SparseArray<SparseArray<ProcessStats.PackageState>> uids in readLocked()
318 SparseArray<ProcessStats.PackageState> vers = uids.valueAt(iu); in readLocked()
322 ProcessStats.PackageState pkgState = vers.valueAt(iv); in readLocked()