Clean-up BTIF profile queue on profile shutdown
* Add btif_profile_cleanup(uuid) method to remove pending connection requests for individual UUIDs * Call the above method in each profile's clean-up method * Add unit tests for btif_profile_queue Bug: 63790458 Test: make, unit tests, pair and connect car kits Change-Id: I28288c295b7ca0259b2112c11b4e5a81d6f2e33c
Showing
- system/btif/Android.bp 22 additions, 0 deletionssystem/btif/Android.bp
- system/btif/include/btif_profile_queue.h 1 addition, 0 deletionssystem/btif/include/btif_profile_queue.h
- system/btif/src/btif_av.cc 2 additions, 0 deletionssystem/btif/src/btif_av.cc
- system/btif/src/btif_hf.cc 1 addition, 0 deletionssystem/btif/src/btif_hf.cc
- system/btif/src/btif_hf_client.cc 1 addition, 0 deletionssystem/btif/src/btif_hf_client.cc
- system/btif/src/btif_profile_queue.cc 47 additions, 0 deletionssystem/btif/src/btif_profile_queue.cc
- system/btif/test/btif_profile_queue_test.cc 203 additions, 0 deletionssystem/btif/test/btif_profile_queue_test.cc
- system/test/run_unit_tests.sh 1 addition, 0 deletionssystem/test/run_unit_tests.sh
Loading
Please register or sign in to comment