From 169077f342bf1a2a3dd23dc9a5ff811466e0321b Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Mon, 11 Sep 2023 14:27:30 +0900 Subject: [PATCH] plugin-api: deviced: Remove _GET_/_SET_ from attribute name Change-Id: I632a52421adc20411716dfd633e52f3d2e36fd8e Signed-off-by: Youngjae Cho --- .../syscommon-plugin-deviced-display-interface.h | 26 +++++++++++----------- .../syscommon-plugin-deviced-power-interface.h | 8 +++---- 2 files changed, 17 insertions(+), 17 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 3b7ee20..efd8fa1 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 @@ -32,19 +32,19 @@ extern "C" { #include #include -#define DEVICED_DISPLAY_ATTR_INT_GET_MAX_BRIGHTNESS (1ULL << 0) -#define DEVICED_DISPLAY_ATTR_INT_GET_CURRENT_STATE (1ULL << 1) -#define DEVICED_DISPLAY_ATTR_TUPLE2_SET_CURRENT_STATE (1ULL << 2) -#define DEVICED_DISPLAY_ATTR_INT_DPMS_STATE (1ULL << 3) -#define DEVICED_DISPLAY_ATTR_TUPLE2_SET_DISPLAY_DIRECT (1ULL << 4) -#define DEVICED_DISPLAY_ATTR_INT_CUSTOM_BRIGHTNESS (1ULL << 5) -#define DEVICED_DISPLAY_ATTR_UINT64_GET_ACTOR_CAPABILITY (1ULL << 6) -#define DEVICED_DISPLAY_ATTR_TUPLE3_SET_ACTOR_CAPABILITY (1ULL << 7) -#define DEVICED_DISPLAY_ATTR_INT_GET_TOUCH_EVENT_BLOCKED (1ULL << 8) -#define DEVICED_DISPLAY_ATTR_INT_SET_RELEASE_LOCK_ALL (1ULL << 9) -#define DEVICED_DISPLAY_ATTR_INT_GET_CONFIG_POWERKEY_DOUBLEPRESS (1ULL << 10) -#define DEVICED_DISPLAY_ATTR_DOUBLE_GET_CONFIG_LONGPRESS_INTERVAL (1ULL << 11) -#define DEVICED_DISPLAY_ATTR_INT_GET_CONFIG_TOUCH_WAKEUP (1ULL << 12) +#define DEVICED_DISPLAY_ATTR_INT_MAX_BRIGHTNESS (1ULL << 0) +#define DEVICED_DISPLAY_ATTR_INT_CURRENT_STATE (1ULL << 1) +#define DEVICED_DISPLAY_ATTR_TUPLE2_CURRENT_STATE (1ULL << 2) +#define DEVICED_DISPLAY_ATTR_INT_DPMS_STATE (1ULL << 3) +#define DEVICED_DISPLAY_ATTR_TUPLE2_DISPLAY_DIRECT (1ULL << 4) +#define DEVICED_DISPLAY_ATTR_INT_CUSTOM_BRIGHTNESS (1ULL << 5) +#define DEVICED_DISPLAY_ATTR_UINT64_ACTOR_CAPABILITY (1ULL << 6) +#define DEVICED_DISPLAY_ATTR_TUPLE3_ACTOR_CAPABILITY (1ULL << 7) +#define DEVICED_DISPLAY_ATTR_INT_TOUCH_EVENT_BLOCKED (1ULL << 8) +#define DEVICED_DISPLAY_ATTR_INT_RELEASE_LOCK_ALL (1ULL << 9) +#define DEVICED_DISPLAY_ATTR_INT_CONFIG_POWERKEY_DOUBLEPRESS (1ULL << 10) +#define DEVICED_DISPLAY_ATTR_DOUBLE_CONFIG_LONGPRESS_INTERVAL (1ULL << 11) +#define DEVICED_DISPLAY_ATTR_INT_CONFIG_TOUCH_WAKEUP (1ULL << 12) enum syscommon_deviced_display_state { SYSCOMMON_DEVICED_DISPLAY_STATE_START, 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 b7eb153..9fc6ade 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 @@ -31,12 +31,12 @@ extern "C" { #endif -#define DEVICED_POWER_ATTR_SET_UINT64_4_CURRENT_STATE (1ULL << 0) +#define DEVICED_POWER_ATTR_UINT64_4_CURRENT_STATE (1ULL << 0) #define DEVICED_POWER_ATTR_UINT64_CURRENT_STATE (1ULL << 1) #define DEVICED_POWER_ATTR_INT_WAKEUP_REASON (1ULL << 2) -#define DEVICED_POWER_ATTR_TUPLE2_SET_WAKELOCK (1ULL << 3) -#define DEVICED_POWER_ATTR_INT_GET_VITAL_MODE (1ULL << 4) -#define DEVICED_POWER_ATTR_TUPLE2_SET_HISTORY_LOG (1ULL << 5) +#define DEVICED_POWER_ATTR_TUPLE2_WAKELOCK (1ULL << 3) +#define DEVICED_POWER_ATTR_INT_VITAL_MODE (1ULL << 4) +#define DEVICED_POWER_ATTR_TUPLE2_HISTORY_LOG (1ULL << 5) enum { DEVICED_POWER_STATE_MIN_INDEX, -- 2.7.4