audio_hal_interface: Inject a2dp dependencies through BluetoothAudioPort
Implements the following methods:
- StartStream: invoke AVDTP start if the stream is not already started
and neither SCO nor ISO are active
- SuspendStream: invoke AVDTP suspend if the stream is not already suspended
- SetLatencyMode: configure the latency mode
Removes the dependency from audio_hal_interface to:
- bluetooth::headset::IsCallIdle
- hci::IsoManager::GetInstance
- hci::IsoManager::GetNumberOfActiveIso
- btif_av_stream_started_ready
- btif_av_stream_ready
- btif_av_stream_start_with_latency
- btif_av_stream_suspend
- btif_av_clear_remote_suspend_flag
- btif_av_set_low_latency
Bug: 365022887
Flag: EXEMPT, no logical change
Test: m com.android.btservices
Test: Manually validate a2dp sofware and offload paths
Change-Id: Ie240f60d1ae79e91d99412c2cd82750487648290
Loading
Please register or sign in to comment