aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothLeAudioCodecConfigMetadata.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix array-related errorprone warningsCole Faust2022-09-141-1/+1
| | | | | | | | | | | | | The ArrayEquals, ArrayHashCode, ArrayToString, and ArraysAsListPrimitiveArray errorprone findings were demoted from errors to warnings. Fix existing occurrences of them so they can be made errors again. Bug: 242630963 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: Ie9d62731bef7e282d0909697963fce681c356d05 Merged-In: Ie9d62731bef7e282d0909697963fce681c356d05 (cherry picked from commit 760b18105998d241f3b1132227ea07088a5120c4)
* Implement Equals and Hash for BluetoothLeAudioCodecConfigMetadataWilliam Escande2022-04-221-0/+18
| | | | | | | | Test: atest 'CtsBluetoothTestCases:android.bluetooth.cts.BluetoothLeAudioCodecConfigMetadataTest#testCreateCodecConfigMetadataFromCopy' Fix: 230012767 Ignore-AOSP-First: Tm-dev is cut-off, cherry-picking from aosp Merged-In: I569ab7afca938b4e4f5d38bc134b14d4760f094c Change-Id: I569ab7afca938b4e4f5d38bc134b14d4760f094c
* Broadcast API adjustmentJack He2022-03-101-6/+40
| | | | | | | | | | | | | * Enforce raw bytes vs. structured value consistency in metadata classes * Enforce required parameters in builder * Rename getMaximumNumberOfBroadcast to getMaximumNumberOfBroadcasts * Added utility method to parse and serialize LTV array Fixes: 218683032 Bug: 218683032 Test: atest BluetoothInstrumentationTests, cts tests Tag: #feature Change-Id: Ia10f414bdc958b75e94276d3f645687f8b9635f9
* Introduce LE audio broadcast system APIsJack He2022-02-021-0/+200
* Rename BluetoothLeBroadcastSourceInfo to BluetoothLeBroadcastReceiveState so that it matches the name in the Bluetooth specification * Added callbacks to BluetoothLeBroadcast so that caller that wait for asynchronouze operations with reason code in the hope to reduce potential race conditions * Allow multiple broadcast to be set up on the same deivce if the device supports it * Added ScanFilter to searchForSources() method and removed selectSources() method for BluetoothLeBroadcastAssistant so that the Bluetooth stack can automatically handle periodic sync after a Broadcast source is found and only do this for a limited number of devices * Added structural APIs to store Broadcast Source and Group information * Added unknown address type in BluetoothDevice Bug: 208222281 Test: make Tag: #feature Ignore-AOSP-First: Merge conflict in master Change-Id: If4c3af658b5bc1283d76e5d1899485a487ab7626 Merged-In: If4c3af658b5bc1283d76e5d1899485a487ab7626 (cherry picked from commit 4f9d902028fbe271167547884c33fb9ec7601080)