Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/power/
H A DEnergyConsumerStatsTest.java517 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_ON)); in testStandardBucketMapping()
518 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_VR)); in testStandardBucketMapping()
519 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_ON_SUSPEND)); in testStandardBucketMapping()
522 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_DOZE)); in testStandardBucketMapping()
523 assertEquals(exp, EnergyConsumerStats.getDisplayPowerBucket(Display.STATE_DOZE_SUSPEND)); in testStandardBucketMapping()
/aosp14/frameworks/base/core/java/com/android/internal/power/
H A DEnergyConsumerStats.java521 public static @StandardPowerBucket int getDisplayPowerBucket(int screenState) { in getDisplayPowerBucket() method in EnergyConsumerStats
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DBatteryStatsImpl.java13168 EnergyConsumerStats.getDisplayPowerBucket(oldScreenStates[i]); in updateDisplayEnergyConsumerStatsLocked()