/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsBackgroundStatsTest.java | 62 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 83 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); // on battery in testBgTimeBase() 91 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); // on battery (again) in testBgTimeBase() 105 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); // off battery in testBgTimeBase() 131 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 136 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 141 bi.updateTimeBasesLocked(true, Display.STATE_OFF, cur, cur); in testScreenOffBgTimeBase() 152 bi.updateTimeBasesLocked(true, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 157 bi.updateTimeBasesLocked(false, Display.STATE_ON, cur, cur); in testScreenOffBgTimeBase() 177 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); // on battery in testWifiScan() [all …]
|
D | BatteryStatsCpuTimesTest.java | 223 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testUpdateClusterSpeedTimes() 278 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked() 351 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_isolatedUid() 439 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_invalidUid() 484 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuTimesLocked_withPartialTimers() 567 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked() 608 updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testReadKernelUidCpuFreqTimesLocked() 642 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 707 updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable() 751 updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testReadKernelUidCpuFreqTimesLocked_partialTimers() [all …]
|
D | BatteryStatsSensorTest.java | 93 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testCountingWhileOffBattery() 129 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testCountingWhileOnBattery() 164 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testBatteryStatusOnToOff() 173 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testBatteryStatusOnToOff() 210 bi.updateTimeBasesLocked(false, Display.STATE_ON, curr, curr); in testBatteryStatusOffToOn() 228 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testBatteryStatusOffToOn() 261 bi.updateTimeBasesLocked(true, Display.STATE_ON, curr, curr); in testPooledBackgroundUsage()
|
D | BatteryStatsImplTest.java | 162 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testUpdateProcStateCpuTimes() 266 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, mMockClock.uptime * 1000, in testUpdateProcStateCpuTimes() 367 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testUpdateCpuTimesForAllUids() 470 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqRel() 493 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqNoRel() 519 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqAcqRelRel() 549 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testMulticastWakelockAcqRelAcqRel() 577 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testGetWakeLockStats() 715 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in kernelWakelocks() 760 mBatteryStatsImpl.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testGetBluetoothBatteryStats() [all …]
|
D | BatteryStatsNoteTest.java | 113 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteBluetoothScanResultLocked() 147 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteStartWakeLocked() 186 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteStartWakeLocked_isolatedUid() 228 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteStartWakeLocked_isolatedUidRace() 275 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteLongPartialWakelockStart_isolatedUid() 330 bi.updateTimeBasesLocked(true, Display.STATE_OFF, 0, 0); in testNoteLongPartialWakelockStart_isolatedUidRace() 392 bi.updateTimeBasesLocked(true, Display.STATE_ON, 0, 0); in testNoteUidProcessStateLocked() 460 bi.updateTimeBasesLocked(false, Display.STATE_OFF, 0, 0); in testUpdateTimeBasesLocked() 462 bi.updateTimeBasesLocked(false, Display.STATE_DOZE, 10, 10); in testUpdateTimeBasesLocked() 464 bi.updateTimeBasesLocked(false, Display.STATE_ON, 20, 20); in testUpdateTimeBasesLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 4547 public void updateTimeBasesLocked(boolean unplugged, int screenState, long uptimeUs, in updateTimeBasesLocked() method in BatteryStatsImpl 5705 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state, in noteScreenStateLocked() 5713 updateTimeBasesLocked(mOnBatteryTimeBase.isRunning(), state, in noteScreenStateLocked() 14937 updateTimeBasesLocked(true, screenState, uptimeUs, realtimeUs); 14950 updateTimeBasesLocked(false, screenState, uptimeUs, realtimeUs);
|
/frameworks/base/services/ |
D | art-wear-profile | 22199 PLcom/android/server/power/stats/BatteryStatsImpl;->updateTimeBasesLocked(ZIJJ)V
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 74025 Lcom/android/internal/os/BatteryStatsImpl;->updateTimeBasesLocked(ZIJJ)V
|