Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java48 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase()
69 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); // on battery in testBgTimeBase()
77 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); // on battery (again) in testBgTimeBase()
91 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase()
116 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase()
121 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase()
126 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); in testScreenOffBgTimeBase()
137 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase()
142 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase()
161 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); // on battery in testWifiScan()
[all …]
DBatteryStatsNoteTest.java63 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteBluetoothScanResultLocked()
97 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteStartWakeLocked()
143 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testNoteUidProcessStateLocked()
210 bi.updateTimeBasesLocked(false, Display.STATE_OFF, 0, 0); in testUpdateTimeBasesLocked()
212 bi.updateTimeBasesLocked(false, Display.STATE_DOZE, 10, 10); in testUpdateTimeBasesLocked()
214 bi.updateTimeBasesLocked(false, Display.STATE_ON, 20, 20); in testUpdateTimeBasesLocked()
217 bi.updateTimeBasesLocked(true, Display.STATE_ON, 30, 30); in testUpdateTimeBasesLocked()
220 bi.updateTimeBasesLocked(true, Display.STATE_DOZE, 40, 40); in testUpdateTimeBasesLocked()
222 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 40, 40); in testUpdateTimeBasesLocked()
234 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testNoteScreenStateLocked()
[all …]
DBatteryStatsCpuTimesTest.java197 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testUpdateClusterSpeedTimes()
242 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked()
313 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_isolatedUid()
400 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_invalidUid()
445 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_withPartialTimers()
527 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked()
568 updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testReadKernelUidCpuFreqTimesLocked()
602 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
662 updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
706 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked_partialTimers()
[all …]
DBatteryStatsSensorTest.java78 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testCountingWhileOffBattery()
114 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testCountingWhileOnBattery()
149 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testBatteryStatusOnToOff()
158 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testBatteryStatusOnToOff()
195 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testBatteryStatusOffToOn()
213 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testBatteryStatusOffToOn()
247 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testPooledBackgroundUsage()
DBatteryStatsImplTest.java74 mBatteryStatsImpl.updateTimeBasesLocked(false, Display.STATE_ON, 0, 0); in testUpdateProcStateCpuTimes()
148 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testUpdateProcStateCpuTimes()
231 mBatteryStatsImpl.updateTimeBasesLocked(false, Display.STATE_ON, 0, 0); in testCopyFromAllUidsCpuTimes()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3981 public void updateTimeBasesLocked(boolean unplugged, int screenState, long uptime, in updateTimeBasesLocked() method in BatteryStatsImpl
4956 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state, in noteScreenStateLocked()
4964 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state, in noteScreenStateLocked()
12465 updateTimeBasesLocked(true, screenState, uptime, realtime); in setOnBatteryLocked()
12481 updateTimeBasesLocked(false, screenState, uptime, realtime); in setOnBatteryLocked()
/frameworks/base/config/
Dboot-image-profile.txt38885 HSPLcom/android/internal/os/BatteryStatsImpl;->updateTimeBasesLocked(ZIJJ)V