/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 50 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 71 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); // on battery in testBgTimeBase() 79 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); // on battery (again) in testBgTimeBase() 93 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 118 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 123 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 128 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); in testScreenOffBgTimeBase() 139 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 144 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 163 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); // on battery in testWifiScan() [all …]
|
D | BatteryStatsNoteTest.java | 62 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteBluetoothScanResultLocked() 96 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteStartWakeLocked() 142 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testNoteUidProcessStateLocked() 209 bi.updateTimeBasesLocked(false, Display.STATE_OFF, 0, 0); in testUpdateTimeBasesLocked() 211 bi.updateTimeBasesLocked(false, Display.STATE_DOZE, 10, 10); in testUpdateTimeBasesLocked() 213 bi.updateTimeBasesLocked(false, Display.STATE_ON, 20, 20); in testUpdateTimeBasesLocked() 216 bi.updateTimeBasesLocked(true, Display.STATE_ON, 30, 30); in testUpdateTimeBasesLocked() 219 bi.updateTimeBasesLocked(true, Display.STATE_DOZE, 40, 40); in testUpdateTimeBasesLocked() 221 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 40, 40); in testUpdateTimeBasesLocked() 233 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testNoteScreenStateLocked() [all …]
|
D | BatteryStatsCpuTimesTest.java | 204 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testUpdateClusterSpeedTimes() 249 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked() 322 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_isolatedUid() 411 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_invalidUid() 457 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_withPartialTimers() 540 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked() 581 updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testReadKernelUidCpuFreqTimesLocked() 615 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 675 updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 719 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked_partialTimers() [all …]
|
D | BatteryStatsImplTest.java | 78 mBatteryStatsImpl.updateTimeBasesLocked(false, Display.STATE_ON, 0, 0); in testUpdateProcStateCpuTimes() 152 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testUpdateProcStateCpuTimes() 235 mBatteryStatsImpl.updateTimeBasesLocked(false, Display.STATE_ON, 0, 0); in testCopyFromAllUidsCpuTimes() 316 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqRel() 339 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqNoRel() 365 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqAcqRelRel() 395 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqRelAcqRel()
|
D | BatteryStatsSensorTest.java | 80 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testCountingWhileOffBattery() 116 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testCountingWhileOnBattery() 151 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testBatteryStatusOnToOff() 160 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testBatteryStatusOnToOff() 197 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testBatteryStatusOffToOn() 215 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testBatteryStatusOffToOn() 249 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testPooledBackgroundUsage()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3859 public void updateTimeBasesLocked(boolean unplugged, int screenState, long uptime, in updateTimeBasesLocked() method in BatteryStatsImpl 4793 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state, in noteScreenStateLocked() 4801 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state, in noteScreenStateLocked() 12146 updateTimeBasesLocked(true, screenState, uptime, realtime); in setOnBatteryLocked() 12162 updateTimeBasesLocked(false, screenState, uptime, realtime); in setOnBatteryLocked()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 21135 HSPLcom/android/internal/os/BatteryStatsImpl;->updateTimeBasesLocked(ZIJJ)V
|
D | hiddenapi-greylist-max-o.txt | 95464 Lcom/android/internal/os/BatteryStatsImpl;->updateTimeBasesLocked(ZIJJ)V
|