Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_bt_transport.c431 DBusError dbus_error; in cras_bt_transport_acquire() local
443 dbus_error_init(&dbus_error); in cras_bt_transport_acquire()
447 &dbus_error); in cras_bt_transport_acquire()
450 transport->object_path, dbus_error.message); in cras_bt_transport_acquire()
451 dbus_error_free(&dbus_error); in cras_bt_transport_acquire()
468 reply, &dbus_error, DBUS_TYPE_UNIX_FD, &(transport->fd), in cras_bt_transport_acquire()
472 dbus_error.message); in cras_bt_transport_acquire()
473 dbus_error_free(&dbus_error); in cras_bt_transport_acquire()
495 DBusError dbus_error; in cras_bt_transport_try_acquire() local
504 dbus_error_init(&dbus_error); in cras_bt_transport_try_acquire()
[all …]
Dcras_dbus_control.c160 DBusError dbus_error; in get_single_arg() local
162 dbus_error_init(&dbus_error); in get_single_arg()
164 if (!dbus_message_get_args(message, &dbus_error, dbus_type, arg, in get_single_arg()
167 dbus_error.message); in get_single_arg()
168 dbus_error_free(&dbus_error); in get_single_arg()
197 DBusError dbus_error; in get_metadata() local
200 dbus_error_init(&dbus_error); in get_metadata()
305 DBusError dbus_error; in handle_set_output_node_volume() local
307 dbus_error_init(&dbus_error); in handle_set_output_node_volume()
309 if (!dbus_message_get_args(message, &dbus_error, DBUS_TYPE_UINT64, &id, in handle_set_output_node_volume()
[all …]
Dcras_bt_manager.c353 DBusError dbus_error; in cras_bt_handle_name_owner_changed() local
360 dbus_error_init(&dbus_error); in cras_bt_handle_name_owner_changed()
361 if (!dbus_message_get_args(message, &dbus_error, DBUS_TYPE_STRING, in cras_bt_handle_name_owner_changed()
366 dbus_error.message); in cras_bt_handle_name_owner_changed()
367 dbus_error_free(&dbus_error); in cras_bt_handle_name_owner_changed()
503 DBusError dbus_error; in cras_bt_start() local
507 dbus_error_init(&dbus_error); in cras_bt_start()
516 &dbus_error); in cras_bt_start()
517 if (dbus_error_is_set(&dbus_error)) in cras_bt_start()
525 &dbus_error); in cras_bt_start()
[all …]
Dcras_dbus.c135 DBusError dbus_error; in cras_dbus_connect_system_bus() local
139 dbus_error_init(&dbus_error); in cras_dbus_connect_system_bus()
141 conn = dbus_bus_get(DBUS_BUS_SYSTEM, &dbus_error); in cras_dbus_connect_system_bus()
144 dbus_error.message); in cras_dbus_connect_system_bus()
145 dbus_error_free(&dbus_error); in cras_dbus_connect_system_bus()
150 rc = dbus_bus_request_name(conn, "org.chromium.cras", 0, &dbus_error); in cras_dbus_connect_system_bus()
151 if (dbus_error_is_set(&dbus_error)) { in cras_dbus_connect_system_bus()
152 syslog(LOG_ERR, "Requesting dbus name %s", dbus_error.message); in cras_dbus_connect_system_bus()
153 dbus_error_free(&dbus_error); in cras_dbus_connect_system_bus()
Dcras_bt_endpoint.c133 DBusError dbus_error; in cras_bt_endpoint_select_configuration() local
149 dbus_error_init(&dbus_error); in cras_bt_endpoint_select_configuration()
151 if (!dbus_message_get_args(message, &dbus_error, DBUS_TYPE_ARRAY, in cras_bt_endpoint_select_configuration()
155 dbus_error.message); in cras_bt_endpoint_select_configuration()
156 dbus_error_free(&dbus_error); in cras_bt_endpoint_select_configuration()
192 DBusError dbus_error; in cras_bt_endpoint_clear_configuration() local
206 dbus_error_init(&dbus_error); in cras_bt_endpoint_clear_configuration()
208 if (!dbus_message_get_args(message, &dbus_error, DBUS_TYPE_OBJECT_PATH, 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.c64 DBusError dbus_error; in get_single_arg() local
66 dbus_error_init(&dbus_error); in get_single_arg()
68 if (!dbus_message_get_args(message, &dbus_error, dbus_type, arg, in get_single_arg()
71 dbus_error.message); in get_single_arg()
72 dbus_error_free(&dbus_error); in get_single_arg()
342 DBusError dbus_error; in cras_telephony_start() local
349 &dbus_error)) { in cras_telephony_start()
351 CRAS_TELEPHONY_OBJECT_PATH, dbus_error.message); in cras_telephony_start()
352 dbus_error_free(&dbus_error); in cras_telephony_start()
Dcras_bt_profile.c370 DBusError dbus_error; in cras_bt_unregister_profile() local
380 dbus_error_init(&dbus_error); in cras_bt_unregister_profile()
385 conn, method_call, DBUS_TIMEOUT_USE_DEFAULT, &dbus_error); in cras_bt_unregister_profile()
388 dbus_error_free(&dbus_error); in cras_bt_unregister_profile()
425 DBusError dbus_error; in cras_bt_add_profile() local
427 dbus_error_init(&dbus_error); in cras_bt_add_profile()
430 conn, profile->object_path, &profile_vtable, &dbus_error)) { in cras_bt_add_profile()
432 profile->object_path, dbus_error.message); in cras_bt_add_profile()
433 dbus_error_free(&dbus_error); in cras_bt_add_profile()
Dcras_bt_player.c262 DBusError dbus_error; in cras_bt_player_create() local
266 dbus_error_init(&dbus_error); in cras_bt_player_create()
270 conn, player.object_path, &player_vtable, &dbus_error)) { in cras_bt_player_create()
273 dbus_error_free(&dbus_error); in cras_bt_player_create()
Dcras_bt_adapter.c354 DBusError dbus_error; in cras_bt_adapter_get_supported_capabilities() local
364 dbus_error_init(&dbus_error); in cras_bt_adapter_get_supported_capabilities()
Dcras_bt_device.c221 DBusError dbus_error; in cras_bt_device_connect_profile() local
235 dbus_error_init(&dbus_error); in cras_bt_device_connect_profile()
259 DBusError dbus_error; in cras_bt_device_disconnect() local
269 dbus_error_init(&dbus_error); in cras_bt_device_disconnect()
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker.h107 ::dbus::ScopedDBusError dbus_error; in CallMethodAndBlockWithTimeout()
109 &method_call, timeout_ms, &dbus_error); in CallMethodAndBlockWithTimeout()
111 if (dbus_error.is_set()) { in CallMethodAndBlockWithTimeout()
115 dbus_error.name(), in CallMethodAndBlockWithTimeout()
116 dbus_error.message()); in CallMethodAndBlockWithTimeout()
Ddbus_method_invoker_test.cc95 dbus::ScopedDBusError* dbus_error) { in CreateResponse() argument
110 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 {