Lines Matching refs:audio
358 if (!bluetooth::audio::a2dp::init(&btif_a2dp_source_thread)) { in btif_a2dp_source_startup_delayed()
398 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_start_session_delayed()
399 bluetooth::audio::a2dp::start_session(); in btif_a2dp_source_start_session_delayed()
400 bluetooth::audio::a2dp::set_remote_delay(btif_av_get_audio_delay()); in btif_a2dp_source_start_session_delayed()
466 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_end_session_delayed()
467 bluetooth::audio::a2dp::end_session(); in btif_a2dp_source_end_session_delayed()
501 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_shutdown_delayed()
502 bluetooth::audio::a2dp::cleanup(); in btif_a2dp_source_shutdown_delayed()
594 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_setup_codec_delayed()
595 bluetooth::audio::a2dp::setup_codec(); in btif_a2dp_source_setup_codec_delayed()
705 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_on_stopped()
706 bluetooth::audio::a2dp::ack_stream_suspended(A2DP_CTRL_ACK_FAILURE); in btif_a2dp_source_on_stopped()
712 bluetooth::audio::a2dp::ack_stream_suspended(A2DP_CTRL_ACK_SUCCESS); in btif_a2dp_source_on_stopped()
740 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_on_suspended()
741 bluetooth::audio::a2dp::ack_stream_suspended(A2DP_CTRL_ACK_FAILURE); in btif_a2dp_source_on_suspended()
747 bluetooth::audio::a2dp::ack_stream_suspended(A2DP_CTRL_ACK_SUCCESS); in btif_a2dp_source_on_suspended()
829 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_audio_tx_stop_event()
831 bluetooth::audio::a2dp::read(p_buf, sizeof(p_buf))); in btif_a2dp_source_audio_tx_stop_event()
841 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_audio_tx_stop_event()
842 bluetooth::audio::a2dp::ack_stream_suspended(A2DP_CTRL_ACK_SUCCESS); in btif_a2dp_source_audio_tx_stop_event()
902 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_read_callback()
903 bytes_read = bluetooth::audio::a2dp::read(p_buf, len); in btif_a2dp_source_read_callback()
1031 if (!bluetooth::audio::a2dp::is_hal_2_0_enabled() && a2dp_uipc != nullptr) { in btif_a2dp_source_audio_tx_flush_event()