Home
last modified time | relevance | path

Searched refs:mRunWeight (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsPackageEntry.java48 double mRunWeight; field in ProcStatsPackageEntry
69 mRunWeight = in.readDouble(); in ProcStatsPackageEntry()
90 mRunWeight = 0; in updateMetrics()
99 mRunWeight += entry.mRunWeight; in updateMetrics()
151 dest.writeDouble(mRunWeight); in writeToParcel()
180 return mRunWeight; in getRunWeight()
DProcStatsEntry.java53 final double mRunWeight; field in ProcStatsEntry
75 mRunWeight = mAvgRunMem * (double) mRunDuration; in ProcStatsEntry()
87 mBgWeight = mRunWeight = ((double)memDuration) * mem; in ProcStatsEntry()
104 mRunWeight = in.readDouble(); in ProcStatsEntry()
169 if (subProcs.get(0).mRunWeight > (subProcs.get(1).mRunWeight *3)) { in evaluateTargetPackage()
171 + subProcs.get(0).mPackage + " weight " + subProcs.get(0).mRunWeight in evaluateTargetPackage()
173 + " weight " + subProcs.get(1).mRunWeight); in evaluateTargetPackage()
180 double maxWeight = subProcs.get(0).mRunWeight; in evaluateTargetPackage()
185 if (subProc.mRunWeight < (maxWeight/2)) { in evaluateTargetPackage()
187 + subProc.mPackage + " weight " + subProc.mRunWeight in evaluateTargetPackage()
[all …]
DProcessStatsDetail.java203 boolean statsForeground = mApp.mRunWeight > mApp.mBgWeight; in createDetails()
204 double avgRam = (statsForeground ? mApp.mRunWeight : mApp.mBgWeight) * mWeightToRam; in createDetails()
242 if (lhs.mRunWeight < rhs.mRunWeight) {
244 } else if (lhs.mRunWeight > rhs.mRunWeight) {
271 long memoryUse = Math.max((long) (entry.mRunWeight * mWeightToRam), in fillProcessesSection()
DProcessStatsPreference.java49 boolean statsForeground = entry.mRunWeight > entry.mBgWeight; in init()
50 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam in init()
DProcStatsData.java285 if (ent.mRunWeight > 0) { in getProcs()
449 if (lhs.mRunWeight < rhs.mRunWeight) {
451 } else if (lhs.mRunWeight > rhs.mRunWeight) {
DProcessStatsUi.java188 double rhsWeight = Math.max(rhs.mRunWeight, rhs.mBgWeight);
189 double lhsWeight = Math.max(lhs.mRunWeight, lhs.mBgWeight);