void display_panel_lcd_on_direct(enum device_flags flags)
{
- enum hal_device_power_transition_reason reason;
+ hal_device_power_transition_reason_e reason;
if (flags & LCD_ON_BY_POWER_KEY)
reason = HAL_DEVICE_POWER_TRANSITION_REASON_POWER_KEY;
const gchar *sender, const gchar *path, const gchar *iface, const gchar *name,
GVariant *param, GDBusMethodInvocation *invocation, gpointer user_data)
{
- enum hal_device_power_transition_reason wakeup_reason;
+ hal_device_power_transition_reason_e wakeup_reason;
int retval;
retval = hal_device_power_get_wakeup_reason(&wakeup_reason);
static int vital_service;
static bool vital_sleep;
static int vital_support = -2;
-static enum hal_device_power_transition_reason wakeup_reason = HAL_DEVICE_POWER_TRANSITION_REASON_UNKNOWN;
+static hal_device_power_transition_reason_e wakeup_reason = HAL_DEVICE_POWER_TRANSITION_REASON_UNKNOWN;
#ifdef ENABLE_PM_LOG
return sys_set_str(POWER_UNLOCK_PATH, "mainlock");
}
-enum hal_device_power_transition_reason power_get_wakeup_reason(void)
+hal_device_power_transition_reason_e power_get_wakeup_reason(void)
{
return wakeup_reason;
}
int power_release_wakelock(void);
int pm_get_power_lock(void);
int pm_get_power_lock_support(void);
-enum hal_device_power_transition_reason power_get_wakeup_reason(void);
+hal_device_power_transition_reason_e power_get_wakeup_reason(void);
int check_wakeup_src(void);
int get_wakeup_count(int *cnt);
int set_wakeup_count(int cnt);