Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_WIFI (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DWifiPowerCalculatorTest.java158 assertThat(uidConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
160 assertThat(uidConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
162 assertThat(uidConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
166 assertThat(deviceConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
168 assertThat(deviceConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
170 assertThat(deviceConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
174 assertThat(appsConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
176 assertThat(appsConsumer.getPowerModel(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_nonMeasured()
213 assertThat(uidConsumer.getUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_powerProfile_byProcessState()
215 assertThat(uidConsumer.getConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI)) in testPowerControllerBasedModel_powerProfile_byProcessState()
[all …]
DBatteryStatsManagerTest.java52 BatteryConsumer.POWER_COMPONENT_WIFI, in testBatteryUsageStatsDataConsistency()
DWifiPowerStatsCollectorTest.java75 .setPowerStatsThrottlePeriodMillis(BatteryConsumer.POWER_COMPONENT_WIFI, 1000);
196 BatteryConsumer.POWER_COMPONENT_WIFI); in triggering()
199 mBatteryStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_WIFI, true); in triggering()
DWifiPowerStatsProcessorTest.java525 new AggregatedPowerStatsConfig.PowerComponent(BatteryConsumer.POWER_COMPONENT_WIFI) in createAggregatedPowerStats()
/frameworks/base/services/core/java/com/android/server/power/stats/
DWifiPowerCalculator.java85 return powerComponent == BatteryConsumer.POWER_COMPONENT_WIFI; in isPowerComponentSupported()
101 keys = app.getKeys(BatteryConsumer.POWER_COMPONENT_WIFI); in calculate()
121 app.setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WIFI, in calculate()
123 app.setConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI, in calculate()
149 .setUsageDurationMillis(BatteryConsumer.POWER_COMPONENT_WIFI, in calculate()
151 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI, in calculate()
155 .setConsumedPower(BatteryConsumer.POWER_COMPONENT_WIFI, in calculate()
DWifiPowerStatsCollector.java99 BatteryConsumer.POWER_COMPONENT_WIFI)), in WifiPowerStatsCollector()
147 BatteryConsumer.POWER_COMPONENT_WIFI, mLayout.getDeviceStatsArrayLength(), in ensureInitialized()
DBatteryUsageStatsProvider.java90 if (!mPowerStatsExporterEnabled.get(BatteryConsumer.POWER_COMPONENT_WIFI)) { in getPowerCalculators()
270 BatteryConsumer.POWER_COMPONENT_WIFI, in verify()
DBatteryStatsImpl.java14699 mPowerStatsCollectorEnabled.get(BatteryConsumer.POWER_COMPONENT_WIFI));
14720 case BatteryConsumer.POWER_COMPONENT_WIFI:
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DWiFiLoadTest.java66 BatteryConsumer.POWER_COMPONENT_WIFI).value); in test()
71 BatteryConsumer.POWER_COMPONENT_WIFI); in test()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java60 POWER_COMPONENT_WIFI,
86 public static final int POWER_COMPONENT_WIFI = OsProtoEnums.POWER_COMPONENT_WIFI; // 11 field in BatteryConsumer
119 sPowerComponentNames[POWER_COMPONENT_WIFI] = "wifi";
198 POWER_COMPONENT_WIFI,
DBatteryStats.java4426 CHECKIN_POWER_COMPONENT_LABELS[BatteryConsumer.POWER_COMPONENT_WIFI] = "wifi";
8782 case BatteryConsumer.POWER_COMPONENT_WIFI: in dumpProtoSystemLocked()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerData.java311 case BatteryConsumer.POWER_COMPONENT_WIFI: in getPowerComponentName()
/frameworks/proto_logging/stats/enums/os/
Denums.proto76 POWER_COMPONENT_WIFI = 11; enumerator
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java500 config.trackPowerComponent(BatteryConsumer.POWER_COMPONENT_WIFI) in createAggregatedPowerStatsConfig()
612 mStats.setPowerStatsCollectorEnabled(BatteryConsumer.POWER_COMPONENT_WIFI, in systemServicesReady()
615 BatteryConsumer.POWER_COMPONENT_WIFI, in systemServicesReady()