/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 48 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 …]
|
D | BatteryStatsNoteTest.java | 63 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 …]
|
D | BatteryStatsCpuTimesTest.java | 197 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 …]
|
D | BatteryStatsSensorTest.java | 78 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()
|
D | BatteryStatsImplTest.java | 74 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/ |
D | BatteryStatsImpl.java | 3981 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/ |
D | boot-image-profile.txt | 38885 HSPLcom/android/internal/os/BatteryStatsImpl;->updateTimeBasesLocked(ZIJJ)V
|