Searched refs:calculatePowerMah (Results 1 – 3 of 3) sorted by relevance
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | BluetoothPowerCalculator.java | 72 final double systemPowerMah = calculatePowerMah(powerModel, measuredChargeUC, in calculate() 103 final double powerMah = calculatePowerMah(powerModel, measuredChargeUC, activityCounter, in calculateApp() 136 calculatePowerMah(powerModel, measuredChargeUC, activityCounter, false); in calculate() 169 final double powerMah = calculatePowerMah(powerModel, measuredChargeUC, activityCounter, in calculateApp() 192 private double calculatePowerMah(@BatteryConsumer.PowerModel int powerModel, in calculatePowerMah() method in BluetoothPowerCalculator 221 return calculatePowerMah(rxTimeMs, txTimeMs, idleTimeMs); in calculatePowerMah() 225 public double calculatePowerMah(long rxTimeMs, long txTimeMs, long idleTimeMs) { in calculatePowerMah() method in BluetoothPowerCalculator
|
H A D | SensorPowerCalculator.java | 62 final double powerMah = calculatePowerMah(u, rawRealtimeUs, in calculateApp() 73 app.sensorPowerMah = calculatePowerMah(u, rawRealtimeUs, statsType); in calculateApp() 93 private double calculatePowerMah(BatteryStats.Uid u, long rawRealtimeUs, int statsType) { in calculatePowerMah() method in SensorPowerCalculator
|
H A D | BatteryStatsImpl.java | 12659 mBluetoothPowerCalculator.calculatePowerMah( in updateBluetoothStateLocked() 12726 mBluetoothPowerCalculator.calculatePowerMah(timeRxMs, 0, 0)); in updateBluetoothStateLocked() 12739 mBluetoothPowerCalculator.calculatePowerMah(0, timeTxMs, 0)); in updateBluetoothStateLocked() 12766 = mBluetoothPowerCalculator.calculatePowerMah(rxTimeMs, txTimeMs, idleTimeMs); in updateBluetoothStateLocked()
|