Lines Matching refs:discovery

262     /* While discovery is being released adapters will be removed from devices,
348 device->discovery->core->mainloop->time_free(device->wait_for_profiles_timer);
382 pa_hook_fire(&device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], device);
387 device->wait_for_profiles_timer = pa_core_rttime_new(device->discovery->core,
470 pa_assert_se(endpoint = endpoint_conf->choose_remote_endpoint(capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_sink));
473 config_size = endpoint_conf->fill_preferred_configuration(&device->discovery->core->default_sample_spec,
504 send_and_add_to_pending(device->discovery, m, pa_bluetooth_device_switch_codec_reply, data);
527 pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_TRANSPORT_STATE_CHANGED], t);
546 pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device);
558 pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device);
566 pa_hook_fire(&t->device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], t->device);
580 pa_assert(t->device->discovery);
614 pa_assert_se(dbus_connection_send(pa_dbus_connection_get(t->device->discovery->connection), m, NULL));
673 pa_hook_fire(pa_bluetooth_discovery_hook(t->device->discovery, hook), t);
680 pa_assert_se(pa_hashmap_put(t->device->discovery->transports, t->path, t) >= 0);
688 pa_hashmap_remove(t->device->discovery->transports, t->path);
714 pa_assert(t->device->discovery);
720 r = dbus_connection_send_with_reply_and_block(pa_dbus_connection_get(t->device->discovery->connection), m, -1, &err);
758 pa_assert(t->device->discovery);
768 r = dbus_connection_send_with_reply_and_block(pa_dbus_connection_get(t->device->discovery->connection), m, -1, &err);
843 pa_assert(t->device->discovery);
853 send_and_add_to_pending(t->device->discovery, m, get_volume_reply, t);
943 pa_hook_fire(&d->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_BATTERY_LEVEL_CHANGED], d);
962 pa_assert_se(dbus_connection_send(pa_dbus_connection_get(d->discovery->connection), m, NULL));
975 pa_assert_se(dbus_connection_send(pa_dbus_connection_get(d->discovery->connection), m, NULL));
991 pa_hook_fire(&d->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_BATTERY_LEVEL_CHANGED], d);
1008 pa_assert_se(dbus_connection_send(pa_dbus_connection_get(d->discovery->connection), m, NULL));
1156 d->discovery = y;
1228 pa_hook_fire(&d->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_UNLINK], d);
1276 pa_hook_fire(&device->discovery->hooks[PA_BLUETOOTH_HOOK_DEVICE_CONNECTION_CHANGED], device);
1397 PA_HASHMAP_FOREACH(d, a->discovery->devices, state) {
1429 pa_assert_se(dbus_connection_register_object_path(pa_dbus_connection_get(a->discovery->connection), provider_path, &vtable_profile, a));
1435 if (!(r = dbus_connection_send_with_reply_and_block(pa_dbus_connection_get(a->discovery->connection), m, -1, &error))) {
1442 dbus_connection_unregister_object_path(pa_dbus_connection_get(a->discovery->connection), provider_path);
1470 if (!(r = dbus_connection_send_with_reply_and_block(pa_dbus_connection_get(a->discovery->connection), m, -1, &error))) {
1480 dbus_connection_unregister_object_path(pa_dbus_connection_get(a->discovery->connection), provider_path);
1492 a->discovery = y;
1506 pa_assert(a->discovery);
1510 PA_HASHMAP_FOREACH(d, a->discovery->devices, state)
1721 pa_hook_fire(pa_bluetooth_discovery_hook(a->discovery, PA_BLUETOOTH_HOOK_ADAPTER_UUIDS_CHANGED), a);
1875 send_and_add_to_pending(a->discovery, m, register_application_reply, pa_xstrdup(a->path));
2095 device_set_adapter(d, pa_hashmap_get(d->discovery->adapters, d->adapter_path));
2897 pa_shared_set(c, "bluetooth-discovery", y);
3047 pa_shared_remove(y->core, "bluetooth-discovery");