Add new attributes and notifier for display setup when the dpms is initialized 92/316792/3
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 28 Aug 2024 07:15:28 +0000 (16:15 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Wed, 28 Aug 2024 10:48:45 +0000 (19:48 +0900)
commit40ebf3e5132bd6dbc3d70b874e4d56dd8c0fda16
tree2b65bb031e1bbcf9fa4c7005b6344a37a4f514d5
parentd80949d66d00e2da5009932cb18288df046462b1
Add new attributes and notifier for display setup when the dpms is initialized

When the dpms initialization is done, display state is set to DISPLAY_STATE_ON.
And then, normal state timeout counting starts.
After normal state timeout, display state can be changed to other state.
To support above description, below attributes and event is added.

New attribute:
 - id: DEVICED_DISPLAY_ATTR_INT_RESET_STATE_TIMEOUT
 - type: SYSCOMMON_RESMAN_DATA_TYPE_INT
 - setter: O
 - getter: X

New attribute:
 - id: DEVICED_DISPLAY_ATTR_INT_PM_CURRENT_STATE
 - type: SYSCOMMON_RESMAN_DATA_TYPE_INT
 - setter: O
 - getter: X

New attribute:
 - id: DEVICED_TOUCHLED_ATTR_INT_STATE_TIMEOUT
 - type: SYSCOMMON_RESMAN_DATA_TYPE_UINT64_WITH_1_USER_DATA
 - setter: X
 - getter: O

New notifier:
 - DEVICED_NOTIFIER_DISPLAY_DPMS_INIT
    - When the dpms init done, that can be notified with this.

Change-Id: I3db81cf3138e94021d8b0cfedb2703fffb256ec5
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/plugin-api/deviced/include/system/syscommon-plugin-deviced-common-interface.h
src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h