diff options
-rw-r--r-- | src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h | 24 | ||||
-rw-r--r-- | src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h | 6 |
2 files changed, 30 insertions, 0 deletions
diff --git a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h index 977486c..df95e0a 100644 --- a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h +++ b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h @@ -57,6 +57,12 @@ extern "C" { /* FIXME: PM_CURRENT_STATE attribute can be deleted after refactoring */ #define DEVICED_DISPLAY_ATTR_INT_PM_CURRENT_STATE (1ULL << 21) #define DEVICED_DISPLAY_ATTR_INT_STATE_TIMEOUT (1ULL << 22) +#define DEVICED_DISPLAY_ATTR_TUPLE2_BROADCAST_LCD_ON (1ULL << 23) +#define DEVICED_DISPLAY_ATTR_BOOL_BROADCASTED_FLAG (1ULL << 24) +#define DEVICED_DISPLAY_ATTR_INT_UPDATE_BRIGHTNESS (1ULL << 25) +/* FIXME: PM_STATE attribute can be deleted after refactoring */ +#define DEVICED_DISPLAY_ATTR_INT_PM_STATE (1ULL << 26) +#define DEVICED_DISPLAY_ATTR_TUPLE2_START_DEPENDENT_DEVICE (1ULL << 27) enum syscommon_deviced_display_state { SYSCOMMON_DEVICED_DISPLAY_STATE_START, @@ -140,6 +146,24 @@ enum syscommon_deviced_display_capability { SYSCOMMON_DEVICED_DISPLAY_CAPA_POWEROFF = 1 << 3, }; +enum syscommon_deviced_display_signal_type { + SYSCOMMON_DEVICED_DISPLAY_SIGNAL_INVALID = 0, + SYSCOMMON_DEVICED_DISPLAY_SIGNAL_PRE, + SYSCOMMON_DEVICED_DISPLAY_SIGNAL_POST, + SYSCOMMON_DEVICED_DISPLAY_SIGNAL_MAX, +}; + +enum syscommon_deviced_display_brightness_type { + SYSCOMMON_DEVICED_DISPLAY_BRIGHTNESS_DEFAULT = 0, + SYSCOMMON_DEVICED_DISPLAY_BRIGHTNESS_DIM, +}; + +enum syscommon_deviced_display_dependent_device_type { + SYSCOMMON_DEVICED_DISPLAY_DEVICE_TYPE_DISPLAY = 0, + SYSCOMMON_DEVICED_DISPLAY_DEVICE_TYPE_TOUCHSCREEN, + SYSCOMMON_DEVICED_DISPLAY_DEVICE_TYPE_TOUCHKEY, +}; + #define DEVICED_DISPLAY_SCREEN_TIMEOUT_INFINITE ((~0) >> 1) #define DEVICED_DISPLAY_LOCK_SLEEP_MARGIN 0x0 /**< Keep guard time for unlock */ #define DEVICED_DISPLAY_LOCK_RESET_TIMER 0x1 /**< Reset timer for unlock */ diff --git a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h index 0f8356e..cb236e0 100644 --- a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h +++ b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-power-interface.h @@ -39,6 +39,7 @@ extern "C" { #define DEVICED_POWER_ATTR_TUPLE2_HISTORY_LOG (1ULL << 5) #define DEVICED_POWER_ATTR_INT_ADD_DOZE_SOURCE (1ULL << 6) #define DEVICED_POWER_ATTR_INT_REMOVE_DOZE_SOURCE (1ULL << 7) +#define DEVICED_POWER_ATTR_INT_DOZE_MODE (1ULL << 8) enum { DEVICED_POWER_STATE_MIN_INDEX, @@ -134,6 +135,11 @@ enum syscommon_deviced_power_log_type { SYSCOMMON_DEVICED_POWER_LOG_TYPE_MAX }; +enum syscommon_deviced_power_doze_mode { + SYSCOMMON_DEVICED_POWER_DISABLE_DOZE_MODE = 0, + SYSCOMMON_DEVICED_POWER_ENABLE_DOZE_MODE, +}; + #ifdef __cplusplus } #endif |