Home
last modified time | relevance | path

Searched refs:pending_call (Results 1 – 11 of 11) sorted by relevance

/external/adhd/cras/src/server/
Dcras_bt_endpoint.c318 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 …]
Dcras_bt_transport.c340 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 …]
Dcras_bt_player.c19 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()
Dcras_bt_manager.c195 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()
Dcras_bt_profile.c273 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()
Dcras_bt_device.c164 static void on_connect_profile_reply(DBusPendingCall *pending_call, void *data) in on_connect_profile_reply() argument
168 reply = dbus_pending_call_steal_reply(pending_call); in on_connect_profile_reply()
169 dbus_pending_call_unref(pending_call); in on_connect_profile_reply()
178 static void on_disconnect_reply(DBusPendingCall *pending_call, void *data) in on_disconnect_reply() argument
182 reply = dbus_pending_call_steal_reply(pending_call); in on_disconnect_reply()
183 dbus_pending_call_unref(pending_call); in on_disconnect_reply()
197 DBusPendingCall *pending_call; in cras_bt_device_connect_profile() local
215 pending_call = NULL; in cras_bt_device_connect_profile()
218 &pending_call, in cras_bt_device_connect_profile()
226 if (!dbus_pending_call_set_notify(pending_call, in cras_bt_device_connect_profile()
[all …]
/external/libchrome/dbus/
Dobject_proxy.cc304 for (auto* pending_call : pending_calls_) { in Detach() local
305 dbus_pending_call_cancel(pending_call); in Detach()
306 dbus_pending_call_unref(pending_call); in Detach()
333 base::OnceCallback<void(DBusPendingCall * pending_call)>; in StartAsyncMethodCall()
337 [](DBusPendingCall* pending_call, void* user_data) { in StartAsyncMethodCall() argument
338 std::move(*static_cast<PendingCallback*>(user_data)).Run(pending_call); in StartAsyncMethodCall()
354 DBusPendingCall* pending_call) { in OnPendingCallIsComplete() argument
357 DBusMessage* response_message = dbus_pending_call_steal_reply(pending_call); in OnPendingCallIsComplete()
401 pending_calls_.erase(pending_call); in OnPendingCallIsComplete()
402 dbus_pending_call_unref(pending_call); in OnPendingCallIsComplete()
Dmock_bus.h48 DBusPendingCall** pending_call,
Dobject_proxy.h259 DBusPendingCall* pending_call);
Dbus.h450 DBusPendingCall** pending_call,
Dbus.cc626 DBusPendingCall** pending_call, in SendWithReply() argument
632 connection_, request, pending_call, timeout_ms); in SendWithReply()