Lines Matching defs:profile
512 pa_bluetooth_profile_t profile;
517 pa_assert_se(profile = (pa_bluetooth_profile_t)p->call_data);
521 pa_log_info("Couldn't register profile %s because it is disabled in BlueZ", pa_bluetooth_profile_to_string(profile));
522 profile_status_set(b->discovery, profile, PA_BLUETOOTH_PROFILE_STATUS_ACTIVE);
529 profile_status_set(b->discovery, profile, PA_BLUETOOTH_PROFILE_STATUS_ACTIVE);
533 profile_status_set(b->discovery, profile, PA_BLUETOOTH_PROFILE_STATUS_REGISTERED);
542 static void register_profile(pa_bluetooth_backend *b, const char *object, const char *uuid, pa_bluetooth_profile_t profile) {
548 pa_assert(profile_status_get(b->discovery, profile) == PA_BLUETOOTH_PROFILE_STATUS_ACTIVE);
550 pa_log_debug("Registering Profile %s %s", pa_bluetooth_profile_to_string(profile), uuid);
575 profile_status_set(b->discovery, profile, PA_BLUETOOTH_PROFILE_STATUS_REGISTERING);
576 send_and_add_to_pending(b, m, register_profile_reply, (void *)profile);
583 pa_log_debug("Transport %s available for profile %s", t->path, pa_bluetooth_profile_to_string(t->profile));
749 // TODO: Keep track of which profile is the current battery provider,
849 } else if (t->config) { /* t->config is only non-null for hfp profile */
899 if (is_pulseaudio_audio_gateway(t->profile)) {
924 if (is_pulseaudio_audio_gateway(t->profile)) {
973 /* If peer connecting to HSP Audio Gateway supports HFP HF profile
986 pa_log_debug("dbus: NewConnection path=%s, fd=%d, profile %s", path, fd,
1112 static void profile_init(pa_bluetooth_backend *b, pa_bluetooth_profile_t profile) {
1121 switch (profile) {
1141 profile_status_set(b->discovery, profile, PA_BLUETOOTH_PROFILE_STATUS_ACTIVE);
1142 register_profile(b, object_name, uuid, profile);
1145 static void profile_done(pa_bluetooth_backend *b, pa_bluetooth_profile_t profile) {
1148 profile_status_set(b->discovery, profile, PA_BLUETOOTH_PROFILE_STATUS_INACTIVE);
1150 switch (profile) {