Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a32525f0 authored by Henri Chataing's avatar Henri Chataing
Browse files

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
parent d26f2419
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment