summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothLeBroadcastAssistant.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-09BluetoothLeAudio: Fix null parameters checkƁukasz Rymanowski
Bug: 218799288 Test: Compile Change-Id: I6ee06113b82d0ade755b3373a25ffe78859afd63
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-02LE Audio: Expose more system APIsJakub Tyszkowski
* Expose two intentss: * ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED * ACTION_LE_AUDIO_GROUP_NODE_STATUS_CHANGED * Settings and Telecom are interested in the group node status information, therefore lets expose the API as a SystemApi * Reduce scope of HAP connection state API to system API * Expose more system APIs for HAP client * To select different hearing presets * To get notified about changes in hearing presets * To get all available hearing presets * Expose more system APIs for CSIP * To make error codes more visible for the API caller * Expose GROUP_ID_INVALID to public API for getGroupId() Bug: 150670922 Test: atest BluetoothInstrumentationTests Tag: #feature Sponsor: siyuanh@ Ignore-AOSP-First: earlier change merged on internal Change-Id: If87e0863f23b989632603ac1253e4a77bfff028d Merged-In: If87e0863f23b989632603ac1253e4a77bfff028d (cherry picked from commit a89f2e1a02f986de04078ee399f39ad09d0c53f8)
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)