Csip: Add more means to get grouped devices
This change adds more convenient ways to get group members by group identifier to ease the CSIP integration in HAP and possibly other services, eg. BASS Client. It also makes the grouped device list sorted from the lowest to the highest rank, which is the order of CSIP Ordered Access procedure. Bug: 150670922 Bug: 230559809 Tag: #feature Sponsor: jpawlowski@ Test: atest BluetoothInstrumentationTests Change-Id: I765f4a82b5f3ff8d7644a86030846d79af8b6397 (cherry picked from commit d79e82df)
Showing
- android/app/jni/com_android_bluetooth_csip_set_coordinator.cpp 4 additions, 3 deletions...id/app/jni/com_android_bluetooth_csip_set_coordinator.cpp
- android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorNativeInterface.java 2 additions, 1 deletion...oid/bluetooth/csip/CsipSetCoordinatorNativeInterface.java
- android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorService.java 36 additions, 13 deletions...com/android/bluetooth/csip/CsipSetCoordinatorService.java
- android/app/src/com/android/bluetooth/csip/CsipSetCoordinatorStackEvent.java 11 additions, 0 deletions.../android/bluetooth/csip/CsipSetCoordinatorStackEvent.java
- android/app/src/com/android/bluetooth/hap/HapClientService.java 3 additions, 5 deletions...d/app/src/com/android/bluetooth/hap/HapClientService.java
- android/app/tests/unit/src/com/android/bluetooth/csip/CsipSetCoordinatorServiceTest.java 25 additions, 7 deletions...android/bluetooth/csip/CsipSetCoordinatorServiceTest.java
- android/app/tests/unit/src/com/android/bluetooth/hap/HapClientTest.java 9 additions, 11 deletions...sts/unit/src/com/android/bluetooth/hap/HapClientTest.java
- system/bta/csis/csis_client.cc 37 additions, 10 deletionssystem/bta/csis/csis_client.cc
- system/bta/csis/csis_client_test.cc 5 additions, 5 deletionssystem/bta/csis/csis_client_test.cc
- system/btif/src/btif_csis_client.cc 2 additions, 2 deletionssystem/btif/src/btif_csis_client.cc
- system/include/hardware/bt_csis.h 3 additions, 1 deletionsystem/include/hardware/bt_csis.h
Loading
Please register or sign in to comment