Searched refs:PowerModel (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerCalculator.java | 81 protected static @BatteryConsumer.PowerModel int getPowerModel( in getPowerModel() 90 protected static @BatteryConsumer.PowerModel int getPowerModel(long consumedEnergyUC) { in getPowerModel()
|
D | AmbientDisplayPowerCalculator.java | 72 private double calculateTotalPower(@BatteryConsumer.PowerModel int powerModel, in calculateTotalPower()
|
D | WifiPowerCalculator.java | 160 BatteryStats.Uid u, @BatteryConsumer.PowerModel int powerModel, in calculateApp() 260 @BatteryConsumer.PowerModel int powerModel, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
|
D | GnssPowerCalculator.java | 87 @BatteryConsumer.PowerModel int powerModel, long rawRealtimeUs, in calculateApp()
|
D | BluetoothPowerCalculator.java | 165 @BatteryConsumer.PowerModel int powerModel, in calculatePowerAndDuration()
|
D | ScreenPowerCalculator.java | 131 @BatteryConsumer.PowerModel int powerModel, BatteryStats batteryStats, in calculateTotalDurationAndPower()
|
D | CpuPowerCalculator.java | 225 @BatteryConsumer.PowerModel int powerModel, long consumptionUC, int statsType, in calculatePowerAndDuration()
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 139 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()
|
D | PowerComponents.java | 121 @BatteryConsumer.PowerModel
|
/frameworks/base/core/proto/android/os/ |
D | batteryusagestats.proto | 127 enum PowerModel { enum 133 optional PowerModel power_model = 2;
|
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/ |
D | BatteryUsageStatsPulledTest.java | 230 @BatteryConsumer.PowerModel int powerModel, BatteryUsageStatsAtomsProto proto) { in assertPowerComponentModel()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BluetoothPowerCalculatorTest.java | 329 double powerMah, int durationMs, @BatteryConsumer.PowerModel int powerModel) { in assertBluetoothPowerAndDuration()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 9672 enum PowerModel { enum 9678 optional PowerModel power_model = 2;
|