Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java161 private final SparseIntArray mDisplayBrightnessSet = new SparseIntArray(); field in DisplayInterface.DefaultImpl
179 mDisplayBrightnessSet.put(displayId, INVALID_DISPLAY_BRIGHTNESS);
188 mDisplayBrightnessSet.delete(displayId);
209 mDisplayBrightnessSet.put(displayId, INVALID_DISPLAY_BRIGHTNESS); in DefaultImpl()
309 if (percentBright == mDisplayBrightnessSet.get(displayId)) { in setDisplayBrightness()
313 mDisplayBrightnessSet.put(displayId, percentBright); in setDisplayBrightness()
456 mDisplayBrightnessSet.put(DEFAULT_DISPLAY, INVALID_DISPLAY_BRIGHTNESS); in onUsersUpdate()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DMockedPowerHalService.java59 private final SparseIntArray mDisplayBrightnessSet = new SparseIntArray(); field in MockedPowerHalService
182 mDisplayBrightnessSet.put(displayId, brightness); in sendDisplayBrightness()
189 return mDisplayBrightnessSet.get(displayId, -1); in getDisplayBrightness()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java3106 private final SparseIntArray mDisplayBrightnessSet = new SparseIntArray(); field in CarPowerManagementServiceUnitTest.MockDisplayInterface
3125 if (percentBright == mDisplayBrightnessSet.get(displayId)) { in setDisplayBrightness()
3128 mDisplayBrightnessSet.put(displayId, percentBright); in setDisplayBrightness()
3135 return mDisplayBrightnessSet.get(displayId); in getDisplayBrightness()
3143 if (mDisplayBrightnessSet.get(displayId) == expectedBrightness) { in waitForDisplayBrightness()