summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothLeBroadcastReceiveState.java
AgeCommit message (Collapse)Author
2022-04-28BASS: PA_SYNC_STATE_FAILED_TO_SYNCHRONIZE in allowed for paSyncStateJack He
* Missed this value in earlier code iteration Test: atest android.bluetooth.cts.BluetoothLeBroadcastReceiveStateTest Bug: 230013261 Fixes: 230013261 Change-Id: I10c1fc206b7bdf7bf97e80bf1bc579e936021f37 Merged-In: I10c1fc206b7bdf7bf97e80bf1bc579e936021f37 (cherry picked from commit 81ed5b53a0e1ea5bc03ae412cca3425eedc28095)
2022-03-18Broadcast: Strict argument checking for data structuresJack He
* Require @Nonnull elements to be not null when building or constructing objects * Enfore argument range Bug: 218683032 Test: make, cts Tag: #feature Change-Id: I53a6657323c9b93c971c9f43994a4a7c6b88e40d
2022-02-02Introduce LE audio broadcast system APIsJack He
* 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)