plugin-api: deviced: Add attributes for display 84/312884/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 13 Jun 2024 10:40:16 +0000 (19:40 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 17 Jun 2024 05:55:55 +0000 (14:55 +0900)
New attribute:
 - id: DEVICED_DISPLAY_ATTR_LOCKSCREEN_BG_STATE
 - type: SYSCOMMON_RESMAN_DATA_TYPE_INT
 - setter: X
 - getter: O

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

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

The corresponding attributes may be changed during the
display state refactoring process.
These are necessary for plugin backend separation.

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

index c3661969b0c2a8d927997d388e53b3d4fd43974f..c3c7183603322a6735a0d61300421eea7a305d77 100644 (file)
@@ -49,6 +49,9 @@ extern "C" {
 #define DEVICED_DISPLAY_ATTR_TUPLE3_UNLOCK_WITH_OPTION         (1ULL << 14)
 #define DEVICED_DISPLAY_ATTR_TUPLE4_LOCK_WITH_OPTION           (1ULL << 15)
 #define DEVICED_DISPLAY_ATTR_INT_LOCKSCREEN_STATE              (1ULL << 16)
+#define DEVICED_DISPLAY_ATTR_INT_LOCKSCREEN_BG_STATE           (1ULL << 17)
+#define DEVICED_DISPLAY_ATTR_INT_LCDOFF_REASON                 (1ULL << 18)
+#define DEVICED_DISPLAY_ATTR_INT_STATE_TRANSITION              (1ULL << 19)
 
 enum syscommon_deviced_display_state {
        SYSCOMMON_DEVICED_DISPLAY_STATE_START,