return -1;
}
+ _print_hwc_log("%s(%d): __sequencer_init done", __FUNCTION__, __LINE__);
+
ret = _signal_init();
if (ret < 0) {
_E("Failed to initialize signal");
return -1;
}
+ _print_hwc_log("%s(%d): _signal_init done", __FUNCTION__, __LINE__);
_signal_set_sigchld_cb(__handle_sigchild, NULL);
_E("__init_launchpad_fd() failed");
return -1;
}
+ _print_hwc_log("%s(%d): __init_launchpad_fd done",
+ __FUNCTION__, __LINE__);
ret = __init_logger_fd();
if (ret != 0) {
_E("__init_logger_fd() failed");
return -1;
}
+ _print_hwc_log("%s(%d): __init_logger_fd done",
+ __FUNCTION__, __LINE__);
ret = __init_label_monitor_fd();
if (ret != 0)
_W("Failed to initialize label monitor");
+ _print_hwc_log("%s(%d): __init_label_monitor_fd done",
+ __FUNCTION__, __LINE__);
ret = _config_init();
if (ret != 0)
_W("Failed to initialize config");
+ _print_hwc_log("%s(%d): _config_init done", __FUNCTION__, __LINE__);
ret = _dbus_init();
if (ret != 0)
_W("Failed to initialize dbus");
+ _print_hwc_log("%s(%d): _dbus_init done", __FUNCTION__, __LINE__);
_inotify_init();
+ _print_hwc_log("%s(%d): _inotify_init done", __FUNCTION__, __LINE__);
+
_memory_monitor_init();
+ _print_hwc_log("%s(%d): _memory_monitor_init done", __FUNCTION__, __LINE__);
+
_memory_monitor_set_event_cb(__memory_monitor_cb, NULL);
__register_vconf_events();
+ _print_hwc_log("%s(%d): __register_vconf_events done", __FUNCTION__, __LINE__);
MAX_CPU_CHECK_COUNT = _config_get_int_value(
CONFIG_TYPE_CPU_CHECKER_MAX_COUNT);
__add_default_slots();
+ _print_hwc_log("%s(%d): __add_default_slots done", __FUNCTION__, __LINE__);
+
launcher_info_list = _launcher_info_load(LAUNCHER_INFO_PATH);
+ _print_hwc_log("%s(%d): _launcher_info_load done", __FUNCTION__, __LINE__);
__add_app_defined_loaders();
+ _print_hwc_log("%s(%d): __add_app_defined_loaders done", __FUNCTION__, __LINE__);
ret = _send_cmd_to_amd(LAUNCHPAD_LAUNCH_SIGNAL);
if (ret < 0)
}
ret = _worker_create("cleaner+", &__cleaner);
+ _print_hwc_log("%s(%d): _worker_create done", __FUNCTION__, __LINE__);
+
if (ret < 0)
return ret;
__init_app_defined_loader_monitor();
+ _print_hwc_log("%s(%d): __init_app_defined_loader_monitor done", __FUNCTION__, __LINE__);
+
_log_init();
+ _print_hwc_log("%s(%d): _log_init done", __FUNCTION__, __LINE__);
+
_print_hwc_log("%s(%d): END", __FUNCTION__, __LINE__);
return 0;