Searched refs:brightnessToSet (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 454 int brightnessToSet = adjustBrightness(brightness, /* minBrightness= */ 0, in sendDisplayBrightness() local 469 mHal.set(VehicleProperty.DISPLAY_BRIGHTNESS, 0).to(brightnessToSet); in sendDisplayBrightness() 470 Slogf.i(CarLog.TAG_POWER, "send display brightness = " + brightnessToSet); in sendDisplayBrightness() 482 int brightnessToSet = adjustBrightness(brightness, /* minBrightness= */ 0, in sendDisplayBrightness() local 498 new int[]{displayPort, brightnessToSet}); in sendDisplayBrightness() 501 brightnessToSet, displayPort); in sendDisplayBrightness()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PowerHalServiceUnitTest.java | 446 int brightnessToSet = 77; in testSendDisplayBrightness() local 447 mPowerHalService.sendDisplayBrightness(brightnessToSet); in testSendDisplayBrightness() 449 verify(propValueSetter).to(brightnessToSet); in testSendDisplayBrightness() 485 int brightnessToSet = 41; in testSendDisplayBrightnessPerDisplay() local 488 /* areaId= */ 0, new int[]{displayPort, brightnessToSet}); in testSendDisplayBrightnessPerDisplay() 497 mPowerHalService.sendDisplayBrightness(displayId, brightnessToSet); in testSendDisplayBrightnessPerDisplay()
|