Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerCalculator.java81 protected static @BatteryConsumer.PowerModel int getPowerModel( in getPowerModel()
90 protected static @BatteryConsumer.PowerModel int getPowerModel(long consumedEnergyUC) { in getPowerModel()
DAmbientDisplayPowerCalculator.java72 private double calculateTotalPower(@BatteryConsumer.PowerModel int powerModel, in calculateTotalPower()
DWifiPowerCalculator.java160 BatteryStats.Uid u, @BatteryConsumer.PowerModel int powerModel, in calculateApp()
260 @BatteryConsumer.PowerModel int powerModel, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
DGnssPowerCalculator.java87 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp()
DBluetoothPowerCalculator.java165 @BatteryConsumer.PowerModel int powerModel, in calculatePowerAndDuration()
DScreenPowerCalculator.java131 @BatteryConsumer.PowerModel int powerModel, BatteryStats batteryStats, in calculateTotalDurationAndPower()
DCpuPowerCalculator.java225 @BatteryConsumer.PowerModel int powerModel, long consumptionUC, int statsType, in calculatePowerAndDuration()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java139 public @interface PowerModel { annotation in BatteryConsumer
387 public @PowerModel int getPowerModel(@BatteryConsumer.PowerComponent int componentId) { in getPowerModel()
398 public @PowerModel int getPowerModel(@NonNull BatteryConsumer.Key key) { in getPowerModel()
474 public static String powerModelToString(@BatteryConsumer.PowerModel int powerModel) { in powerModelToString()
489 public static int powerModelToProtoEnum(@BatteryConsumer.PowerModel int powerModel) { in powerModelToProtoEnum()
847 @PowerModel int powerModel) { in setConsumedPower()
856 @PowerModel int powerModel) { in addConsumedPower()
864 public T setConsumedPower(Key key, double componentPower, @PowerModel int powerModel) { in setConsumedPower()
871 public T addConsumedPower(Key key, double componentPower, @PowerModel int powerModel) { in addConsumedPower()
DPowerComponents.java121 @BatteryConsumer.PowerModel
/frameworks/base/core/proto/android/os/
Dbatteryusagestats.proto127 enum PowerModel { enum
133 optional PowerModel power_model = 2;
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java230 @BatteryConsumer.PowerModel int powerModel, BatteryUsageStatsAtomsProto proto) { in assertPowerComponentModel()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBluetoothPowerCalculatorTest.java329 double powerMah, int durationMs, @BatteryConsumer.PowerModel int powerModel) { in assertBluetoothPowerAndDuration()
/frameworks/proto_logging/stats/
Datoms.proto9672 enum PowerModel { enum
9678 optional PowerModel power_model = 2;