Searched refs:mScreenOnTimer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MockBatteryStatsImpl.java | 38 mScreenOnTimer = new BatteryStatsImpl.StopwatchTimer(clocks, null, -1, null, in MockBatteryStatsImpl()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 736 protected StopwatchTimer mScreenOnTimer; field in BatteryStatsImpl 4933 mScreenOnTimer.startRunningLocked(elapsedRealtime); in noteScreenStateLocked() 4942 mScreenOnTimer.stopRunningLocked(elapsedRealtime); in noteScreenStateLocked() 6288 return mScreenOnTimer.getTotalTimeLocked(elapsedRealtimeUs, which); in getScreenOnTime() 6292 return mScreenOnTimer.getCountLocked(which); in getScreenOnCount() 10128 mScreenOnTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase); in BatteryStatsImpl() 10828 mScreenOnTimer.reset(false); in resetAllStatsLocked() 13766 mScreenOnTimer.readSummaryFromParcelLocked(in); in readSummaryFromParcel() 14229 mScreenOnTimer.writeSummaryFromParcelLocked(out, NOWREAL_SYS); in writeSummaryToParcel() 14699 mScreenOnTimer = new StopwatchTimer(mClocks, null, -1, null, mOnBatteryTimeBase, in); in readFromParcelLocked() [all …]
|