summaryrefslogtreecommitdiff
path: root/packages/SettingsLib/src/com/android/settingslib/bluetooth/CsipDeviceManager.java
Commit message (Collapse)AuthorAgeFilesLines
* [LE unicast] member device add PhonebookAccessPermissionSongFerngWang2022-10-141-1/+8
| | | | | | | | | | | Add PhonebookAccessPermission into the member device before paring the member device by CSIP. Bug: 253541065 Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest local test and result is on bug (pass) Change-Id: I37561dee7c104d869fad0eb06b37d4b4afd0b0fb
* Add more log for analysisSongFerngWang2022-09-081-0/+3
| | | | | | Bug: 245657079 Test: NA. It is log only. Change-Id: If2c88cff803a8c09e6d44eda87abd127862de5a4
* [BT LE unicast] clear the GroupId when user click 'Forget'SongFerngWang2022-08-251-2/+3
| | | | | | | | | | | | - To clear the groupId after device unpaired. - switchMemberDeviceContent don't change the member list. Bug: 240103816 Test: build pass. [pass] make RunSettingsLibRoboTests -j40 ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest [psss] make RunSettingsLibRoboTests -j40 ROBOTEST_FILTER=CachedBluetoothDeviceTest Change-Id: I65dc254f33236fa7fad08a07e56187962700e6c6
* [LE Unicast] Using the active device as main device after groupingSongFerngWang2022-06-221-17/+73
| | | | | | | | | | | After onGroupIdChanged, the CsipDeviceManager assigns the first device with the same groupId as main device. It is not correct since the main device shouble be the active device. This issue causes the summary can't shows 'Active' at the Settings. Bug: 232892046 Test: Build pass Change-Id: I00e5471b9315c896b8c16723ad37d66a922c27e4
* Rename CachedBluetoothDevice.setMemberDevice to addMemberDeviceHyundo Moon2022-05-041-2/+2
| | | | | | | | Also fixes some typos. Test: builds successfully Change-Id: I39242b40ebe154b8b89f00f48ea320b18f56ecd7 Merged-In: I39242b40ebe154b8b89f00f48ea320b18f56ecd7
* Merge "Fix the set member size check error" am: 0c02dc46e1 am: 519f76e740 ↵Treehugger Robot2021-12-151-2/+2
|\ | | | | | | | | | | | | | | am: 3c0fbb9e09 am: 6784700a9d Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1921618 Change-Id: I1e9f8c653bcbef81f7a92d7c76f8347d6496b4d7
| * Fix the set member size check errorAlice Kuo2021-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | The default member device set object are not null. We should check it by its size instead. Bug: 205507889 Bug: 150670922 Bug: 178981521 Test: make -j50 RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceManagerTest Change-Id: Iae4b2f70723c1b083ad71df1374a608a12ff6c0e
* | Group CSIP device based on CAPAlice Kuo2021-10-271-1/+1
|/ | | | | | | | | | | Enable device group based on CAP for testing, the uuid value would be changed after the specification published. Bug: 150670922 Bug: 178981521 Test: pair with the LE audio coordinated set, and make sure it works Change-Id: Ia3d0dbe496dec822fee8ae6465b81688b9e9440c
* Move set member pair handle from settingLib to settingAlice Kuo2021-10-151-12/+5
| | | | | | | | | | | | | Remove createBond from settingLib. SystemUI and Setting have the individual settingLib instance. If we trigger pairing inside settingLib, the action would be called twice. Bug: 201758444 Bug: 150670922 Test: Pair the coordinated set devices, and check the set member pairing would be done automatically without the pairing dialog Change-Id: I289b8af857530f0fb207b777d09d94549cfdf553
* csip: seamless pair with the coordinated setAlice Kuo2021-09-231-0/+23
| | | | | | | | | | | | 1. Handle the set member avaiabler intent, check the group is existing and create bond automatically. 2. Accept the paring request for the ongoing set member Bug: 150670922 Bug: 178981521 Test: pair with one of the CSIP supported device,and get bonded with the whole coordinated set Change-Id: Ia95e1ba6dccde0a4e61a9eafdef746b1415704a4
* Update CSIP base uuid devie set into a single device detail preferenceAlice Kuo2021-09-231-0/+247
Bug: 178981521 Bug: 150670922 Test: pair with two device which are a coordinated set, and make sure the UI only show one device Merged-In: I1a8d570da1af7fa4c8b3a99f8ce69d23b574e96c Change-Id: I1a8d570da1af7fa4c8b3a99f8ce69d23b574e96c