summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
48ad44c)
ipsp-agent - Line Cov: 100%, Func Cov: 100%)
Change-Id: I8fde27e2daa9a168444c6af82456ed7a691d4df9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
void _bt_ipsp_terminate(void)
{
_bt_ipsp_gdbus_deinit_proxys();
void _bt_ipsp_terminate(void)
{
_bt_ipsp_gdbus_deinit_proxys();
static GDBusConnection *__bt_ipsp_get_gdbus_connection(void)
{
static GDBusConnection *__bt_ipsp_get_gdbus_connection(void)
{
service_gconn = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &err);
if (!service_gconn) {
service_gconn = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &err);
if (!service_gconn) {
if (err) {
BT_ERR("Unable to connect to dbus: %s", err->message);
g_clear_error(&err);
}
return NULL;
if (err) {
BT_ERR("Unable to connect to dbus: %s", err->message);
g_clear_error(&err);
}
return NULL;
static void __bt_ipsp_sigterm_handler(int signo)
{
BT_DBG("Got the signal: %d", signo);
static void __bt_ipsp_sigterm_handler(int signo)
{
BT_DBG("Got the signal: %d", signo);
// __handle_name_owner_changed(name);
}
}
// __handle_name_owner_changed(name);
}
}
static GDBusNodeInfo *__bt_ipsp_create_node_info(
const gchar *introspection_data)
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) {
node_info = g_dbus_node_info_new_for_xml(introspection_data, &err);
if (err) {
BT_ERR("Unable to create node: %s", err->message);
g_clear_error(&err);
BT_ERR("Unable to create node: %s", err->message);
g_clear_error(&err);
&method_table,
NULL, NULL, &error);
if (obj_id == 0) {
&method_table,
NULL, NULL, &error);
if (obj_id == 0) {
BT_ERR("Failed to register: %s", error->message);
g_error_free(error);
g_free(path);
BT_ERR("Failed to register: %s", error->message);
g_error_free(error);
g_free(path);
int main(void)
{
gboolean ret;
int main(void)
{
gboolean ret;