BT_DBG("-");
}
+/* LCOV_EXCL_START */
void _bt_ipsp_terminate(void)
{
_bt_ipsp_gdbus_deinit_proxys();
exit(0);
}
}
+/* LCOV_EXCL_STOP */
static GDBusConnection *__bt_ipsp_get_gdbus_connection(void)
{
service_gconn = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &err);
if (!service_gconn) {
+ /* LCOV_EXCL_START */
if (err) {
BT_ERR("Unable to connect to dbus: %s", err->message);
g_clear_error(&err);
}
return NULL;
+ /* LCOV_EXCL_STOP */
}
return service_gconn;
}
}
+/* LCOV_EXCL_START */
static void __bt_ipsp_sigterm_handler(int signo)
{
BT_DBG("Got the signal: %d", signo);
// __handle_name_owner_changed(name);
}
}
+/* LCOV_EXCL_STOP */
static GDBusNodeInfo *__bt_ipsp_create_node_info(
const gchar *introspection_data)
node_info = g_dbus_node_info_new_for_xml(introspection_data, &err);
if (err) {
+ /* LCOV_EXCL_START */
BT_ERR("Unable to create node: %s", err->message);
g_clear_error(&err);
+ /* LCOV_EXCL_STOP */
}
return node_info;
}
&method_table,
NULL, NULL, &error);
if (obj_id == 0) {
+ /* LCOV_EXCL_START */
BT_ERR("Failed to register: %s", error->message);
g_error_free(error);
g_free(path);
+ /* LCOV_EXCL_STOP */
return FALSE;
}
return TRUE;
}
+/* LCOV_EXCL_START */
int main(void)
{
gboolean ret;
}
+/* LCOV_EXCL_STOP */