display: Move functions related to display status(on/off/dim/standby) 22/288722/15
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 22 Feb 2023 05:52:18 +0000 (14:52 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 07:58:49 +0000 (16:58 +0900)
commitaab322435e84a497cc3849586d2913b9d6c6d587
tree692ba0571434674bfa45843561d11475389d1901
parent3d4ba919a2ca61f36a35af168abfcc28d830d13c
display: Move functions related to display status(on/off/dim/standby)
from plugin to core display module

Remove and redefine display status change functions.
These functions are added below display-panel/display-backlight.

int display_panel_set_panel_state_by_on_state(enum device_flags flags)
int display_panel_set_panel_state_by_off_state(enum device_flags flags)
int display_panel_set_panel_state_by_standby_state(bool standby_on)
int display_backlight_set_brightness_by_dim_brightness(void)
-> With these functions, it is possible to change display panel/backlight status.

Change-Id: I4313046c610410ccef82ac18fda1e334960330b1
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
16 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/ambient-mode.c
src/display/device-interface.h
src/display/display-backlight.c
src/display/display-backlight.h
src/display/display-dbus.c
src/display/display-panel.c
src/display/display-panel.h