Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_MOBILE_RADIO (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DMobileRadioPowerCalculatorTest.java165 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
167 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
179 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
181 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
186 assertThat(uidConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
188 assertThat(uidConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
193 assertThat(uidConsumer2.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
195 assertThat(uidConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel()
322 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel_multipleDefinedRat()
324 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) in testCounterBasedModel_multipleDefinedRat()
[all …]
DPhoneCallPowerStatsProcessorTest.java166 aggregatedPowerStatsConfig.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) in copyEstimatesFromMobileRadioPowerStats()
171 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) in copyEstimatesFromMobileRadioPowerStats()
178 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO); in copyEstimatesFromMobileRadioPowerStats()
DBatteryStatsManagerTest.java51 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in testBatteryUsageStatsDataConsistency()
DMobileRadioPowerStatsCollectorTest.java83 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, 10000);
186 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO); in triggering()
189 mBatteryStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in triggering()
DMobileRadioPowerStatsProcessorTest.java180 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) in powerProfileModel()
419 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) in prepareAggregatedStats_energyConsumerModel()
DBatteryUsageStatsRule.java106 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO), 10000); in BatteryUsageStatsRule()
/frameworks/base/services/core/java/com/android/server/power/stats/
DMobileRadioPowerCalculator.java122 return powerComponent == BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO; in isPowerComponentSupported()
157 keys = app.getKeys(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO); in calculate()
169 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
180 app.setConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
230 app.setConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
303 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
305 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
310 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
312 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in calculate()
DPhoneCallPowerStatsProcessor.java47 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO); in finish()
DMobileRadioPowerStatsCollector.java111 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)), in MobileRadioPowerStatsCollector()
182 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, mLayout.getDeviceStatsArrayLength(), in ensureInitialized()
DBatteryUsageStatsProvider.java83 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO)) { in getPowerCalculators()
269 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in verify()
DBatteryExternalStatsWorker.java616 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO);
DBatteryStatsImpl.java14695 mPowerStatsCollectorEnabled.get(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO));
14718 case BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO:
/frameworks/base/core/java/android/os/
DBatteryConsumer.java56 POWER_COMPONENT_MOBILE_RADIO,
82 public static final int POWER_COMPONENT_MOBILE_RADIO = field in BatteryConsumer
83 OsProtoEnums.POWER_COMPONENT_MOBILE_RADIO; // 8
116 sPowerComponentNames[POWER_COMPONENT_MOBILE_RADIO] = "mobile_radio";
197 POWER_COMPONENT_MOBILE_RADIO,
DBatteryStats.java4423 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO] = "cell";
8776 case BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO: in dumpProtoSystemLocked()
8911 || powerComponent == BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO in shouldHidePowerComponent()
9021 if (consumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) == 0) { in getUidMobileRadioStats()
/frameworks/proto_logging/stats/enums/os/
Denums.proto73 POWER_COMPONENT_MOBILE_RADIO = 8; enumerator
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java485 config.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) in createAggregatedPowerStatsConfig()
497 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO) in createAggregatedPowerStatsConfig()
606 mStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in systemServicesReady()
609 BatteryConsumer.POWER_COMPONENT_MOBILE_RADIO, in systemServicesReady()