/external/adhd/cras/src/server/ |
D | cras_bt_endpoint.c | 318 static void cras_bt_on_register_endpoint(DBusPendingCall *pending_call, in cras_bt_on_register_endpoint() argument 323 reply = dbus_pending_call_steal_reply(pending_call); in cras_bt_on_register_endpoint() 324 dbus_pending_call_unref(pending_call); in cras_bt_on_register_endpoint() 345 DBusPendingCall *pending_call; in cras_bt_register_endpoint() local 433 if (!dbus_connection_send_with_reply(conn, method_call, &pending_call, in cras_bt_register_endpoint() 440 if (!pending_call) in cras_bt_register_endpoint() 443 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_register_endpoint() 446 dbus_pending_call_cancel(pending_call); in cras_bt_register_endpoint() 447 dbus_pending_call_unref(pending_call); in cras_bt_register_endpoint() 454 static void cras_bt_on_unregister_endpoint(DBusPendingCall *pending_call, in cras_bt_on_unregister_endpoint() argument [all …]
|
D | cras_bt_transport.c | 340 static void on_transport_volume_set(DBusPendingCall *pending_call, void *data) in on_transport_volume_set() argument 344 reply = dbus_pending_call_steal_reply(pending_call); in on_transport_volume_set() 345 dbus_pending_call_unref(pending_call); in on_transport_volume_set() 360 DBusPendingCall *pending_call; in cras_bt_transport_set_volume() local 382 &pending_call, in cras_bt_transport_set_volume() 389 if (!pending_call) in cras_bt_transport_set_volume() 392 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_transport_set_volume() 395 dbus_pending_call_cancel(pending_call); in cras_bt_transport_set_volume() 396 dbus_pending_call_unref(pending_call); in cras_bt_transport_set_volume() 519 static void cras_bt_on_transport_release(DBusPendingCall *pending_call, in cras_bt_on_transport_release() argument [all …]
|
D | cras_bt_player.c | 19 static void cras_bt_on_player_registered(DBusPendingCall *pending_call, in cras_bt_on_player_registered() argument 24 reply = dbus_pending_call_steal_reply(pending_call); in cras_bt_on_player_registered() 25 dbus_pending_call_unref(pending_call); in cras_bt_on_player_registered() 44 DBusPendingCall *pending_call; in cras_bt_add_player() local 93 if (!dbus_connection_send_with_reply(conn, method_call, &pending_call, in cras_bt_add_player() 100 if (!pending_call) in cras_bt_add_player() 103 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_add_player() 106 dbus_pending_call_cancel(pending_call); in cras_bt_add_player() 107 dbus_pending_call_unref(pending_call); in cras_bt_add_player()
|
D | cras_bt_manager.c | 195 static void cras_bt_on_get_managed_objects(DBusPendingCall *pending_call, in cras_bt_on_get_managed_objects() argument 202 reply = dbus_pending_call_steal_reply(pending_call); in cras_bt_on_get_managed_objects() 203 dbus_pending_call_unref(pending_call); in cras_bt_on_get_managed_objects() 267 DBusPendingCall *pending_call; in cras_bt_get_managed_objects() local 277 pending_call = NULL; in cras_bt_get_managed_objects() 279 &pending_call, in cras_bt_get_managed_objects() 286 if (!pending_call) in cras_bt_get_managed_objects() 289 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_get_managed_objects() 292 dbus_pending_call_cancel(pending_call); in cras_bt_get_managed_objects() 293 dbus_pending_call_unref(pending_call); in cras_bt_get_managed_objects()
|
D | cras_bt_profile.c | 273 static void cras_bt_on_register_profile(DBusPendingCall *pending_call, in cras_bt_on_register_profile() argument 278 reply = dbus_pending_call_steal_reply(pending_call); in cras_bt_on_register_profile() 279 dbus_pending_call_unref(pending_call); in cras_bt_on_register_profile() 293 DBusPendingCall *pending_call; in cras_bt_register_profile() local 358 if (!dbus_connection_send_with_reply(conn, method_call, &pending_call, in cras_bt_register_profile() 365 if (!pending_call) in cras_bt_register_profile() 368 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_register_profile() 371 dbus_pending_call_cancel(pending_call); in cras_bt_register_profile() 372 dbus_pending_call_unref(pending_call); in cras_bt_register_profile()
|
D | cras_bt_device.c | 163 static void on_connect_profile_reply(DBusPendingCall *pending_call, void *data) in on_connect_profile_reply() argument 167 reply = dbus_pending_call_steal_reply(pending_call); in on_connect_profile_reply() 168 dbus_pending_call_unref(pending_call); in on_connect_profile_reply() 177 static void on_disconnect_reply(DBusPendingCall *pending_call, void *data) in on_disconnect_reply() argument 181 reply = dbus_pending_call_steal_reply(pending_call); in on_disconnect_reply() 182 dbus_pending_call_unref(pending_call); in on_disconnect_reply() 196 DBusPendingCall *pending_call; in cras_bt_device_connect_profile() local 214 pending_call = NULL; in cras_bt_device_connect_profile() 217 &pending_call, in cras_bt_device_connect_profile() 225 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_device_connect_profile() [all …]
|
/external/libchrome/dbus/ |
D | object_proxy.cc | 227 for (auto* pending_call : pending_calls_) { in Detach() local 228 dbus_pending_call_cancel(pending_call); in Detach() 229 dbus_pending_call_unref(pending_call); in Detach() 275 DBusPendingCall* pending_call = NULL; in StartAsyncMethodCall() local 277 bus_->SendWithReply(request_message, &pending_call, timeout_ms); in StartAsyncMethodCall() 287 pending_call, in StartAsyncMethodCall() 292 pending_calls_.insert(pending_call); in StartAsyncMethodCall() 298 void ObjectProxy::OnPendingCallIsComplete(DBusPendingCall* pending_call, in OnPendingCallIsComplete() argument 304 DBusMessage* response_message = dbus_pending_call_steal_reply(pending_call); in OnPendingCallIsComplete() 314 pending_calls_.erase(pending_call); in OnPendingCallIsComplete() [all …]
|
D | object_proxy.h | 228 void OnPendingCallIsComplete(DBusPendingCall* pending_call, 240 static void OnPendingCallIsCompleteThunk(DBusPendingCall* pending_call,
|
D | mock_bus.h | 48 DBusPendingCall** pending_call,
|
D | bus.h | 450 DBusPendingCall** pending_call,
|
D | bus.cc | 668 DBusPendingCall** pending_call, in SendWithReply() argument 674 connection_, request, pending_call, timeout_ms); in SendWithReply()
|