Home
last modified time | relevance | path

Searched refs:POWER_MODEL_ENERGY_CONSUMPTION (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DGnssPowerCalculatorTest.java111 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
119 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
125 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
131 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
DCameraPowerCalculatorTest.java126 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testEnergyConsumptionBasedModel()
134 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testEnergyConsumptionBasedModel()
143 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testEnergyConsumptionBasedModel()
152 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testEnergyConsumptionBasedModel()
DScreenPowerCalculatorTest.java107 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
119 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
129 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
138 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
203 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_multiDisplay()
215 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_multiDisplay()
227 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_multiDisplay()
235 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_multiDisplay()
DMobileRadioPowerCalculatorTest.java652 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
656 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
662 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
668 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
786 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
790 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
821 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
845 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
852 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
940 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
[all …]
DBluetoothPowerCalculatorTest.java205 0.10378, 3583, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
208 0.22950, 8416, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
211 0.33333, 12000, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
214 0.33329, 11999, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
268 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_byProcessState()
DWifiPowerCalculatorTest.java252 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testPowerControllerBasedModel_measured()
260 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testPowerControllerBasedModel_measured()
266 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testPowerControllerBasedModel_measured()
306 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testPowerControllerBasedModel_measured_byProcessState()
375 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testTimerBasedModel_measured()
DAmbientDisplayPowerCalculatorTest.java83 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
144 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel_multiDisplay()
DCpuPowerCalculatorTest.java268 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
277 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
284 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
290 .isEqualTo(BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in testMeasuredEnergyBasedModel()
DBatteryUsageStatsTest.java20 import static android.os.BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION;
323 123, BatteryConsumer.POWER_MODEL_POWER_PROFILE, 345, POWER_MODEL_ENERGY_CONSUMPTION, in buildBatteryUsageStats2()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerCalculator.java85 return BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION; in getPowerModel()
92 ? BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION in getPowerModel()
DCameraPowerCalculator.java57 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
82 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculateApp()
DCpuPowerCalculator.java138 powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION in calculate()
155 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculateApp()
179 BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION); in calculateEnergyConsumptionPerProcessState()
231 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculatePowerAndDuration()
DGnssPowerCalculator.java73 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
92 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculateApp()
DMobileRadioPowerCalculator.java137 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
172 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
210 if (powerModel != BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
262 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
DPhonePowerCalculator.java53 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculate()
DAmbientDisplayPowerCalculator.java75 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculateTotalPower()
DScreenPowerCalculator.java90 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculate()
137 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in calculateTotalDurationAndPower()
DSystemServicePowerCalculator.java77 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculate()
DBluetoothPowerCalculator.java186 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculatePowerAndDuration()
DWifiPowerCalculator.java267 if (powerModel == BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) { in calculateRemaining()
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java298 .setConsumedPower(keyBg, 9200, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) in buildBatteryUsageStats()
300 .setConsumedPower(keyFgs, 9300, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) in buildBatteryUsageStats()
302 .setConsumedPower(keyCached, 9400, BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) in buildBatteryUsageStats()
325 BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION) in buildBatteryUsageStats()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java136 POWER_MODEL_ENERGY_CONSUMPTION,
156 public static final int POWER_MODEL_ENERGY_CONSUMPTION = 2; field in BatteryConsumer
476 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in powerModelToString()
491 case BatteryConsumer.POWER_MODEL_ENERGY_CONSUMPTION: in powerModelToProtoEnum()