Home
last modified time | relevance | path

Searched refs:PowerModel (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryConsumer.java131 public @interface PowerModel { annotation in BatteryConsumer
180 public @PowerModel int getPowerModel(@BatteryConsumer.PowerComponent int componentId) { in getPowerModel()
248 public static String powerModelToString(@BatteryConsumer.PowerModel int powerModel) { in powerModelToString()
352 @PowerModel int powerModel) { in setConsumedPower()
DPowerComponents.java163 @BatteryConsumer.PowerModel
461 double componentPower, @BatteryConsumer.PowerModel int powerModel) {
/frameworks/base/core/java/com/android/internal/os/
DPowerCalculator.java120 protected static @BatteryConsumer.PowerModel int getPowerModel( in getPowerModel()
129 protected static @BatteryConsumer.PowerModel int getPowerModel(long measuredEnergyUC) { in getPowerModel()
138 protected static double getMeasuredOrEstimatedPower(@BatteryConsumer.PowerModel int powerModel, in getMeasuredOrEstimatedPower()
DGnssPowerCalculator.java80 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp()
115 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp()
DMobileRadioPowerCalculator.java207 private double calculatePower(BatteryStats.Uid u, @BatteryConsumer.PowerModel int powerModel, in calculatePower()
231 @BatteryConsumer.PowerModel int powerModel, BatteryStats batteryStats, in calculateRemaining()
DWifiPowerCalculator.java179 BatteryStats.Uid u, @BatteryConsumer.PowerModel int powerModel, in calculateApp()
243 @BatteryConsumer.PowerModel int powerModel, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DBluetoothPowerCalculator.java192 private double calculatePowerMah(@BatteryConsumer.PowerModel int powerModel, in calculatePowerMah()
DCpuPowerCalculator.java143 @BatteryConsumer.PowerModel int powerModel, long consumptionUC, int statsType, in calculatePowerAndDuration()
DScreenPowerCalculator.java159 @BatteryConsumer.PowerModel int powerModel, BatteryStats batteryStats, in calculateTotalDurationAndPower()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBluetoothPowerCalculatorTest.java133 double powerMah, int durationMs, @BatteryConsumer.PowerModel int powerModel) { in assertBluetoothPowerAndDuration()