Lines Matching defs:hfp_connection

134 static int hfp_ag_get_ag_indicators_nr(hfp_connection_t * hfp_connection){  in hfp_ag_get_ag_indicators_nr()
143 hfp_ag_indicator_t * hfp_ag_get_ag_indicators(hfp_connection_t * hfp_connection){ in hfp_ag_get_ag_indicators()
177 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in get_hfp_ag_connection_context_for_acl_handle() local
189 static int use_in_band_tone(hfp_connection_t *hfp_connection) { in use_in_band_tone()
193 static int has_codec_negotiation_feature(hfp_connection_t * hfp_connection){ in has_codec_negotiation_feature()
199 static int has_call_waiting_and_3way_calling_feature(hfp_connection_t * hfp_connection){ in has_call_waiting_and_3way_calling_feature()
205 static int has_hf_indicators_feature(hfp_connection_t * hfp_connection){ in has_hf_indicators_feature()
213 static int hfp_ag_send_change_in_band_ring_tone_setting_cmd(hfp_connection_t * hfp_connection){ in hfp_ag_send_change_in_band_ring_tone_setting_cmd()
291 static int hfp_ag_indicators_string_size(hfp_connection_t * hfp_connection, int i){ in hfp_ag_indicators_string_size()
299 static void hfp_ag_indicators_string_store(hfp_connection_t * hfp_connection, int i, uint8_t * buff… in hfp_ag_indicators_string_store()
307 static int hfp_ag_indicators_cmd_generator_num_segments(hfp_connection_t * hfp_connection){ in hfp_ag_indicators_cmd_generator_num_segments()
314 static int hfp_ag_indicators_cmd_generator_get_segment_len(hfp_connection_t * hfp_connection, int i… in hfp_ag_indicators_cmd_generator_get_segment_len()
330 static void hfp_ag_indicators_cmd_generator_store_segment(hfp_connection_t * hfp_connection, int in… in hfp_ag_indicators_cmd_generator_store_segment()
403 static int hfp_ag_send_cmd_via_generator(uint16_t cid, hfp_connection_t * hfp_connection, in hfp_ag_send_cmd_via_generator()
405 int (*get_segment_len)(hfp_connection_t * hfp_connection, int segment), in hfp_ag_send_cmd_via_generator()
432 …ag_send_retrieve_indicators_cmd_via_generator(uint16_t cid, hfp_connection_t * hfp_connection, int… in hfp_ag_send_retrieve_indicators_cmd_via_generator()
527 static int hfp_ag_send_enhanced_voice_recognition_state_cmd(hfp_connection_t * hfp_connection){ in hfp_ag_send_enhanced_voice_recognition_state_cmd()
534 static int hfp_ag_send_voice_recognition_cmd(hfp_connection_t * hfp_connection, uint8_t activate_vo… in hfp_ag_send_voice_recognition_cmd()
544 static int hfp_ag_send_enhanced_voice_recognition_msg_cmd(hfp_connection_t * hfp_connection){ in hfp_ag_send_enhanced_voice_recognition_msg_cmd()
555 static uint8_t hfp_ag_suggest_codec(hfp_connection_t *hfp_connection){ in hfp_ag_suggest_codec()
579 static uint8_t hfp_ag_esco_s4_supported(hfp_connection_t * hfp_connection){ in hfp_ag_esco_s4_supported()
583 static int codecs_exchange_state_machine(hfp_connection_t * hfp_connection){ in codecs_exchange_state_machine()
661 static void hfp_ag_slc_established(hfp_connection_t * hfp_connection){ in hfp_ag_slc_established()
693 static int hfp_ag_run_for_context_service_level_connection(hfp_connection_t * hfp_connection){ in hfp_ag_run_for_context_service_level_connection()
804 static bool hfp_ag_vra_flag_supported(hfp_connection_t * hfp_connection){ in hfp_ag_vra_flag_supported()
810 static bool hfp_ag_enhanced_vra_flag_supported(hfp_connection_t * hfp_connection){ in hfp_ag_enhanced_vra_flag_supported()
816 static bool hfp_ag_can_send_enhanced_vra_message_flag_supported(hfp_connection_t * hfp_connection){ in hfp_ag_can_send_enhanced_vra_message_flag_supported()
822 static bool hfp_ag_can_activate_voice_recognition(hfp_connection_t * hfp_connection){ in hfp_ag_can_activate_voice_recognition()
835 static bool hfp_ag_voice_recognition_session_active(hfp_connection_t * hfp_connection){ in hfp_ag_voice_recognition_session_active()
848 static bool hfp_ag_is_audio_connection_active(hfp_connection_t * hfp_connection){ in hfp_ag_is_audio_connection_active()
859 static void hfp_ag_emit_enhanced_voice_recognition_msg_sent_event(hfp_connection_t * hfp_connection in hfp_ag_emit_enhanced_voice_recognition_msg_sent_event()
872 static void hfp_ag_emit_hf_indicator_value(hfp_connection_t * hfp_connection, uint16_t uuid, uint8_… in hfp_ag_emit_hf_indicator_value()
896 static void hfp_ag_emit_apple_accessory_information(hfp_connection_t *hfp_connection){ in hfp_ag_emit_apple_accessory_information()
911 static void hfp_ag_emit_apple_accessory_state(hfp_connection_t *hfp_connection){ in hfp_ag_emit_apple_accessory_state()
927 static void hfp_ag_emit_custom_command_event(hfp_connection_t * hfp_connection){ in hfp_ag_emit_custom_command_event()
942 static uint8_t hfp_ag_vra_state_machine_two(hfp_connection_t * hfp_connection){ in hfp_ag_vra_state_machine_two()
1000 static uint8_t hfp_ag_vra_send_command(hfp_connection_t * hfp_connection){ in hfp_ag_vra_send_command()
1048 static int hfp_ag_voice_recognition_state_machine(hfp_connection_t * hfp_connection){ in hfp_ag_voice_recognition_state_machine()
1102 …tic int hfp_ag_run_for_context_service_level_connection_queries(hfp_connection_t * hfp_connection){ in hfp_ag_run_for_context_service_level_connection_queries()
1144 static int hfp_ag_run_for_audio_connection(hfp_connection_t * hfp_connection){ in hfp_ag_run_for_audio_connection()
1208 static void hfp_ag_hf_start_ringing_incoming(hfp_connection_t * hfp_connection){ in hfp_ag_hf_start_ringing_incoming()
1217 static void hfp_ag_hf_start_ringing_outgoing(hfp_connection_t * hfp_connection){ in hfp_ag_hf_start_ringing_outgoing()
1221 static void hfp_ag_hf_stop_ringing(hfp_connection_t * hfp_connection){ in hfp_ag_hf_stop_ringing()
1231 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_trigger_incoming_call_during_active_one() local
1244 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_trigger_ring_and_clip() local
1300 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_stop_ringing() local
1316 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_trigger_incoming_call_idle() local
1335 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_trigger_outgoing_call() local
1344 static void hfp_ag_handle_outgoing_call_accepted(hfp_connection_t * hfp_connection){ in hfp_ag_handle_outgoing_call_accepted()
1376 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_transfer_indicator() local
1405 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_hf_accept_call() local
1438 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_ag_accept_call() local
1495 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_trigger_terminate_call() local
1525 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_connection_for_call_state() local
1536 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_send_response_and_hold_state() local
1542 static int call_setup_state_machine(hfp_connection_t * hfp_connection){ in call_setup_state_machine()
1568 static void hfp_ag_queue_error(hfp_connection_t * hfp_connection){ in hfp_ag_queue_error()
1573 static void hfp_ag_queue_ok(hfp_connection_t * hfp_connection){ in hfp_ag_queue_ok()
1579 … hfp_connection_t * hfp_connection = hfp_ag_connection_for_call_state(HFP_CALL_OUTGOING_INITIATED); in hfp_ag_handle_reject_outgoing_call() local
1592 static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * hfp_connection){ in hfp_ag_call_sm()
2088 static void hfp_ag_send_call_status(hfp_connection_t * hfp_connection, int call_index){ in hfp_ag_send_call_status()
2113 static int hfp_ag_send_commands(hfp_connection_t *hfp_connection){ in hfp_ag_send_commands()
2240 static int hfp_ag_run_ring_and_clip(hfp_connection_t *hfp_connection){ in hfp_ag_run_ring_and_clip()
2262 static void hfp_ag_run_for_context(hfp_connection_t *hfp_connection){ in hfp_ag_run_for_context()
2409 static void hfp_ag_handle_rfcomm_data(hfp_connection_t * hfp_connection, uint8_t *packet, uint16_t … in hfp_ag_handle_rfcomm_data()
2646 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_run() local
2653 hfp_connection_t * hfp_connection = NULL; in hfp_ag_rfcomm_packet_handler() local
2776 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_release_service_level_connection() local
2787 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_report_extended_audio_gateway_error_result_code() local
2801 static uint8_t hfp_ag_setup_audio_connection(hfp_connection_t * hfp_connection){ in hfp_ag_setup_audio_connection()
2844 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_establish_audio_connection() local
2857 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_release_audio_connection() local
2889 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_set_use_in_band_ring_tone() local
2967 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_set_ag_indicator() local
2996 … hfp_connection_t * hfp_connection = (hfp_connection_t *)btstack_linked_list_iterator_next(&it); in hfp_ag_set_registration_status() local
3031 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_activate_voice_recognition() local
3061 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_deactivate_voice_recognition() local
3090 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_enhanced_voice_recognition_send_state() local
3132 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_enhanced_voice_recognition_send_message() local
3180 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_set_microphone_gain() local
3199 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_set_speaker_gain() local
3218 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_send_phone_number_for_voice_tag() local
3229 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_reject_phone_number_for_voice_tag() local
3239 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_send_dtmf_code_done() local
3249 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_send_unsolicited_result_code() local
3262 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_send_command_result_code() local
3289 hfp_connection_t * hfp_connection = get_hfp_ag_connection_context_for_acl_handle(acl_handle); in hfp_ag_notify_incoming_call_waiting() local