Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBluetoothPowerCalculator.java49 double powerMah = counter.getPowerCounter().getCountLocked(statsType) in calculateApp()
76 double powerMah = counter.getPowerCounter().getCountLocked(statsType) in calculateRemaining()
DWifiPowerCalculator.java86 double powerDrainMah = counter.getPowerCounter().getCountLocked(statsType) in calculateRemaining()
DBatteryStatsImpl.java2585 public LongSamplingCounter getPowerCounter() { in getPowerCounter() method in BatteryStatsImpl.ControllerActivityCounterImpl
9711 mWifiActivity.getPowerCounter().addCountLocked( in updateWifiState()
9860 mModemActivity.getPowerCounter().addCountLocked( in updateMobileRadioState()
10035 mBluetoothActivity.getPowerCounter().addCountLocked( in updateBluetoothStateLocked()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java176 controller.getPowerCounter().getCountLocked(STATS_SINCE_UNPLUGGED)); in writeUid()
195 controller.getPowerCounter().getCountLocked(STATS_SINCE_UNPLUGGED)); in writeUid()
214 controller.getPowerCounter().getCountLocked(STATS_SINCE_UNPLUGGED)); in writeUid()
/frameworks/base/core/java/android/os/
DBatteryStats.java382 public abstract LongCounter getPowerCounter(); in getPowerCounter() method in BatteryStats.ControllerActivityCounter
2914 || counter.getPowerCounter().getCountLocked(which) != 0) { in controllerActivityHasData()
2948 pw.print(counter.getPowerCounter().getCountLocked(which) / (1000 * 60 * 60)); in dumpControllerActivityLine()
2970 final long powerDrainMaMs = counter.getPowerCounter().getCountLocked(which); in printControllerActivity()