Home
last modified time | relevance | path

Searched refs:dbus_conn (Results 1 – 5 of 5) sorted by relevance

/external/libbrillo/brillo/glib/
Ddbus.cc295 DBusConnection* dbus_conn = dbus_g_connection_get_connection( in StartMonitoring() local
297 DCHECK(dbus_conn); in StartMonitoring()
301 dbus_bus_add_match(dbus_conn, GetDBusMatchString().c_str(), &error); in StartMonitoring()
307 if (!dbus_connection_add_filter(dbus_conn, in StartMonitoring()
319 DBusConnection* dbus_conn = dbus_g_connection_get_connection( in ~SignalWatcher() local
321 DCHECK(dbus_conn); in ~SignalWatcher()
323 dbus_connection_remove_filter(dbus_conn, in ~SignalWatcher()
329 dbus_bus_remove_match(dbus_conn, GetDBusMatchString().c_str(), &error); in ~SignalWatcher()
342 DBusHandlerResult SignalWatcher::FilterDBusMessage(DBusConnection* dbus_conn, in FilterDBusMessage() argument
Ddbus.h459 DBusConnection* dbus_conn,
/external/adhd/cras/src/server/
Dcras_server.c553 DBusConnection *dbus_conn; in cras_server_run() local
586 dbus_conn = cras_dbus_connect_system_bus(); in cras_server_run()
587 if (dbus_conn) { in cras_server_run()
588 cras_bt_start(dbus_conn); in cras_server_run()
590 cras_hfp_ag_profile_create(dbus_conn); in cras_server_run()
592 cras_hsp_ag_profile_create(dbus_conn); in cras_server_run()
593 cras_telephony_start(dbus_conn); in cras_server_run()
595 cras_a2dp_endpoint_create(dbus_conn); in cras_server_run()
596 cras_bt_player_create(dbus_conn); in cras_server_run()
597 cras_dbus_control_start(dbus_conn); in cras_server_run()
[all …]
Dcras_telephony.c344 telephony_handle.dbus_conn = conn; in cras_telephony_start()
345 dbus_connection_ref(telephony_handle.dbus_conn); in cras_telephony_start()
359 if (!telephony_handle.dbus_conn) in cras_telephony_stop()
362 dbus_connection_unregister_object_path(telephony_handle.dbus_conn, in cras_telephony_stop()
364 dbus_connection_unref(telephony_handle.dbus_conn); in cras_telephony_stop()
365 telephony_handle.dbus_conn = NULL; in cras_telephony_stop()
Dcras_telephony.h36 DBusConnection *dbus_conn; member