Home
last modified time | relevance | path

Searched refs:POWER_BUCKET_SCREEN_OTHER (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/power/
DEnergyConsumerStatsTest.java26 import static com.android.internal.power.EnergyConsumerStats.POWER_BUCKET_SCREEN_OTHER;
61 supportedStandardBuckets[POWER_BUCKET_SCREEN_OTHER] = true; in testConstruction()
97 supportedStandardBuckets[POWER_BUCKET_SCREEN_OTHER] = true; in testReadWriteParcel()
108 stats.updateStandardBucket(POWER_BUCKET_SCREEN_OTHER, 40, 5000); in testReadWriteParcel()
141 supportedStandardBuckets[POWER_BUCKET_SCREEN_OTHER] = true; in testCreateAndReadConfigFromParcel()
158 if (bucket == POWER_BUCKET_SCREEN_ON || bucket == POWER_BUCKET_SCREEN_OTHER) { in testCreateAndReadConfigFromParcel()
192 supportedStandardBuckets[POWER_BUCKET_SCREEN_OTHER] = true; in testCreateAndReadSummaryFromParcel()
201 stats.updateStandardBucket(POWER_BUCKET_SCREEN_OTHER, 40); in testCreateAndReadSummaryFromParcel()
234 supportedStandardBuckets[POWER_BUCKET_SCREEN_OTHER] = true; in testCreateAndReadSummaryFromParcel_configChange()
242 stats.updateStandardBucket(POWER_BUCKET_SCREEN_OTHER, 40); in testCreateAndReadSummaryFromParcel_configChange()
[all …]
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java56 public static final int POWER_BUCKET_SCREEN_OTHER = 2; field in EnergyConsumerStats
70 POWER_BUCKET_SCREEN_OTHER,
529 return POWER_BUCKET_SCREEN_OTHER; in getDisplayPowerBucket()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java934 buckets[EnergyConsumerStats.POWER_BUCKET_SCREEN_OTHER] = true;