Home
last modified time | relevance | path

Searched refs:numDisplay (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsNoteTest.java826 final int numDisplay = 2; in testScreenBrightnessLocked_multiDisplay() local
827 bi.setDisplayCountLocked(numDisplay); in testScreenBrightnessLocked_multiDisplay()
831 final long[][] perDisplayExpected = new long[numDisplay][NUM_SCREEN_BRIGHTNESS_BINS]; in testScreenBrightnessLocked_multiDisplay()
835 public int[] perDisplayActiveBin = new int[numDisplay]; in testScreenBrightnessLocked_multiDisplay()
845 for (int i = 0; i < numDisplay; i++) { in testScreenBrightnessLocked_multiDisplay()
2375 final int numDisplay = bi.getDisplayCount(); in checkScreenBrightnesses() local
2377 for (int display = 0; display < numDisplay; display++) { in checkScreenBrightnesses()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java5539 final int numDisplay = mPerDisplayBatteryStats.length; in noteScreenStateLocked() local
5540 if (display < 0 || display >= numDisplay) { in noteScreenStateLocked()
5632 for (int i = 0; i < numDisplay; i++) { in noteScreenStateLocked()