display: plugin: Add wrapper functions related to states 51/293351/10
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 23 May 2023 10:29:20 +0000 (19:29 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 30 May 2023 11:48:12 +0000 (20:48 +0900)
commitfd2e1a837a5fe78acd8de147b664d60b99b17937
tree606b8e8f478d2c259d111395776283700624ebc0
parente1a7b1c8ce3226eab1138441b248149c8eff7f11
display: plugin: Add wrapper functions related to states

struct state has functions, timeout value and name for each state.
Remove direct using of struct states and add wrappers.
This is to change the code used directly into a wrapper form to eliminate
dependence and protect struct states data.

Wrapper in this patch is temporary, so it will be changed later.

Change-Id: I1501dab0f3a61810d1ad7e2ebda1cfb54978944a
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/display/core.c
plugins/mobile/display/core.c
plugins/tv/display/core.c
plugins/wearable/display/core.c
plugins/wearable/display/powersaver.c
src/display/display-plugin.c
src/display/display-plugin.h
src/display/plugin-common/display-lock.c
src/display/plugin-common/poll.c