Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/
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 …]
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()
DProcessStatsDetail.java202 boolean statsForeground = mApp.mRunWeight > mApp.mBgWeight; in createDetails()
203 double avgRam = (statsForeground ? mApp.mRunWeight : mApp.mBgWeight) * mWeightToRam; in createDetails()
241 if (lhs.mRunWeight < rhs.mRunWeight) {
243 } else if (lhs.mRunWeight > rhs.mRunWeight) {
270 long memoryUse = Math.max((long) (entry.mRunWeight * mWeightToRam), in fillProcessesSection()
DProcStatsData.java292 if (ent.mRunWeight > 0) { in getProcs()
452 if (lhs.mRunWeight < rhs.mRunWeight) {
454 } else if (lhs.mRunWeight > rhs.mRunWeight) {
DProcessStatsPreference.java50 boolean statsForeground = entry.mRunWeight > entry.mBgWeight; in init()
51 double amount = avg ? (statsForeground ? entry.mRunWeight : entry.mBgWeight) * weightToRam in init()
DProcessStatsUi.java187 double rhsWeight = Math.max(rhs.mRunWeight, rhs.mBgWeight);
188 double lhsWeight = Math.max(lhs.mRunWeight, lhs.mBgWeight);
DInstalledAppDetails.java1390 double amount = Math.max(entry.mRunWeight, entry.mBgWeight)