Home
last modified time | relevance | path

Searched refs:setOnBatteryInternal (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsImplTest.java161 mBatteryStatsImpl.setOnBatteryInternal(true); in testUpdateProcStateCpuTimes()
366 mBatteryStatsImpl.setOnBatteryInternal(false); in testUpdateCpuTimesForAllUids()
759 mBatteryStatsImpl.setOnBatteryInternal(true); in testGetBluetoothBatteryStats()
798 mBatteryStatsImpl.setOnBatteryInternal(true); in testGetNetworkActivityBytes_multipleUpdates()
DMockBatteryStatsImpl.java242 public MockBatteryStatsImpl setOnBatteryInternal(boolean onBatteryInternal) { in setOnBatteryInternal() method in MockBatteryStatsImpl
DBatteryStatsNoteTest.java1170 bi.setOnBatteryInternal(battery); in testUpdateDisplayMeasuredEnergyStatsLocked()
1178 bi.setOnBatteryInternal(battery); in testUpdateDisplayMeasuredEnergyStatsLocked()
1242 bi.setOnBatteryInternal(true); in testUpdateCustomMeasuredEnergyStatsLocked_neverCalled()
1276 bi.setOnBatteryInternal(false); in testUpdateCustomMeasuredEnergyStatsLocked()
1291 bi.setOnBatteryInternal(true); in testUpdateCustomMeasuredEnergyStatsLocked()
1606 bi.setOnBatteryInternal(true); in testGetPerStateActiveRadioDurationMs_initialModemActivity()
2213 bi.setOnBatteryInternal(true); in testNoteMobileRadioPowerStateLocked()
2274 bi.setOnBatteryInternal(true); in testNoteMobileRadioPowerStateLocked_rateLimited()
2466 mBsi.setOnBatteryInternal(onBattery); in setOnBattery()
DBatteryUsageStatsRule.java334 mBatteryStats.setOnBatteryInternal(true);
DBatteryStatsCpuTimesTest.java135 mBatteryStatsImpl.setOnBatteryInternal(false); in testUpdateCpuTimeLocked()
158 mBatteryStatsImpl.setOnBatteryInternal(true); in testUpdateCpuTimeLocked()