Change BrightnessMappingStrategy to use DDC values
Use brightness min and max values from display device config.
Use brightness nits and backlight ranges from display device config
Convert the nits to backlight splines to only use the valid range considering the min and max values given in the ddc.
Backlight refers to the values handled by the HAL.
Brightness refers to the values used and stored in the system.
Bug: 151620088
Bug: 174757872
Bug: 171380847
Test: LocalDisplayAdapterTest, AutomaticBrightessControllerTest, BrightnessMappingStrategyTest
Change-Id: I6907f11cdf4e62ec9e6ed4304d11fe7686f5c8b6
8 files changed