summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothLeBroadcastAssistantCallback.java
AgeCommit message (Collapse)Author
2022-04-28BASS: Fix BASS client service to pass CTS testsJack He
* Through NullPointerException when asserting on non-null arguments * Invoke error callback when sink device is not connected * Assert on parameter value at binder client side * Clear binder identity when checking DeviceConfig values Test: atest CtsBluetoothTestCases Bug: 229790402 Fixes: 229790402 Ignore-AOSP-First: Fixing CTS tests on T Change-Id: Ie19cf24d2fe20948494643f3ce179d1a2c3a290f Merged-In: Ie19cf24d2fe20948494643f3ce179d1a2c3a290f (cherry picked from commit 9d0518ee6515bf0aeccdbd428485e7bd38f68f0b)
2022-03-02BT LE broadcast assistant implementationxiaowang
BT LE broadcast assistant implementation Test: compile Tag: #feature sponsor: siyuanh@ Change-Id: Ia183608f3551319f79f8e2aa933445346c42c028 Signed-off-by: Myles Watson <mylesgw@google.com>
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)
2022-01-19Add connection state change callback and shorten names.Qasim Javed
Bug: 205174140 Bug: 208222452 Tag: #feature Test: gd/cert/run Change-Id: I0f9cd2cc744a3d3def7869fa374457888bc24914
2022-01-06Add BluetoothLeBroadcastAssistantCallback.Qasim Javed
Bug: 205174140 Bug: 208222452 Tag: #feature Test: gd/cert/run Change-Id: I302f2d22e6f295db27c4309b7a30dd867a264439