void init_input_config(void)
{
- libsys_config_parse_by_section(INPUT_CONF_PATH, parse_event_action, NULL);
+ syscommon_config_parse_by_section(INPUT_CONF_PATH, parse_event_action, NULL);
}
info->event_handlers = NULL;
info->event_handler_number = 0;
- libsys_config_parse_by_section(BAT_CONF_FILE, parse_event_action, info);
+ syscommon_config_parse_by_section(BAT_CONF_FILE, parse_event_action, info);
}
void battery_parser_load_config(struct battery_config_info *info)
if (access(INPUT_CONF_PATH, F_OK) == -1)
return 0;
- ret = libsys_config_parse_by_section(INPUT_CONF_PATH, parse_input_device_section, NULL);
+ ret = syscommon_config_parse_by_section(INPUT_CONF_PATH, parse_input_device_section, NULL);
if (g_hash_table_to_check_default_duplicated) {
g_hash_table_destroy(g_steal_pointer(&g_hash_table_to_check_default_duplicated));
return ret;
return 0;
-}
\ No newline at end of file
+}
_I("Failed to get BootMode, %d", retval);
CRITICAL_LOG("BootReason=%s, BootMode=%s", bc.reason, bc.mode);
- libsys_config_parse_by_section(INIT_CONF_PATH, parse_matching_boot_condition, NULL);
+ syscommon_config_parse_by_section(INIT_CONF_PATH, parse_matching_boot_condition, NULL);
power_request_change_state_strict(init_ti.curr, init_ti.next, init_ti.reason, NULL);
}
int ret;
int retval;
- libsys_config_parse_by_section(PATH_USB_GADGET_CONF, load_usb_gadget_config, NULL);
+ syscommon_config_parse_by_section(PATH_USB_GADGET_CONF, load_usb_gadget_config, NULL);
if (is_emulator()) {
__usb_gadget_open = dummy_usb_gadget_open;