display: Move custom_brightness setter and update function from plugin to core displa... 91/288791/11
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 23 Feb 2023 06:47:25 +0000 (15:47 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 08:01:36 +0000 (17:01 +0900)
commit8322b676d77cc254e1f6255989c9e5f4e187834c
treea0965b05254384a6ddd73d489c4a938c869aa2f8
parent3a9a4af496e0256bdcc3494c63a7560f1cdfcd83
display: Move custom_brightness setter and update function from plugin to core display module

Remove and redefine custom_brightness setter and update function.
These functions are added to below display-backlight.

void display_backlight_set_custom_brightness(int brightness)
-> This function set custom_brightness value.
int display_backlight_update_by_custom_brightness(void)
-> If the conditions are met, this function updates brightness with custom_brightness value.

Change-Id: I4c3662fbdfff4a4b17224ac3af74c4cac1503303
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
15 files changed:
plugins/iot-headed/display/core.c
plugins/iot-headed/display/device-interface.c
plugins/iot-headed/display/key-filter.c
plugins/mobile/display/core.c
plugins/mobile/display/device-interface.c
plugins/mobile/display/key-filter.c
plugins/tv/display/core.c
plugins/tv/display/device-interface.c
plugins/tv/display/key-filter.c
plugins/wearable/display/core.c
plugins/wearable/display/device-interface.c
plugins/wearable/display/key-filter.c
src/display/device-interface.h
src/display/display-backlight.c
src/display/display-backlight.h