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.java2054 public LongSamplingCounter getPowerCounter() { in getPowerCounter() method in BatteryStatsImpl.ControllerActivityCounterImpl
8591 mWifiActivity.getPowerCounter().addCountLocked( in updateWifiStateLocked()
8719 mModemActivity.getPowerCounter().addCountLocked( in updateMobileRadioStateLocked()
8893 mBluetoothActivity.getPowerCounter().addCountLocked( in updateBluetoothStateLocked()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java175 controller.getPowerCounter().getCountLocked(STATS_SINCE_UNPLUGGED)); in writeUid()
194 controller.getPowerCounter().getCountLocked(STATS_SINCE_UNPLUGGED)); in writeUid()
213 controller.getPowerCounter().getCountLocked(STATS_SINCE_UNPLUGGED)); in writeUid()
/frameworks/base/core/java/android/os/
DBatteryStats.java319 public abstract LongCounter getPowerCounter(); in getPowerCounter() method in BatteryStats.ControllerActivityCounter
2668 || counter.getPowerCounter().getCountLocked(which) != 0) { in controllerActivityHasData()
2702 pw.print(counter.getPowerCounter().getCountLocked(which) / (1000 * 60 * 60)); in dumpControllerActivityLine()
2724 final long powerDrainMaMs = counter.getPowerCounter().getCountLocked(which); in printControllerActivity()