Home
last modified time | relevance | path

Searched refs:POWER_BUCKET_WIFI (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java27 import static com.android.internal.power.EnergyConsumerStats.POWER_BUCKET_WIFI;
65 new int[]{POWER_BUCKET_SCREEN_ON, POWER_BUCKET_WIFI}, in testConstruction()
145 new int[]{POWER_BUCKET_SCREEN_ON, POWER_BUCKET_WIFI}, in testCreateAndReadConfigFromParcel()
535 final int[] supportedMultiStateBuckets = {POWER_BUCKET_CPU, POWER_BUCKET_WIFI}; in testConfig_isCompatible()
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java58 public static final int POWER_BUCKET_WIFI = 4; field in EnergyConsumerStats
72 POWER_BUCKET_WIFI,
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java937 buckets[EnergyConsumerStats.POWER_BUCKET_WIFI] = true;
DBatteryStatsImpl.java359 EnergyConsumerStats.POWER_BUCKET_WIFI,
7891 return getPowerBucketConsumptionUC(EnergyConsumerStats.POWER_BUCKET_WIFI); in getWifiEnergyConsumptionUC()
8919 return getEnergyConsumptionUC(EnergyConsumerStats.POWER_BUCKET_WIFI); in getWifiEnergyConsumptionUC()
8925 return getEnergyConsumptionUC(EnergyConsumerStats.POWER_BUCKET_WIFI, in getWifiEnergyConsumptionUC()
12654 EnergyConsumerStats.POWER_BUCKET_WIFI, consumedChargeUC); in updateWifiState()
12664 distributeEnergyToUidsLocked(EnergyConsumerStats.POWER_BUCKET_WIFI, in updateWifiState()
15810 if (supportedStandardBuckets[EnergyConsumerStats.POWER_BUCKET_WIFI]) {