Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java574 for (int i = 0; i < BatteryStats.NUM_SCREEN_BRIGHTNESS_BINS; i++) { in addScreenUsage()
576 / BatteryStats.NUM_SCREEN_BRIGHTNESS_BINS; in addScreenUsage()
DBatteryStatsImpl.java368 final StopwatchTimer[] mScreenBrightnessTimer = new StopwatchTimer[NUM_SCREEN_BRIGHTNESS_BINS];
3501 int bin = brightness / (256/NUM_SCREEN_BRIGHTNESS_BINS); in noteScreenBrightnessLocked()
3503 else if (bin >= NUM_SCREEN_BRIGHTNESS_BINS) bin = NUM_SCREEN_BRIGHTNESS_BINS-1; in noteScreenBrightnessLocked()
7527 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in BatteryStatsImpl()
8186 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in resetAllStatsLocked()
10151 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in readSummaryFromParcel()
10499 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in writeSummaryToParcel()
10843 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in readFromParcelLocked()
11025 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in writeToParcelLocked()
11163 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in dumpLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java1686 public static final int NUM_SCREEN_BRIGHTNESS_BINS = 5; field in BatteryStats
2926 Object[] args = new Object[NUM_SCREEN_BRIGHTNESS_BINS]; in dumpCheckinLocked()
2927 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in dumpCheckinLocked()
3475 for (int i=0; i<NUM_SCREEN_BRIGHTNESS_BINS; i++) { in dumpLocked()