display: Move default_brightness getter and setter from plugin to core display module 19/288719/12
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 22 Feb 2023 05:20:53 +0000 (14:20 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 07:00:50 +0000 (16:00 +0900)
commit3d4ba919a2ca61f36a35af168abfcc28d830d13c
tree1404448101bfd51d3689520186eca283c38833fc
parente3265620ec8eae1044bd857cd41c49060db97f19
display: Move default_brightness getter and setter from plugin to core display module

Remove and redefine default brightness getter/setter.
These functions are added below display-backlight.

int display_backlight_set_default_brightness(int brightness)
int display_backlight_get_default_brightness(int *brightness)
-> With these functions, it is possible to get and set default brightness value.

Change-Id: Iaa851094abf051f2fe15c64ff8e94376cc2b6382
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
14 files changed:
plugins/iot-headed/display/core.c
plugins/iot-headed/display/device-interface.c
plugins/mobile/display/core.c
plugins/mobile/display/device-interface.c
plugins/tv/display/core.c
plugins/tv/display/device-interface.c
plugins/wearable/display/auto-brightness-sensorhub.c
plugins/wearable/display/core.c
plugins/wearable/display/device-interface.c
src/display/auto-brightness.c
src/display/device-interface.h
src/display/display-backlight.c
src/display/display-backlight.h
src/display/display-dbus.c