plugin-api: deviced: Add display state set attribute 54/297254/4 accepted/tizen/unified/20230818.183535 accepted/tizen/unified/riscv/20230817.113312
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 16 Aug 2023 02:18:29 +0000 (11:18 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 16 Aug 2023 02:19:09 +0000 (11:19 +0900)
commit1e7168ca61d776669b678d24e2db797d841f4799
tree3f364feddaa3ddfb8087f5cb9b4412e21dc31d2d
parent5b2a3e4aa2db1a7f7b47180575a8a495d213e135
plugin-api: deviced: Add display state set attribute

 - DEVICED_DISPLAY_ATTR_TUPLE2_SET_CURRENT_STATE
  : Attribute for setting display state. It requires two parameter,
    each type of enum deviced_display_state and enum deviced_event.
    The first one designates state to be changed and the latter one
    specifies reason why the state change has been triggered.

When it comes to the state setter, it is necessary to reset screen
timeout of the changed state. Therefore the below values have been
added.
 - DEVICED_EVENT_DISPLAY_SCREEN_TIMEOUT
  : Event for screen timeout expiration

 - DEVICED_DISPLAY_SCREEN_TIMEOUT_INFINITE
  : Magic number for setting infinite screen timeout

Change-Id: I616a5ecd009dfb8c5aa4710ed68f2b09f5fe2981
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/plugin-api/deviced/include/syscommon-plugin-deviced-common-interface.h
src/plugin-api/deviced/include/syscommon-plugin-deviced-display-interface.h