Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java24 import static com.android.internal.power.EnergyConsumerStats.POWER_BUCKET_SCREEN_DOZE;
60 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testConstruction()
96 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testReadWriteParcel()
140 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testCreateAndReadConfigFromParcel()
191 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testCreateAndReadSummaryFromParcel()
233 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testCreateAndReadSummaryFromParcel_configChange()
251 newSupportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = true; // switched false > true in testCreateAndReadSummaryFromParcel_configChange()
289 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testCreateAndReadSummaryFromParcel_nullConfig()
318 supportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = false; in testCreateAndReadSummaryFromParcel_boring()
334 newSupportedStandardBuckets[POWER_BUCKET_SCREEN_DOZE] = true; // switched false > true in testCreateAndReadSummaryFromParcel_boring()
[all …]
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java55 public static final int POWER_BUCKET_SCREEN_DOZE = 1; field in EnergyConsumerStats
69 POWER_BUCKET_SCREEN_DOZE,
527 return POWER_BUCKET_SCREEN_DOZE; in getDisplayPowerBucket()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java933 buckets[EnergyConsumerStats.POWER_BUCKET_SCREEN_DOZE] = true;
DBatteryStatsImpl.java7885 return getPowerBucketConsumptionUC(EnergyConsumerStats.POWER_BUCKET_SCREEN_DOZE); in getScreenDozeEnergyConsumptionUC()