Searched refs:HandleAction (Results 1 – 5 of 5) sorted by relevance
6 typedef enum HandleAction { enum20 } HandleAction; typedef28 static inline bool handle_action_valid(HandleAction a) { in handle_action_valid()33 HandleAction handle;48 HandleAction handle,52 const char* handle_action_to_string(HandleAction h) _const_;53 HandleAction handle_action_from_string(const char *s) _pure_;55 const HandleActionData* handle_action_lookup(HandleAction handle);
96 HandleAction idle_action;98 HandleAction handle_power_key;99 HandleAction handle_power_key_long_press;100 HandleAction handle_reboot_key;101 HandleAction handle_reboot_key_long_press;102 HandleAction handle_suspend_key;103 HandleAction handle_suspend_key_long_press;104 HandleAction handle_hibernate_key;105 HandleAction handle_hibernate_key_long_press;107 HandleAction handle_lid_switch;[all …]
116 const HandleActionData* handle_action_lookup(HandleAction action) { in handle_action_lookup()127 HandleAction handle, in manager_handle_action()268 DEFINE_STRING_TABLE_LOOKUP(handle_action, HandleAction);269 DEFINE_CONFIG_PARSE_ENUM(config_parse_handle_action, handle_action, HandleAction, "Failed to parse …
79 HandleAction handle_action; in button_lid_switch_handle_action()
377 static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_handle_action, handle_action, HandleAction);2065 HandleAction handle = handle_action_from_string(mode); in manager_load_scheduled_shutdown()2234 HandleAction handle; in method_schedule_shutdown()2406 … HandleAction handle = handle_action_from_string(sleep_operation_to_string(a->sleep_operation)); in method_can_shutdown_or_sleep()