Home
last modified time | relevance | path

Searched refs:dbus_error (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/server/
Dcras_bt_transport.c406 DBusError dbus_error; in cras_bt_transport_acquire() local
419 dbus_error_init(&dbus_error); in cras_bt_transport_acquire()
425 &dbus_error); in cras_bt_transport_acquire()
428 transport->object_path, dbus_error.message); in cras_bt_transport_acquire()
429 dbus_error_free(&dbus_error); in cras_bt_transport_acquire()
443 if (!dbus_message_get_args(reply, &dbus_error, in cras_bt_transport_acquire()
449 dbus_error.message); in cras_bt_transport_acquire()
450 dbus_error_free(&dbus_error); in cras_bt_transport_acquire()
462 DBusError dbus_error; in cras_bt_transport_try_acquire() local
473 dbus_error_init(&dbus_error); in cras_bt_transport_try_acquire()
[all …]
Dcras_bt_manager.c305 DBusError dbus_error; in cras_bt_handle_name_owner_changed() local
312 dbus_error_init(&dbus_error); in cras_bt_handle_name_owner_changed()
313 if (!dbus_message_get_args(message, &dbus_error, in cras_bt_handle_name_owner_changed()
319 dbus_error.message); in cras_bt_handle_name_owner_changed()
320 dbus_error_free(&dbus_error); in cras_bt_handle_name_owner_changed()
457 DBusError dbus_error; in cras_bt_start() local
459 dbus_error_init(&dbus_error); in cras_bt_start()
468 &dbus_error); in cras_bt_start()
469 if (dbus_error_is_set(&dbus_error)) in cras_bt_start()
477 &dbus_error); in cras_bt_start()
[all …]
Dcras_dbus_control.c130 DBusError dbus_error; in get_single_arg() local
132 dbus_error_init(&dbus_error); in get_single_arg()
134 if (!dbus_message_get_args(message, &dbus_error, in get_single_arg()
139 dbus_error.message); in get_single_arg()
140 dbus_error_free(&dbus_error); in get_single_arg()
209 DBusError dbus_error; in handle_set_output_node_volume() local
211 dbus_error_init(&dbus_error); in handle_set_output_node_volume()
213 if (!dbus_message_get_args(message, &dbus_error, in handle_set_output_node_volume()
219 dbus_error.message); in handle_set_output_node_volume()
220 dbus_error_free(&dbus_error); in handle_set_output_node_volume()
[all …]
Dcras_dbus.c140 DBusError dbus_error; in cras_dbus_connect_system_bus() local
144 dbus_error_init(&dbus_error); in cras_dbus_connect_system_bus()
146 conn = dbus_bus_get(DBUS_BUS_SYSTEM, &dbus_error); in cras_dbus_connect_system_bus()
149 dbus_error.message); in cras_dbus_connect_system_bus()
150 dbus_error_free(&dbus_error); in cras_dbus_connect_system_bus()
155 rc = dbus_bus_request_name(conn, "org.chromium.cras", 0, &dbus_error); in cras_dbus_connect_system_bus()
156 if (dbus_error_is_set(&dbus_error)) { in cras_dbus_connect_system_bus()
157 syslog(LOG_ERR, "Requesting dbus name %s", dbus_error.message); in cras_dbus_connect_system_bus()
158 dbus_error_free(&dbus_error); in cras_dbus_connect_system_bus()
Dcras_bt_endpoint.c128 DBusError dbus_error; in cras_bt_endpoint_select_configuration() local
144 dbus_error_init(&dbus_error); in cras_bt_endpoint_select_configuration()
146 if (!dbus_message_get_args(message, &dbus_error, in cras_bt_endpoint_select_configuration()
151 dbus_error.message); in cras_bt_endpoint_select_configuration()
152 dbus_error_free(&dbus_error); in cras_bt_endpoint_select_configuration()
191 DBusError dbus_error; in cras_bt_endpoint_clear_configuration() local
205 dbus_error_init(&dbus_error); in cras_bt_endpoint_clear_configuration()
207 if (!dbus_message_get_args(message, &dbus_error, in cras_bt_endpoint_clear_configuration()
211 dbus_error.message); in cras_bt_endpoint_clear_configuration()
212 dbus_error_free(&dbus_error); in cras_bt_endpoint_clear_configuration()
[all …]
Dcras_telephony.c58 DBusError dbus_error; in get_single_arg() local
60 dbus_error_init(&dbus_error); in get_single_arg()
62 if (!dbus_message_get_args(message, &dbus_error, in get_single_arg()
67 dbus_error.message); in get_single_arg()
68 dbus_error_free(&dbus_error); in get_single_arg()
306 DBusError dbus_error; in cras_telephony_start() local
314 &dbus_error)) { in cras_telephony_start()
317 CRAS_TELEPHONY_OBJECT_PATH, dbus_error.message); in cras_telephony_start()
318 dbus_error_free(&dbus_error); in cras_telephony_start()
Dcras_bt_player.c152 DBusError dbus_error; in cras_bt_player_create() local
156 dbus_error_init(&dbus_error); in cras_bt_player_create()
161 &dbus_error)) { in cras_bt_player_create()
164 dbus_error_free(&dbus_error); in cras_bt_player_create()
Dcras_bt_profile.c403 DBusError dbus_error; in cras_bt_add_profile() local
405 dbus_error_init(&dbus_error); in cras_bt_add_profile()
410 &dbus_error)) { in cras_bt_add_profile()
412 profile->object_path, dbus_error.message); in cras_bt_add_profile()
413 dbus_error_free(&dbus_error); in cras_bt_add_profile()
Dcras_bt_device.c196 DBusError dbus_error; in cras_bt_device_connect_profile() local
213 dbus_error_init(&dbus_error); in cras_bt_device_connect_profile()
240 DBusError dbus_error; in cras_bt_device_disconnect() local
251 dbus_error_init(&dbus_error); in cras_bt_device_disconnect()
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker.h106 dbus::ScopedDBusError dbus_error; in CallMethodAndBlockWithTimeout() local
108 &method_call, timeout_ms, &dbus_error); in CallMethodAndBlockWithTimeout()
110 if (dbus_error.is_set()) { in CallMethodAndBlockWithTimeout()
114 dbus_error.name(), in CallMethodAndBlockWithTimeout()
115 dbus_error.message()); in CallMethodAndBlockWithTimeout()
Ddbus_method_invoker_unittest.cc96 dbus::ScopedDBusError* dbus_error) { in CreateResponse() argument
111 dbus_set_error(dbus_error->get(), "org.MyError", "My error message"); in CreateResponse()
/external/cros/system_api/dbus/login_manager/
Ddbus-constants.h79 namespace dbus_error {