aboutsummaryrefslogtreecommitdiff
path: root/system/stack/test
Commit message (Collapse)AuthorAgeFilesLines
* test: Add mock function map to target net_test_stack_btmChris Manton2023-03-031-2/+0
| | | | | | | | | | Bug: 270218433 Bug: 254473601 Test: /data/net_test_stack_btm64 --gtest_repeat=100000 Ignore-AOSP-First: cherry-pick Merged-In: Idfd4e501e453864798f9bb1b00f35dd4fdef6db0 Change-Id: I9b8b0fd3821050575ae367c3f53b6aa5491897ac
* gatts load bonded for service changeJosh Wu2023-02-161-0/+88
| | | | | | | | | | | | | | | | Prepare list of bonded devices that will need service change updates after BT restarted. Cherry-picked from wear os Bug: 263323082 Bug: 162948473 Bug: 251157966 Test: atest net_test_stack Change-Id: I7f3541a21e2c4a629498fd91d3a6438135a760e0 (cherry picked from commit 5f3719499b6ca547086d5a2ad8f6d3fca748deb3) (cherry picked from commit 3d83a0ff89901119d8229ae4f143e7df8c9f2d2d) Merged-In: I7f3541a21e2c4a629498fd91d3a6438135a760e0
* Make L2CAP credit config modifiableMehmet Murat Sevim2023-02-063-2/+11
| | | | | | | | | | | | | | Value is overridable by build time system properties: bluetooth.l2cap.le.credit_default.value bluetooth.l2cap.le.credit_threshold.value Bug: 263323082 Bug: 174290912 Test: Manual test (cherry picked from commit 5fa1707fd2d7ed5d040ab8aa2c35d07a3ce920fa) (cherry picked from commit 4f221c977f4c2a4329cd0679e23541c3b672a6f0) Merged-In: Ic27f572e73527bdf1af47e3781372043f8e310be Change-Id: Iaced125567764ab5c9d373f10fea6417c589f3e0
* unittest: StackL2capTest.l2c_lcc_proc_pduChris Manton2023-02-061-7/+136
| | | | | | | | | | | | Bug: 263323082 Bug: 253510668 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Ib01c4f58162c22ed836dfee8c89079d7c974a19f (cherry picked from commit c46500000024139f719df0e7b37363447739fea6) Merged-In: Ib01c4f58162c22ed836dfee8c89079d7c974a19f
* connection_manager: Keep on accept list if backgroundChris Manton2023-01-202-0/+3
| | | | | | | | | | Bug: 266049504 Test: gd/cert/run Tag: #refactor Ignore-AOSP-First: cherry-pick Merged-In: I4a715be80adb14c0650aca1dfde0f922bffa59a1 Change-Id: I4a715be80adb14c0650aca1dfde0f922bffa59a1
* Merge "eatt: Fix eatt device duplicate" into tm-qpr-devTreeHugger Robot2023-01-101-0/+95
|\
| * eatt: Fix eatt device duplicateJakub Tyszkowski2023-01-101-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | The eatt_device can already exist when the supported features callback is called. We should first check for the existing device to avoid adding another one with the same address. Bug: 263408289 Tag: #feature Test: atest --host net_test_eatt --no-bazel-mode Change-Id: I614d1b258ffed6554ea52da78815f871946bb86f Merged-In: I614d1b258ffed6554ea52da78815f871946bb86f (cherry picked from commit e43e289a02d0b37530e20f04b945dbe08e8234af)
* | Add regression test for b/255304475 am: 362a914803 am: b0fb426711Hui Peng2023-01-101-0/+8
|\ \ | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/20857291 Change-Id: I419630660076c4db3c856976249e8a3c8d4ed357 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * \ Add regression test for b/255304475 am: 362a914803Hui Peng2023-01-101-0/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/20857291 Change-Id: Ia8f04abf6481085f3c80e35eea3c177c95c98eba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | Add regression test for b/255304475Hui Peng2023-01-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 255304475 Test: atest net_test_stack_btm Ignore-AOSP-First: security Tag: #security Merged-In: I3d1523b6dbadf75f682663504a0c932624c33d08 Change-Id: I3d1523b6dbadf75f682663504a0c932624c33d08
* | | | Add regression test for b/260078907 am: 27200cfeed am: 1bd1c2684cHui Peng2023-01-101-0/+43
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/20857290 Change-Id: Icd365f57ca01bc65bdd33ab8b7e498e83f1c3cb3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * | | Add regression test for b/260078907 am: 27200cfeedHui Peng2023-01-101-0/+43
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/20857290 Change-Id: I232cfa87086356463a432977f26ba7ad0b5f030a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | Add regression test for b/260078907Hui Peng2023-01-101-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 260078907 Test: atest net_test_stack_btm Ignore-AOSP-First: security Tag: #security Merged-In: Ie8c6cb188cf7cde94d2f7dc0db04b3de51e08678 Change-Id: Ie8c6cb188cf7cde94d2f7dc0db04b3de51e08678
| * | | Add regression test for b/258057241 am: 5f8babc995Hui Peng2022-12-151-0/+141
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/20657354 Change-Id: Ie14424149acf64b3ffaff0cbd3c156bfba5a5273 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | Add regression test for b/258057241Hui Peng2022-12-131-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 258057241 Test: atest net_test_stack_avdtp Ignore-AOSP-First: security Merged-In: I9c87e30ed58e7ad6a34ab7c96b0a8fb06324ad54 Change-Id: I9c87e30ed58e7ad6a34ab7c96b0a8fb06324ad54
| * | | Merge "Fix potential interger overflow when parsing vendor response" into ↵TreeHugger Robot2022-08-091-0/+50
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tm-dev am: 4f88fd62e4 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/17530926 Change-Id: Iede5d5ab7194840c2400d048f497fa8ccd1a6a44 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | Fix potential interger overflow when parsing vendor responseTed Wang2022-08-041-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add check for str_len to prevent potential OOB read in vendor response. Bug: 205570663 Tag: #security Test: net_test_stack:StackAvrcpTest Ignore-AOSP-First: Security Change-Id: Iea2c3e17c2c8cc56468c4456822e1c4c5c15f5bc Merged-Id: Iea2c3e17c2c8cc56468c4456822e1c4c5c15f5bc
* | | | Merge "Use AdvertiseDataParser::GetFieldByType in loops properly" into ↵Jakub Pawłowski2023-01-101-0/+36
|\ \ \ \ | | | | | | | | | | | | | | | tm-qpr-dev
| * | | | Use AdvertiseDataParser::GetFieldByType in loops properlyJakub Pawlowski2023-01-091-0/+36
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the number of remaining bytes is not computed correctly, which may led to buffer overflows. Bug: 264568677 Test: atest AdvertiseDataParserTest Merged-In: I8004f471859fb373a4fe0fbe295be7b258481d9f Change-Id: I8004f471859fb373a4fe0fbe295be7b258481d9f
* / | | btm_iso: Add ISO tracking to btm dumpsysŁukasz Rymanowski2023-01-061-0/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example logs: shim::legacy::btm 2023-01-05 16:13:22.411 ISO Establish CIS : xx:xx:xx:xx:dc:71 handle:0x0041 shim::legacy::btm 2023-01-05 16:13:23.105 ISO CIS established event : xx:xx:xx:xx:dc:71 cis_handle:0x0061 status:Success shim::legacy::btm 2023-01-05 16:13:23.210 ISO Setup data path : xx:xx:xx:xx:dc:71 handle:0x0061, dir:0x00, path_id:0x01, codec_id:0x03 shim::legacy::btm 2023-01-05 16:13:23.211 ISO Setup data path complete : xx:xx:xx:xx:dc:71 handle:0x0061, status:Success shim::legacy::btm 2023-01-05 16:13:23.289 ISO Remove data path : xx:xx:xx:xx:13:0d handle:0x0060, dir:0x01 shim::legacy::btm 2023-01-05 16:13:23.290 ISO Remove data path complete: xx:xx:xx:xx:13:0d handle:0x0060, status:Success shim::legacy::btm 2023-01-05 16:13:23.290 ISO Disconnect CIS : xx:xx:xx:xx:13:0d handle:0x0060, reason:Remote Terminated Connection shim::legacy::btm 2023-01-05 16:13:23.329 ISO CIS disconnected : xx:xx:xx:xx:13:0d cis_handle:0x0060, reason:Local Terminated Connection shim::legacy::btm 2023-01-05 16:13:23.329 ISO Remove data path : xx:xx:xx:xx:dc:71 handle:0x0061, dir:0x01 shim::legacy::btm 2023-01-05 16:13:23.330 ISO Remove data path complete: xx:xx:xx:xx:dc:71 handle:0x0061, status:Success shim::legacy::btm 2023-01-05 16:13:23.331 ISO Disconnect CIS : xx:xx:xx:xx:dc:71 handle:0x0061, reason:Remote Terminated Connection shim::legacy::btm 2023-01-05 16:13:23.451 ISO CIS disconnected : xx:xx:xx:xx:dc:71 cis_handle:0x0061, reason:Local Terminated Connection shim::legacy::btm 2023-01-05 16:13:23.451 ISO CIG Remove : xx:xx:xx:xx:00:00 cig_id:0x02 (f:0) shim::legacy::btm 2023-01-05 16:13:23.453 ISO CIG Remove complete : xx:xx:xx:xx:00:00 cig_id:0x02, status: Success shim::legacy::btm 2023-01-05 16:13:23.694 ISO CIG Create : xx:xx:xx:xx:00:00 cig_id:0x02, size: 2 shim::legacy::btm 2023-01-05 16:13:23.695 ISO CIG Create complete : xx:xx:xx:xx:00:00 cig_id:0x02, status: Success shim::legacy::btm 2023-01-05 16:13:24.051 ISO Establish CIS : xx:xx:xx:xx:13:0d handle:0x0040 shim::legacy::btm 2023-01-05 16:13:24.051 ISO Establish CIS : xx:xx:xx:xx:dc:71 handle:0x0041 Bug: 262646759 Tag: #feature Test: atest net_test_btm_iso Test: manual Merged-In: I08a0c3edadceaa4dc2ed058c2de66b528fa82f67 Change-Id: I08a0c3edadceaa4dc2ed058c2de66b528fa82f67 (cherry picked from commit d41047eabaaa975297201aac9e00d99368590967)
* | | Merge "Testing: Disable rfcomm unit tests" into tm-qpr-devDavid Duarte2023-01-051-7/+7
|\ \ \
| * | | Testing: Disable rfcomm unit testsChris Manton2023-01-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests require significant overhaul to modernize functionality Bug: 255042467 Bug: 260917531 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Iccc955d55ceaf0c9948cb4034fe3708752eb2676 (cherry picked from commit afe009b2878f71e6216231972afdb9d95466ce9a) Merged-In: Iccc955d55ceaf0c9948cb4034fe3708752eb2676
* | | | leaudio: Add more logs for TA in dumpsysŁukasz Rymanowski2023-01-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 264225824 Test: atest BluetoothInstrumentationTests Tag: #feature Merged-In: Iba4ba6959d477f145b5756297e9aede984e1b888 Change-Id: Iba4ba6959d477f145b5756297e9aede984e1b888 (cherry picked from commit fba7f74ec49bca7726375799d5dbc38b6f42f3b6)
* | | | net_test_stack_a2dp_codecs_native: Copy module_controller of ↵David Duarte2023-01-031-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AndroidTestTemplate.xml The bluetooth apex name is now com.google.android.btservices. com.google.android.bluetooth is preventing this from running inside MTS Change-Id: I9876248e9e3f1da6516a14cc0d45b9cc68eb7e85 Fix: 264231212 Test: None
* | | connection_manager: Integrate targeted annoucement filteringŁukasz Rymanowski2022-12-191-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch, targeted annoucement will be filtered in the connection manager and when found, the direct connect will be triggered Bug: 248340126 Test: atest BluetoothInstrumentationTests Tag: #feature Test: manual testing Merged-In: Ia9a243772a77a90c78100a1d6e1a51483cf2e3b5 Change-Id: Ia9a243772a77a90c78100a1d6e1a51483cf2e3b5 (cherry picked from commit 5dffb22d0a5eeb2ec43c48b0f43ddb1ed3c0d2cf)
* | | connection_manager: Add initial support for target announcementsŁukasz Rymanowski2022-12-191-2/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend connection manager to handle target announcement. Goal: 1. if there are multiple user for single device and at least one of them is expecting to use target annoucements, then only scan filtering for targeted annoucements shall be used 2. When user requested targeted annoucement usage is removed, and there are other users interested in background conneect, then device shall be added back to the accept list Bug: 248340126 Test: atest BluetoothInstrumentationTests Test: atest --host net_test_gatt_conn_multiplexing Tag: #feature Merged-In: I00f30dcccbdb3d8712d49f15c9d8d7bae60663f6 Change-Id: I00f30dcccbdb3d8712d49f15c9d8d7bae60663f6 (cherry picked from commit 99abc724a9da8e6f6434934c981e05e9fbe81cc5)
* | | Add regression test for b/258057241Hui Peng2022-12-131-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 258057241 Test: atest net_test_stack_avdtp Ignore-AOSP-First: security Merged-In: I9c87e30ed58e7ad6a34ab7c96b0a8fb06324ad54 Change-Id: I9c87e30ed58e7ad6a34ab7c96b0a8fb06324ad54
* | | GD: Init flags default in nativeWilliam Escande2022-12-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce flags duplication by using only GD as source of truth. This will avoid adding flag and forgetting to put them in the java side Adding the default value in rust Bug: 251328572 Test: build (rust) Test: check logs at bluetooth boot Merged-In: I317db26698caa477cf71fe30d1be0c91212236ad Change-Id: I317db26698caa477cf71fe30d1be0c91212236ad (cherry picked from commit e9d9dd7317cb1c6266dc75943764229331249b02)
* | | SDP: Add feature flag for serializationWilliam Escande2022-12-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag is enabled by default Bug: 246022810 Test: atest net_test_stack_sdp Tag: #feature Merged-In: Ib1ab0749e0fcb194e956b2bddce7e3b0cfd6c081 Change-Id: Ib1ab0749e0fcb194e956b2bddce7e3b0cfd6c081 (cherry picked from commit a129f0118678f27a350a70e628c8d0d903baf9b4)
* | | SDP: TEST Handle race condition in HID SDPWilliam Escande2022-12-061-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add race condition test Bug: 246022810 Test: atest net_test_stack_sdp Tag: #feature Merged-In: I97ca9cff76e6249f61c7ad2ab2fbf30941780e71 Change-Id: I97ca9cff76e6249f61c7ad2ab2fbf30941780e71 (cherry picked from commit a7c5ec63863775746575dd07c78db96cfad27b49)
* | | SDP: TEST Serialize sdp connections from profilesWilliam Escande2022-12-061-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add serialize test Bug: 246022810 Test: atest net_test_stack_sdp Merged-In: I5e5e7e999559c26380ad2ebfb6c27ddaa6297e63 Change-Id: I5e5e7e999559c26380ad2ebfb6c27ddaa6297e63 (cherry picked from commit 907105060a126ebcc423602a588786a06e90116a)
* | | Prepare SDP for convergenceWilliam Escande2022-12-063-41/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move sdp test to its own folder and adding them to mts_default for coverage tracking Add basic test for service_search_request Bug: 246022810 Test: atest net_test_stack_sdp Tag: #refactor Merged-In: Ic9c80556883e9a84a93bf3757f8b7bb0d8ea0748 Change-Id: Ic9c80556883e9a84a93bf3757f8b7bb0d8ea0748 (cherry picked from commit 261839848de1bb6e818ea5629f8aef6d60fa6c77)
* | | Add stack/btm/btm_ble_int_types::btm_ble_sec_req_act_textChris Manton2022-12-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 254884279 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Ignore-AOSP-First: Cherry-pick Merged-In: Iea3d3c68fa63ef3f25ee6242d57d6097eb433317 Change-Id: Iea3d3c68fa63ef3f25ee6242d57d6097eb433317
* | | Improve SBC unit test coverage.Qasim Javed2022-11-111-11/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 256013806 Tag: #refactor Test: atest net_test_stack_a2dp_codecs_native Ignore-AOSP-First: presubmit fails on AOSP because the OPUS codec only exists on internal master Change-Id: I35a545a82162257b25da7fa0d498c1a85d70f6ff
* | | Improve AAC unit test coverageQasim Javed2022-11-101-11/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 256013806 Tag: #refactor Test: atest net_test_stack_a2dp_codecs_native Ignore-AOSP-First: presubmit fails on AOSP because the OPUS codec only exists on internal master Change-Id: I75d66d970fe7e00aa6147c96267e2ddd9a369923
* | | OPUS codec (wrapper) unit tests.Qasim Javed2022-11-101-0/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 256013806 Tag: #refactor Test: atest net_test_stack_a2dp_codecs_native Ignore-AOSP-First: presubmit fails on AOSP because the OPUS codec only exists on internal master Change-Id: I76a315824565e25dc270014251b3b82250e4cd25
* | | SBC codec (wrapper) unit tests.Qasim Javed2022-11-101-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 256013806 Tag: #refactor Test: atest net_test_stack_a2dp_codecs_native Ignore-AOSP-First: presubmit fails on AOSP because the OPUS codec only exists on internal master Change-Id: I124ffe4c91e353cde83a93e98162bde277f847e8
* | | [Pandora] - LDAC codec unit testsCharlie Boutier2022-11-101-0/+160
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 256013806 Tag: #refactor Test: atest net_test_stack_a2dp_codecs_native Change-Id: Ia1f9b52d5dc695e4f27d650c580f83be1f236533
* | | AAC codec (wrapper) unit tests.Qasim Javed2022-11-1010-0/+541
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 256013806 Tag: #refactor Test: atest net_test_stack_a2dp_codecs_native Ignore-AOSP-First: presubmit fails on AOSP because the OPUS codec only exists on internal master Change-Id: Ide7f361aab134a4d2579398ad9673f453454afa0
* | | Add regression test for aptxWilliam Escande2022-11-082-220/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore-AOSP-First: Cherry-pick Test: atest --host libaptx_enc_tests Test: atest --host libaptxhd_enc_tests Bug: 226572369 Merged-In: Ib717faa54ca87ecec46c33a3333f52f87d9f40c3 Change-Id: Ib717faa54ca87ecec46c33a3333f52f87d9f40c3
* | | Add sco_state_textWang Fei2022-10-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return default string when sco state string converting If we do not return the default string, then the return value will be undefined behavior. Then the bluetooth may be crash. Test: Restart bluetooth, connect to other remote device, then watch if it running OK Bug: 254884279 Ignore-AOSP-First: Cherry-pick Merged-In: Iace522413d61acc6b99c65e9ebf1a8ece6ac0e6f Change-Id: Iace522413d61acc6b99c65e9ebf1a8ece6ac0e6f
* | | le_audio: Disable ASEs after 3sec from suspend requestGrzegorz Kołodziejczyk2022-10-072-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch adds possibility to disable streaming ASEs after defined (default 3 second) time. This also extends a little bit release timeout after suspend request to seperate those two operations on ASEs. Bug: 240145681 Tag: #feature Sponsor: jpawlowski@ Test: atest bluetooth_le_audio_test Test: atest bluetooth_le_audio_client_test Merged-In: Ic4775ed392dcc6a99a73204834ff903789c0b784 Change-Id: Ic4775ed392dcc6a99a73204834ff903789c0b784 (cherry picked from commit 0c40c9818ec7138ea572b898dc319950697a163b)
* | | eatt: Fix getting channel with the queue data to sendŁukasz Rymanowski2022-10-032-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When GATT is asking about channel with a non empty data queue to send, EATT shall check also if the outstanding command is scheduled to send or maybe is already waiting for the response. Otherwise, we might end up with having channel not beeing used. Bug: 249992170 Test: atest BluetoothInstrumentationTests Test: atest --host net_test_eatt Tag: #feature Merged-In: Idceaf76847851cc8e256da4a3c4069c9e5cc93fd Change-Id: Idceaf76847851cc8e256da4a3c4069c9e5cc93fd (cherry picked from commit e84baf9ca92c09f57cd0d643c73b2e4620a7a12c)
* | | leaudio: Recover on CIG not being removed on BT OFFŁukasz Rymanowski2022-09-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If BT OFF is done while ISO streming, stack might not have time to remove CIG, as there are still CISes avalable. Current stack design does not allow to wait for CIS to be disconnected in such a case, therefor this patch, which tries to recover when Creating CIG will endup with COMMAND DISALLOWED. Note: This happens only when BT Controller is not Reseted on BT OFF due to other activities. Bug: 228351333 Bug: 246304525 Tag: #feature Test: atest BluetoothInstrumentationTests Test: manual: BT OFF while streaming Le Audio, then BT ON and start stream Merged-In: I0a86e8851491cf147fe6f84ddd86be3466ef6c64 Change-Id: I0a86e8851491cf147fe6f84ddd86be3466ef6c64 (cherry picked from commit 0f368dfd8222a5d0345142d994c5df5280adc81e)
* | | Merge "Add BMW carkit interop avrcp 1.3 only" into tm-qpr-devTom Huang2022-09-141-1/+27
|\ \ \
| * | | Add BMW carkit interop avrcp 1.3 onlykuanyuhuang2022-09-131-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some BMW carkits have no sound issue when using avrcp version higher than 1.3. Tag: #compatibility Bug: 242028913 Test: atest net_test_stack_sdp, manually test on carkit Change-Id: I1676095505c188f84ffa23532481c60f481823da Merged-In: I1676095505c188f84ffa23532481c60f481823da
* | | | LeAudio: Add upper tester flag for multiple CCIDJakub Tyszkowski2022-08-262-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to pass some of the qualification tests. Bug: 240145685 Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test bluetooth_test_broadcaster_state_machine bluetooth_test_broadcaster --no-bazel-mode Change-Id: I47eca845ee07cdabdf093389bc5810cf9eaf2d5b Merged-In: I47eca845ee07cdabdf093389bc5810cf9eaf2d5b (cherry picked from commit 69a2cd2b4405bf20b42f0798dca938a80581e657)
* | | | eatt/l2cap: Add upper tester for L2CAP test casesŁukasz Rymanowski2022-08-234-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds upper tester for L2CAP ECOC testing e.g. - trigger sending data - trigger reconfiguration - trigger L2CAP ECOC creation as a peripheral - initiate ECOC with configurable number of channels - configure minimum encryption key size - force all profiles to use EATT Bug: 242033442 Bug: 242032465 Bug: 237399985 Test: PTS Testing Test: atest BluetoothInstrumentationTests Tag: #feature Merged-In: Iee13f61149381dc1adec485bfc6dd216361ad1b9 Change-Id: Iee13f61149381dc1adec485bfc6dd216361ad1b9 (cherry picked from commit 8512f5bb9fdf285f8c6901f0df33f655a0ce9fd4)
* | | | Merge "Eatt: Improve colision handling" into tm-qpr-devTreeHugger Robot2022-08-221-3/+7
|\ \ \ \
| * | | | Eatt: Improve colision handlingŁukasz Rymanowski2022-08-201-3/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this patch we make sure to act on the collision only whe there is no pending channels and all the requested channels has been rejected. Bug: 237399985 Test: L2CAP PTS tests Test: atest BluetoothInstrumentationTests Tag: #feature Merged-In: Iff0818bbef1a684f7cb1740584a14c9457a3cde1 Change-Id: Iff0818bbef1a684f7cb1740584a14c9457a3cde1 (cherry picked from commit 5c6f21c9e5be913c6bca93f9a9674b7fda07c629)