Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_PHONE (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DPhonePowerCalculator.java39 return powerComponent == BatteryConsumer.POWER_COMPONENT_PHONE; in isPowerComponentSupported()
65 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_PHONE, phoneOnPower, powerModel) in calculate()
66 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_PHONE, phoneOnTimeMs); in calculate()
DPhoneCallPowerStatsProcessor.java36 mDescriptor = new PowerStats.Descriptor(BatteryConsumer.POWER_COMPONENT_PHONE, in PhoneCallPowerStatsProcessor()
DBatteryUsageStatsProvider.java86 if (!mPowerStatsExporterEnabled.get(BatteryConsumer.POWER_COMPONENT_PHONE)) { in getPowerCalculators()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPhoneCallPowerStatsProcessorTest.java170 aggregatedPowerStatsConfig.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_PHONE, in copyEstimatesFromMobileRadioPowerStats()
209 aggregatedPowerStats.getPowerComponentStats(BatteryConsumer.POWER_COMPONENT_PHONE); in copyEstimatesFromMobileRadioPowerStats()
DMobileRadioPowerCalculatorTest.java653 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_PHONE)) in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
655 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_PHONE)) in testMeasuredEnergyBasedModel_mobileRadioActiveTimeModel()
787 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_PHONE)) in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
789 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_PHONE)) in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel()
941 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_PHONE)) in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
943 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_PHONE)) in testMeasuredEnergyBasedModel_modemActivityInfoRxTxModel_legacyPowerProfile()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java63 POWER_COMPONENT_PHONE,
89 public static final int POWER_COMPONENT_PHONE = OsProtoEnums.POWER_COMPONENT_PHONE; // 14 field in BatteryConsumer
122 sPowerComponentNames[POWER_COMPONENT_PHONE] = "phone";
DBatteryStats.java4428 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_PHONE] = "phone";
8779 case BatteryConsumer.POWER_COMPONENT_PHONE: in dumpProtoSystemLocked()
/frameworks/proto_logging/stats/enums/os/
Denums.proto79 POWER_COMPONENT_PHONE = 14; enumerator
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java496 config.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_PHONE, in createAggregatedPowerStatsConfig()