Home
last modified time | relevance | path

Searched refs:message_iter (Results 1 – 7 of 7) sorted by relevance

/external/adhd/cras/src/server/
Dcras_bt_manager.c202 DBusMessageIter message_iter, object_array_iter; in cras_bt_on_get_managed_objects() local
220 dbus_message_iter_init(reply, &message_iter); in cras_bt_on_get_managed_objects()
221 dbus_message_iter_recurse(&message_iter, &object_array_iter); in cras_bt_on_get_managed_objects()
334 DBusMessageIter message_iter, interface_array_iter; in cras_bt_handle_interfaces_added() local
346 dbus_message_iter_init(message, &message_iter); in cras_bt_handle_interfaces_added()
348 dbus_message_iter_get_basic(&message_iter, &object_path); in cras_bt_handle_interfaces_added()
349 dbus_message_iter_next(&message_iter); in cras_bt_handle_interfaces_added()
351 dbus_message_iter_recurse(&message_iter, &interface_array_iter); in cras_bt_handle_interfaces_added()
381 DBusMessageIter message_iter, interface_array_iter; in cras_bt_handle_interfaces_removed() local
393 dbus_message_iter_init(message, &message_iter); in cras_bt_handle_interfaces_removed()
[all …]
Dcras_bt_profile.c79 DBusMessageIter message_iter; in cras_bt_profile_handle_new_connection() local
89 dbus_message_iter_init(message, &message_iter); in cras_bt_profile_handle_new_connection()
90 dbus_message_iter_get_basic(&message_iter, &object_path); in cras_bt_profile_handle_new_connection()
91 dbus_message_iter_next(&message_iter); in cras_bt_profile_handle_new_connection()
93 if (dbus_message_iter_get_arg_type(&message_iter) != in cras_bt_profile_handle_new_connection()
99 dbus_message_iter_get_basic(&message_iter, &fd); in cras_bt_profile_handle_new_connection()
100 dbus_message_iter_next(&message_iter); in cras_bt_profile_handle_new_connection()
150 DBusMessageIter message_iter; in cras_bt_profile_handle_request_disconnection() local
158 dbus_message_iter_init(message, &message_iter); in cras_bt_profile_handle_request_disconnection()
159 dbus_message_iter_get_basic(&message_iter, &object_path); in cras_bt_profile_handle_request_disconnection()
[all …]
Dcras_bt_player.c42 DBusMessageIter message_iter, dict; in cras_bt_add_player() local
52 dbus_message_iter_init_append(method_call, &message_iter); in cras_bt_add_player()
53 dbus_message_iter_append_basic(&message_iter, DBUS_TYPE_OBJECT_PATH, in cras_bt_add_player()
57 &message_iter, DBUS_TYPE_ARRAY, in cras_bt_add_player()
84 dbus_message_iter_close_container(&message_iter, &dict); in cras_bt_add_player()
Dcras_bt_endpoint.c69 DBusMessageIter message_iter, properties_array_iter; in cras_bt_endpoint_set_configuration() local
88 dbus_message_iter_init(message, &message_iter); in cras_bt_endpoint_set_configuration()
90 dbus_message_iter_get_basic(&message_iter, &transport_path); in cras_bt_endpoint_set_configuration()
91 dbus_message_iter_next(&message_iter); in cras_bt_endpoint_set_configuration()
93 dbus_message_iter_recurse(&message_iter, &properties_array_iter); in cras_bt_endpoint_set_configuration()
337 DBusMessageIter message_iter; in cras_bt_register_endpoint() local
358 dbus_message_iter_init_append(method_call, &message_iter); in cras_bt_register_endpoint()
359 dbus_message_iter_append_basic(&message_iter, DBUS_TYPE_OBJECT_PATH, in cras_bt_register_endpoint()
363 &message_iter, DBUS_TYPE_ARRAY, in cras_bt_register_endpoint()
420 dbus_message_iter_close_container(&message_iter, in cras_bt_register_endpoint()
Dcras_bt_transport.c374 DBusMessageIter message_iter, variant; in cras_bt_transport_set_volume() local
384 dbus_message_iter_init_append(method_call, &message_iter); in cras_bt_transport_set_volume()
386 dbus_message_iter_append_basic(&message_iter, DBUS_TYPE_STRING, in cras_bt_transport_set_volume()
388 dbus_message_iter_append_basic(&message_iter, DBUS_TYPE_STRING, &key); in cras_bt_transport_set_volume()
390 dbus_message_iter_open_container(&message_iter, DBUS_TYPE_VARIANT, in cras_bt_transport_set_volume()
393 dbus_message_iter_close_container(&message_iter, &variant); in cras_bt_transport_set_volume()
Dcras_bt_adapter.c293 DBusMessageIter message_iter, capabilities; in on_get_supported_capabilities_reply() local
306 if (!dbus_message_iter_init(reply, &message_iter)) { in on_get_supported_capabilities_reply()
319 dbus_message_iter_recurse(&message_iter, &capabilities); in on_get_supported_capabilities_reply()
/external/adhd/cras/src/tests/
Ddbus_test.cc208 DBusMessageIter message_iter; in AppendArgsToMessage() local
214 dbus_message_iter_init_append(message, &message_iter); in AppendArgsToMessage()
215 dbus_message_iter_open_container(&message_iter, DBUS_TYPE_ARRAY, "{sv}", in AppendArgsToMessage()
292 dbus_message_iter_close_container(&message_iter, &dict_array_iter); in AppendArgsToMessage()