Home
last modified time | relevance | path

Searched refs:is_hal_2_0_enabled (Results 1 – 7 of 7) sorted by relevance

/system/bt/btif/src/
Dbtif_a2dp.cc60 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_started()
80 } else if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_started()
98 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_started()
118 if (bluetooth::audio::a2dp::is_hal_2_0_enabled() || in btif_a2dp_on_stopped()
133 if (bluetooth::audio::a2dp::is_hal_2_0_enabled() || in btif_a2dp_on_suspended()
172 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_on_offload_started()
Dbtif_a2dp_source.cc398 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_start_session_delayed()
466 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_end_session_delayed()
502 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_shutdown_delayed()
598 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_setup_codec_delayed()
683 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_on_stopped()
717 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_on_suspended()
803 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_audio_tx_stop_event()
815 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_audio_tx_stop_event()
877 if (bluetooth::audio::a2dp::is_hal_2_0_enabled()) { in btif_a2dp_source_read_callback()
1009 if (!bluetooth::audio::a2dp::is_hal_2_0_enabled() && a2dp_uipc != nullptr) { in btif_a2dp_source_audio_tx_flush_event()
/system/bt/audio_hal_interface/
Dhearing_aid_software_encoding.cc168 bool is_hal_2_0_enabled() { return hearing_aid_hal_clientinterface != nullptr; } in is_hal_2_0_enabled() function
203 if (!is_hal_2_0_enabled()) return; in cleanup()
214 if (!is_hal_2_0_enabled()) return; in start_session()
231 if (!is_hal_2_0_enabled()) return; in end_session()
236 if (!is_hal_2_0_enabled()) return 0; in read()
242 if (!is_hal_2_0_enabled()) { in set_remote_delay()
Da2dp_encoding.h27 bool is_hal_2_0_enabled();
Dhearing_aid_software_encoding.h32 bool is_hal_2_0_enabled();
Da2dp_encoding.cc591 bool is_hal_2_0_enabled() { return a2dp_hal_clientif != nullptr; } in is_hal_2_0_enabled() function
630 if (!is_hal_2_0_enabled()) return; in cleanup()
642 if (!is_hal_2_0_enabled()) { in setup_codec()
666 if (!is_hal_2_0_enabled()) { in start_session()
674 if (!is_hal_2_0_enabled()) { in end_session()
717 if (!is_hal_2_0_enabled()) { in read()
730 if (!is_hal_2_0_enabled()) { in set_remote_delay()
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc71 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in send_audio_data()
382 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in Start()
393 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in Stop()
413 if (bluetooth::audio::hearing_aid::is_hal_2_0_enabled()) { in CleanUp()