Add new attributes and enum definition to support lcd on procedure logic 55/317255/1
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 3 Sep 2024 01:58:38 +0000 (10:58 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Fri, 6 Sep 2024 07:26:40 +0000 (16:26 +0900)
commit7cddbe5f5c9e6ea0658379f86e4e29b5bb78d3ad
tree3ecbc5a59efbdf8333d7d4aacef7da44f3c9091d
parentd2adf5c5be8538e2baf848b923ddedc20a3dd2d3
Add new attributes and enum definition to support lcd on procedure logic

lcd on procedure needs below logics.
 - power doze mode setting
 - broadcast lcd on process
 - setting brightness
 - setting pmstate vconf
 - start display devices

To support lcd on procedure, below resource attributes are added

New attribute:
 - id: DEVICED_DISPLAY_ATTR_TUPLE2_BROADCAST_LCD_ON
 - type: SYSCOMMON_RESMAN_DATA_TYPE_2_UINT64
 - setter: O
 - getter: X

New attribute:
 - id: DEVICED_DISPLAY_ATTR_BOOL_BROADCASTED_FLAG
 - type: SYSCOMMON_RESMAN_DATA_TYPE_BOOLEAN
 - setter: O
 - getter: O

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

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

New attribute:
 - id: DEVICED_DISPLAY_ATTR_TUPLE2_START_DEPENDENT_DEVICE
 - type: SYSCOMMON_RESMAN_DATA_TYPE_2_UINT64
 - setter: O
 - getter: X

New attribute:
 - id: DEVICED_POWER_ATTR_INT_DOZE_MODE
 - type: SYSCOMMON_RESMAN_ATTR_INT_DOZE_MODE
 - setter: O
 - getter: X

Below enumerations are added, also.
 - enum syscommon_deviced_display_signal_type;
 - enum syscommon_deviced_display_brightness_type;
 - enum syscommon_deviced_display_dependent_device_type;
 - enum syscommon_deviced_power_doze_mode;

To distinguish value for new attributes uages,
above enumerations are added.

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