summaryrefslogtreecommitdiff
path: root/bluetooth/audio/aidl
AgeCommit message (Collapse)Author
2022-09-28Update Bluetoot Audio HAL Target Testshihchienc
Since we change the design of loading LE Audio Capabilities in BT Audio HAL, we update the VTS test to make sure no matter a device supports LE Audio Offload or not, it can pass all tests that they should pass. Also, update vts test to match C++ coding style. Bug: 248181252 Test: atest VtsHalBluetoothAudioTargetTest Change-Id: Ie46c86663e0a22627c324f96360063cd4d4874e4 Merged-In: Ie46c86663e0a22627c324f96360063cd4d4874e4 (cherry picked from commit 3ab9f5e2f0b7510c7488e04e7a13a9ef855f120b)
2022-07-13Bluetooth audio hal check broadcast configuraiton for the broadcast offloadAlice Kuo
The patch contains the following changes 1. Check the broadcast audio configuration as starting broadcast offload session 2. Update audio configuration checker for broadcast offload 3. Remove the IsOffloadLeAudioConfigurationValid function that the audio configuraiton is invalid as session started, so we don't need to check it at that time Bug: 210987580 Test: start the offload broadcast stream, and check the session status Change-Id: I60b1b506051873f6d942f2febace6562634fc12a Merged-In: I60b1b506051873f6d942f2febace6562634fc12a (cherry picked from commit ee398a93f564e515051932dfd3801081426b1ae8)
2022-05-13Merge "Add Opus to BT Audio HAL and update version to V2" into tm-devOmer Osman
2022-05-12Add Opus to BT Audio HAL and update version to V2Omer Osman
This CL adds Opus as a supported A2DP codec to the BT Audio HAL and updates HAL compatibility matrix. Bug: 226441860 Test: A2DP sink device using bds-dev Change-Id: I21249e3e7e76412af7ed62a3fc9ec133434cf963
2022-05-11Bluetooth LE Audio: pass the 24 bit stream as unpacked through HALJakub Pawlowski
LC3 encoder/decoder expects unpacked 24 bit stream Bug: 230578655 Test: use 24_2 configuration to play over LE Audio Merged-In: I298d6d3a0cd9786581730de88487c982e1fa9d9d Change-Id: I298d6d3a0cd9786581730de88487c982e1fa9d9d
2022-04-07Merge "BtAudio: Prevent unlink dead binder" am: dc1a419baf am: 6afd301d16 ↵Treehugger Robot
am: 31a6eb814c Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2046266 Change-Id: I3f0ad7c0c535bd1312871e1b53bc2cf0597a2434 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07Merge "BtAudio: Prevent unlink dead binder"Treehugger Robot
2022-04-07BtAudio: Prevent unlink dead binderJosh Wu
Tag: #stability Bug: 227029886 Test: manually kill bt process Change-Id: Ic976a33feb5a3636ab828637faf0ba109f5948ce
2022-03-31Freeze AIDL APIs for TMJiyong Park
Bug: 225941299 Test: m Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-29Add A2dp decode software and offload session typeAlice Kuo
1. Add the interface 2. Add the default implementation 3. Add VTS Bug: 206601670 Test: atest VtsHalBluetoothAudioTargetTest Change-Id: I54d8037eeb09312c9f1fb75d2167cc50ac7cae8c
2022-03-08SpatialAudio: Export LatencyMode functions to BluetoothAudioSessionCheney Ni
BluetoothAudioSession utility supports latency control functions, so audio_bluetooth_hw can get / set the LatencyMode easily. Bug: 214615268 Bug: 218708371 Test: build Tag: #feature Change-Id: Ia85581c74fc91f406309539755d60d36c173f5e0
2022-02-24Merge "SpatialAudio: Init codec and buffer size from startStream()"Chen Chen
2022-02-24SpatialAudio: Init codec and buffer size from startStream()Chen Chen
Bug: 214615268 Test: build Tag: #feature Change-Id: I26d82da0dfc82fcb6cab6b879bced8e892e8cf44
2022-02-24Merge "Add timed out test files to tidy_timeout_srcs"Chih-hung Hsieh
2022-02-18Add timed out test files to tidy_timeout_srcsChih-Hung Hsieh
* Timed out runs do not show any warning messages. * These test files cannot finish clang-tidy runs with the following settings: TIDY_TIMEOUT=90 WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1 * When TIDY_TIMEOUT is set, in Android continuous builds, tidy_timeout_srcs files will not be compiled by clang-tidy. When developers build locally without TIDY_TIMEOUT, tidy_timeout_srcs files will be compiled. * Some of these test modules may be split into smaller ones, or disable some time consuming checks, and then enable clang-tidy to run within limited time. Bug: 201099167 Test: make droid tidy-hardware-interfaces_subset Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
2022-02-17BtAudio: Enable LE Audio software encoding VTSJosh Wu
Test: atest VtsHalBluetoothAudioTargetTest Bug: 203490261 Change-Id: I0ef572dbc7983e2c9939e1b6a3540d88a21743d9
2022-02-16SpatialAudio: Fix VTS for the new parameter in AIDL. 2 more VTSChen Chen
functions was added while the AIDL was changed so they are not included in the CL of changing AIDL Bug: 214615268 Bug: 219977932 Test: Build Change-Id: Ifbbfe2f9091367609b63fbb6ee118c44d447ec98
2022-02-16Merge "SpatialAudio: Set low latency allowed signal at startSession The ↵Chen Chen
logic is that to send FREE and LOW_LATENCY to audio at startSession, if bt receives setLowLatencyModeAllowed(true) before start session. If the parameter false, or bt doesn't receive the signal at all, then bt sends FREE to audio."
2022-02-16Merge "BtAudio: Iterate reference in VTS helper"Treehugger Robot
2022-02-16Merge changes I3642c6eb,I0cf9c1ceTreehugger Robot
* changes: Minor fix for the session type in the comments Add LE audio broadcast offload vts test cases
2022-02-16Minor fix for the session type in the commentsAlice Kuo
Test: atest VtsHalBluetoothAudioTargetTest Bug: 203490261 Change-Id: I3642c6eba3024fd1959e82057a4fdd108a09aa56
2022-02-16Add LE audio broadcast offload vts test casesAlice Kuo
Bug: 219668925 Bug: 203490261 Test: atest VtsHalBluetoothAudioTargetTest Change-Id: I0cf9c1cefa6caa9437492d116641bbfcca976d9e
2022-02-15SpatialAudio: Set low latency allowed signal at startSessionChen Chen
The logic is that to send FREE and LOW_LATENCY to audio at startSession, if bt receives setLowLatencyModeAllowed(true) before start session. If the parameter false, or bt doesn't receive the signal at all, then bt sends FREE to audio. Test: build Bug: 214615268 Tag: #feature Change-Id: I895a7fc6dd5d1567dce64ddcf967550f5cac882b
2022-02-15BtAudio: Handle dataInterval in LeAudioSW VTSJosh Wu
Test: atest VtsHalBluetoothAudioTargetTest Bug: 203490261 Change-Id: I447d0e74b6b1af2959cc133437e0dd7216814369
2022-02-15BtAudio: Iterate reference in VTS helperJosh Wu
Test: atest VtsHalBluetoothAudioTargetTest Bug: 203490261 Change-Id: Ie640c2444e523984a04378b96916d0a3e63f49cd
2022-02-15Add Bluetooth Audio AIDL HAL VTSJosh Wu
Test: atest VtsHalBluetoothAudioTargetTest Bug: 203490261 Change-Id: I1583cec9eacb18cfb285b3d12ca876def61342bd
2022-02-14Merge "SpatialAudio: Remove codec interface from audio HAL. Codec switch ↵Chen Chen
logic will be inside Bluetooth"
2022-02-11SpatialAudio: Remove codec interface from audio HAL. Codec switch logic will ↵Chen Chen
be inside Bluetooth Bug: 214615268 Test: Build Tag: #feature Change-Id: Ic2a997614e16abfd745c80dc87ecf5d340497691
2022-02-11Merge "Spatial Audio: Implement setLowLatencyAllowed functions in ↵Chen Chen
BluetoothAudioSession"
2022-02-10Spatial Audio: Implement setLowLatencyAllowed functions in BluetoothAudioSessionChen Chen
Bug: 214615268 Test: Build: Tag: #feature Change-Id: I01c182b46fe72ee8f7c8e12e59ea2413c423b061
2022-02-10Merge "BtAudio: Add AIDL loader entry"Treehugger Robot
2022-02-10Merge "Add the BluetoothAudioStatus for the reconfiguration"Alice Kuo
2022-02-10Merge changes from topic "bt-broadcast-aidl"Treehugger Robot
* changes: BT: Broadcast AIDL more handle on the default implementation BT: Broadcast AIDL simplification
2022-02-09BT: Broadcast AIDL more handle on the default implementationAlice Kuo
* seperate the provider for unicast and broadcast * add handle for the audio configuration broadcast offload Bug: 150670922 Test: make Tag: #feature Change-Id: Ie41496be24e3742b2f1fa438bc4ed4b127e72dd0
2022-02-09BT: Broadcast AIDL simplificationJack He
* Extract broadcast as separate session type * Remove the union from LeAudioConfiguration, but use it for unicast configuration only * Simplify default implementations Bug: 15067092 Test: make Tag: #feature Change-Id: Ib6c3ffb6396a71011abb03a374e58ce27fdf3f39
2022-02-09Add the BluetoothAudioStatus for the reconfigurationAlice Kuo
As the PortStatusCallback to notify the control or the audio configuration change, audio HAL may need the information to know the BluetoothAudioStatus. Bug: 197296692 Test: make build Change-Id: I213ac4389693a6e098ebd3f8ae7e6e66ae8675be
2022-02-09Merge "Spatial Audio: Move setLowLatencyModeAllowed from hidl to aidl"Treehugger Robot
2022-02-08Merge "BT: Aptx-Adaptive AIDL changes"Alice Kuo
2022-02-08Spatial Audio: Move setLowLatencyModeAllowed from hidl to aidlChen Chen
Bug: 214615268 Tag: #feature Test: build Change-Id: I37d1ae3408d2ca7ce11d917b1173abb56bde8e76
2022-02-08Merge "Spatial Audio: Add setLatencyMode and setCodecType API with empty ↵Chen Chen
implementation"
2022-02-08Spatial Audio: Add setLatencyMode and setCodecType API with emptyChen Chen
implementation Bug: 216832331 Test: build Tag: #feature Change-Id: I0ccfee39d1f86da81b50f0757de87b6645baacf8
2022-02-04Move owner file on the top of bluetooth.audio HAL folderAlice Kuo
Bug: 204585486 Test: NA Change-Id: I0edd3a9c98a336b5a18000060e026d878dfe7127
2022-02-03Adding bluetooth apex and min_sdk_versionRoopa Sattiraju
Bug: 206121418 Test: Compile Change-Id: I59dbd7a2b4758be4b90acfd419112e8b9e259219
2022-01-29BT: Aptx-Adaptive AIDL changesSagar Verma
Bug: 203751353 Change-Id: I65f7b4de77ff0083721069959f6ba2081a158a80
2022-01-25BtAudio: Remove "V1" in default AIDL impl nameJosh Wu
Test: m android.hardware.bluetooth.audio-impl Bug: 203490261 Change-Id: Ie4cfeccc797cb0b5e5ab97f913459b1ffc05431b
2022-01-25BtAudio: Add AIDL loader entryJosh Wu
Bug: 203490261 Test: m android.hardware.bluetooth.audio-V1-impl Change-Id: I3a952bd8849e6d8c6b26793570e56ae5bf4bba4d
2022-01-21Merge "Add a2dp vendor codec extension"Treehugger Robot
2022-01-21Merge "BtAudio: Add OWNERS to aidl implmentation and VTS, hidl 2.2 handling"Treehugger Robot
2022-01-22BtAudio: Add OWNERS to aidl implmentation and VTS, hidl 2.2 handlingJosh Wu
Bug: 203490261 Test: none Change-Id: I004bbb49a1f6755ad6f2b1a8ac25bc1db9e19f48
2022-01-21BtAudio: Fix default implementation typosJosh Wu
Bug: 203490261 Test: m android.hardware.bluetooth.audio-V1-impl Change-Id: I80f39d844ec5bb44830341f310143b3626593d79