plugin-api: deviced: Add attribute for setting display state with option 79/311979/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 30 May 2024 12:45:22 +0000 (21:45 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 31 May 2024 07:26:30 +0000 (16:26 +0900)
commit2b5ab203c20398adcd506fb4ae5aa373f51246b4
tree8b8ab79eb414a6b9cd9867fab64de7c64f84cee3
parentaa31068e772a8998d4f8489b9539342ba8780ff3
plugin-api: deviced: Add attribute for setting display state with option

New attribute:
 - id: DEVICED_DISPLAY_ATTR_TUPLE2_CURRENT_STATE_WITH_OPTION
 - type: SYSCOMMON_RESMAN_DATA_TYPE_2_UINT64
 - setter: O
 - getter: X
 - 1st param: enum deviced_event
 - 2nd param: enum syscommon_deviced_display_state

New attribute:
 - id: DEVICED_DISPLAY_ATTR_TUPLE4_LOCK_WITH_OPTION
 - type: SYSCOMMON_RESMAN_DATA_TYPE_4_UINT64
 - setter: O
 - getter: X
 - 1st param: enum deviced_event
 - 2nd param: enum syscommon_deviced_display_state
 - 3rd param: display state flag (Macro starts with DEVICED_DISPLAY_STATE_*)
 - 4th param: timeout

New attribute:
 - id: DEVICED_DISPLAY_ATTR_TUPLE3_UNLOCK_WITH_OPTION
 - type: SYSCOMMON_RESMAN_DATA_TYPE_3_UINT64
 - setter: O
 - getter: X
 - 1st param: enum deviced_event
 - 2nd param: enum syscommon_deviced_display_state
 - 3rd param: display lock flag (Macro starts with DEVICED_LOCK_*)

When the display state or display lock changing, some options are needed.
- time for locking or display state changing, triggered pid, lcd state, etc.
To support setting with options, new attributes are added.

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