Home
last modified time | relevance | path

Searched refs:mStats (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java43 final BatteryStatsImpl mStats; field in BatteryStatsService
47 mStats = new BatteryStatsImpl(filename); in BatteryStatsService()
53 mStats.setNumSpeedSteps(new PowerProfile(mContext).getNumSpeedSteps()); in publish()
54 mStats.setRadioScanningTimeout(mContext.getResources().getInteger( in publish()
61 synchronized (mStats) { in shutdown()
62 mStats.writeLocked(); in shutdown()
81 return mStats; in getActiveStatistics()
90 mStats.writeToParcel(out, 0); in getStatistics()
98 synchronized (mStats) { in noteStartWakelock()
99 mStats.getUidStatsLocked(uid).noteStartWakeLocked(name, type); in noteStartWakelock()
[all …]
DUsageStatsService.java78 final private Map<String, PkgUsageStatsExtended> mStats; field in UsageStatsService
217 mStats = new HashMap<String, PkgUsageStatsExtended>(); in UsageStatsService()
316 mStats.put(pkgName, pus); in readStatsFLOCK()
395 synchronized (mStats) { in writeStatsToFile()
396 mStats.clear(); in writeStatsToFile()
431 Set<String> keys = mStats.keySet(); in writeStatsToParcelFLOCK()
434 PkgUsageStatsExtended pus = mStats.get(key); in writeStatsToParcelFLOCK()
482 PkgUsageStatsExtended pus = mStats.get(mLastResumedPkg); in noteResumeComponent()
497 PkgUsageStatsExtended pus = mStats.get(pkgName); in noteResumeComponent()
500 mStats.put(pkgName, pus); in noteResumeComponent()
[all …]
/frameworks/base/services/java/com/android/server/
DLoadAverageService.java64 mStats.update();
72 private final Stats mStats; field in LoadAverageService.LoadView
138 mStats = new Stats(mLoadPaint); in LoadView()
139 mStats.init(); in LoadView()
165 final Stats stats = mStats; in onDraw()
245 final Stats stats = mStats; in updateDisplay()