For the offload case, the updateTrackMetadata would be triggered by the
audio HAL, extend the support for audio session 2.2 control
Bug: 197296692
Bug: 150670922
Test: make build
Change-Id: If1589b95bdec98d41c122da2c47ab53719af8425
Added SPDX-license-identifier-Apache-2.0 to:
bluetooth/audio/aidl/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: Ie941d147d28d4e6e7b9eb93154e029f743e8b086
Currently just source metadata is passed through the new aidl.
Test: m android.hardware.bluetooth.audio-update-api
Bug: 203490261
Bug: 150670922
Change-Id: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
Merged-In: I76a44bb8c5cb0b6c16845aca36ba93517ecd07b4
LE audio hardware offload would be supported after the temporal bluetooth.audio@2.2 or bluetooth.audio aidl version. The workable audio configuration and capabilities format do not exist in bluetooth.audio@2.1. Remove the support in the 2.1 HAL default implementation.
Bug: 197296692
Bug: 150670922
Test: make build
Change-Id: I6ff3f6ada43474cadb026bf8b58d64adaf5ea477
For LE audio hardware offload
1. Add the function to update audio configuration without session
restart
2. Add a callback to notify the audio HAL the audio configuration
changed
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Change-Id: I8b01ec8dfc9d9cd552770c8c734319a685ee626b
1. Add function getProviderCapabilities_2_2
to return audio capability
2. Add function GetLeAudioOffloadCodecCapabilities
to get le audio offload capability
3. Add LeAudioCapability in HAL 2.2
Tag: #feature
Bug: 203535499
Bug: 150670922
Test: atest BluetoothInstrumentationTests
Change-Id: Ied2d0c8c0bdaa4b8d0c149b5164ba346e4df5ae1
1. The audio driver need to get the session status callback as the
sessionEnded
2. Update the invalid audio configuration based on the session type
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Test: Turn on/off bluetooth to make sure the onSessionEnded work well
Change-Id: Id758b556e8f5c9b63052a408154f02082515091c
1. Clean up the LE offlload path for HIDL 2.1
2. Add support offload path start/suspend/stop function with HIDL 2.2
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Change-Id: I2295b62fc2255d247f18f0852de2b40e6280d282
LE audio offload plan to fully support on aidl or temporal HAL 2.2. Remove it in HAL 2.1 to make the compatible work easier
Bug: 197296692
Bug: 150670922
Test: HAL 2.1/2.2 work for A2DP software/hardware media, and LE audio
software media/voip call
Change-Id: Icc68bea357d2ee0427826e0c20888399662e9bcb
When just microphone is enabled, i.e. for recording audio, we will
receive just sink metadata update.
Bug: 150670922
Change-Id: I795385d19e64ec5c6bc0a8549beda52da27d25a1