summaryrefslogtreecommitdiff
path: root/framework/tests
AgeCommit message (Collapse)Author
2025-03-20Merge "Add "Test cases for ...Test" to all unit tests" into main Treehugger Robot
2025-03-21Add "Test cases for ...Test" to all unit tests Ömer Faruk Yılmaz
This makes it easy to jump the source code via CTRL/CMD + click when viewing the test files in Code Search and most IDEs. Bug: 404652736 Test: atest BluetoothJavaUnitTests Flag: EXEMPT test only Change-Id: I68011122e04084441825a6a09775bcbfdd3c3058
2025-03-20Merge "BlockingAdapter: remove STATE_UNKNOWN" into main William Escande
2025-03-20BlockingAdapter: remove STATE_UNKNOWN William Escande
STATE_UNKNOWN was an attempt to enforce we are not in a transitionary state, but "isLeEnabled" already does that. This state is currently miss-behaving if the test start while bluetooth is already off. Bug: 404722316 Fix: 404722316 Test: atest CtsRangingTestCases Flag: TEST_ONLY Change-Id: I3546a3f8628d6c87fa26a28e6a9fbf8604734a1e
2025-03-20Merge "Test L2CAP LE socket creation and createBond concurrency" into main Treehugger Robot
2025-03-19Merge "Removed HID Disconnecting state verification when transport switch" ↵ Himanshu Rawat
into main
2025-03-19Merge "Unregistered HID connection change intent" into main Himanshu Rawat
2025-03-19Unregistered HID connection change intent Gopi Sakshihally Bhuthaiah
Bug: 399286751 Test: atest -v HidHeadTrackerTest Flag: TEST_ONLY Change-Id: Iadfa76bedc34c96c49dde57ddf8d76e9da3c30dc
2025-03-19Removed HID Disconnecting state verification when transport switch Gopi Sakshihally Bhuthaiah
handleMessageSetPreferredTransport() is modified to update the connection state to disconnected immediately Bug: 399286751 Bug: 374641230 Test: atest -v HidHeadTrackerTest Test: atest -v HidHostDualModeTest Flag: com.android.bluetooth.flags.ignore_unselected_hid_transport_states Change-Id: Icc6d7cd3e436cfc2ccbdcfd15e8f151f19b13725
2025-03-19Temporarily @Ignore scanForUuid_remoteFound until investigation Ömer Faruk Yılmaz
Bug: 404159990 Test: m com.android.bt Flag: EXEMPT test only Change-Id: I16bcee711334a9142b26df3870757fe4cd7567cf
2025-03-18Merge "OWNER freeze window" into main Treehugger Robot
2025-03-18Merge "Fix GattClientTest flakiness by waiting to verify connection first ↵ Treehugger Robot
before disconnecting" into main
2025-03-18OWNER freeze window William Escande
Bug: 381884217 Flag: EXEMPT only changing OWNERS Test: m . Change-Id: I9c8322fca831c81a158bac4765f79db00ddb061b
2025-03-18Fix GattClientTest flakiness by waiting to verify connection first Ömer Faruk Yılmaz
before disconnecting This change also reduces the average test time from ~7.5s to ~6.5s as the wait timeout does not need to happen if mockito can verify the call quickly earlier Fix: 357278247 Test: atest GattClientTest Flag: EXEMPT test only Change-Id: Ifed9b343098fa403dd391f1ffad107c85a65296e
2025-03-17Cleanup flag gatt_client_dynamic_allocation. Omair Kamil
Bug: 348559823 Fix: 348559823 Test: m Bluetooth Flag: EXEMPT, flag cleanup Change-Id: Ibba32335117ba9cb994ff96d3320351dbfed686d
2025-03-17Merge "Remove gatt_fix_multiple_direct_connect flag" into main Omair Kamil
2025-03-17Test L2CAP LE socket creation and createBond concurrency Srini S
- Make Remote device non-connectable over LE - Initiate LE socket connection from DUT to Remote device - Initiate LE pairing from DUT to Remote device - Start LE Advertisement from Remote device after few seconds Expectation: LE connection should be created and LE Pairing should succeed. Test: atest PairingTest Flag: TEST_ONLY Bug: 397969281 Change-Id: I5756dbd11ec56c06b27504e87476315fd0238056
2025-03-16Remove gatt_fix_multiple_direct_connect flag Kyunglyul Hyun
Bug: 349232327 Flag: com.android.bluetooth.flags.gatt_fix_multiple_direct_connect Test: atest GattClientTest Change-Id: I5dbe0fbfa917d8ecd9b759da47ceddd87da53569
2025-03-14Modified the logic to select intented device during scan Gopi Sakshihally Bhuthaiah
Bug: 402786659 Test: atest -v OobPairingTest Flag: TEST_ONLY Change-Id: I1913f28371e4846095221f78b28029beb70ca4d6
2025-03-12Standardize copyrights with missing (C) Ömer Faruk Yılmaz
Following: https://source.android.com/docs/setup/contribute/licenses#follow_license_and_copyright_best_practices This also prevents wrong formatted copyrights being copy-pasted to new files. // such as in ag/32232279 Patchset 1 Bug: 394958283 Test: atest BluetoothJavaUnitTests Flag: EXEMPT refactor no-op Change-Id: I6974689570c566ee8df02461a00b5728dddd8bcc
2025-03-07Merge "PairingWithDiscoveryTest: cleanup" into main am: 8b4153e707 am: ↵ Treehugger Robot
fa4b9900dd Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3527578 Change-Id: I2ddbc88778745821759419247dcf487b4fcffc06 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-07Merge "RfcommTest: No-op fixes" into main am: 549a355f10 am: 4279b52c68 Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3530792 Change-Id: I5ba38d6982d6886c3246020459ce9768a2f4c5a9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-07Merge "PairingWithDiscoveryTest: cleanup" into main Treehugger Robot
2025-03-07Merge "RfcommTest: No-op fixes" into main Treehugger Robot
2025-03-07Merge "Bumble BT test for multiple GATT clients" into main am: d5888d471c ↵ Christine Hallstrom
am: df9d724f10 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2779438 Change-Id: I3a4fb3dd68c1111e34250108f4ad23a2c1d5486b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-07Merge "Move RfcommTest to sockets dir" into main am: 8da34b5b8b am: a57fc71b18 Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3530791 Change-Id: Id8fbfb79dadd173ec241d7b301fdb7cec2425c90 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-07Merge "Bumble BT test for multiple GATT clients" into main Christine Hallstrom
2025-03-07PairingWithDiscoveryTest: cleanup Srini S
Test: m Bluetooth Test: atest PairingWithDiscoveryTest Flag: TEST_ONLY Bug: 401391574 Change-Id: Icb1374715221e5ccfab4bc6077460ce0f0d28f93
2025-03-06RfcommTest: No-op fixes Pomai Ahlo
- Fix spelling of "waiting" in a helper method - Fix documentation comments to be in line with best practices - Change the order of helper functions to be more intuitive Bug: 345006660 Test: atest BumbleBluetoothTests:RfcommTest Flag: TEST_ONLY Change-Id: I7382abd22c95be0f123160fe087fdaf569db3ae2
2025-03-06Move RfcommTest to sockets dir Pomai Ahlo
Bug: 345006660 Test: m com.android.bt Flag: TEST_ONLY Change-Id: Ia7fa5b46c17a49ac3a1e31e6958b1252f645ebac
2025-03-06Bumble BT test for multiple GATT clients Christine Hallstrom
Ensure two clients have separate connection operations Test: atest BumbleBluetoothTests Bug: 303251786 Change-Id: I9a36b489ca24f410cfa4920f8bf7878c291106a7
2025-03-06Merge "- Add remote disconnect test cases - Add Socket data receive test ↵ Bhakthavatsala Raghavendra
case over Encrypt only socket" into main am: 0bbbac4b68 am: 56c2c387cd Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3525792 Change-Id: I2b3fd8c764e982019639ff9116a880fe76654321 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-06Merge "- Add remote disconnect test cases - Add Socket data receive test ↵ Bhakthavatsala Raghavendra
case over Encrypt only socket" into main
2025-03-05- Add remote disconnect test cases Bhakthavatsala Raghavendra
- Add Socket data receive test case over Encrypt only socket Bug: 398846896 Test: mmm packages/module/Bluetooth Flag: Exempt, Test only Change-Id: I7f6965d199c9f947753cf1a10e2ab524981c0f65
2025-03-05Merge "Add BT pairing test case for BR/EDR bonding with Auto transport" into ↵ Srini S
main am: 367bd01f0e am: 1939753f97 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3505762 Change-Id: Ib82c786087d2add5842d64f32c3646457a98bb8b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-05Merge "Create Pairing Test infrastructure with discovery support" into main ↵ Treehugger Robot
am: a814a5b2bb am: bfd7cd87d7 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3508835 Change-Id: Ieece854d19516a13d920a109f7b379dcaf15df3c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-05Add BT pairing test case for BR/EDR bonding with Auto transport Srini S
- Make remote device discoverable over BR/EDR and non discoverable over LE - Start device discovery from Android - Initiate pairing from Android with remote device using Auto transport - Expectation: Pairing succeeds over BR/EDR Transport Test: atest PairingWithDiscoveryTest Flag: TEST_ONLY Bug: 388074343 Change-Id: I412f09304eec321f4364434f653c161d500f8c05
2025-03-05Create Pairing Test infrastructure with discovery support Srini S
- Implemented Pairing Test infrastructure for test cases to perform device discovery. - Add BT pairing test for LE bonding with Auto transport when a dual mode remote device is discoverable only over LE transport. Test: atest PairingWithDiscoveryTest Flag: TEST_ONLY Bug: 399243061 Change-Id: I8ec377d98f102f58139849480d1dd89adf3d412f
2025-03-04Merge changes Ie3e2608f,Id2f3d731,I77caad08,Ibca250aa,I0aeb6690 into main ↵ Treehugger Robot
am: 73d351bd76 am: f013ef2c4a Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3525296 Change-Id: I7617bf836733fc7806b1b23bef6cac72c39e19ed Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-04Remove flag wait_for_disconnect_before_unbond Himanshu Rawat
Test: mmm packages/modules/Bluetooth Flag: com.android.bluetooth.flags.wait_for_disconnect_before_unbond Bug: 345299969 Change-Id: Ibca250aaab6ac9ff17781a337fec263fb4a21376
2025-03-03Merge "Fix _all_ typos under all p/m/Bluetooth/**/tests folders" into main ↵ Treehugger Robot
am: 5ca2da5850 am: d1674b3c31 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3516337 Change-Id: Iaf2814ef121ea7d19a94d8891088dd83d69ceca7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-04Fix _all_ typos under all p/m/Bluetooth/**/tests folders Ömer Faruk Yılmaz
Bug: 394958283 Test: m . Test: m BluetoothInstrumentationTests Flag: Exempt refactor no-op Change-Id: I788729e0557e9375ceda765e0eb941406d6b4fc0
2025-03-03Merge "Add More testcases of LE CoC" into main am: ec8d8fce62 am: 9e5b39eec1 Bhakthavatsala Raghavendra
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3504935 Change-Id: Ic3b690b742442348d90c24e7b8c15006e8df83a6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-03Merge "Cleanup python version properties" into main am: a7311e4222 am: ↵ Treehugger Robot
81f73f92d8 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3517399 Change-Id: I3499a2090cfe4892813e8f7764ad26d962fe4948 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-03Merge "Add More testcases of LE CoC" into main Bhakthavatsala Raghavendra
2025-03-03Merge "Cleanup python version properties" into main Treehugger Robot
2025-02-28Merge "scan_manager_refactor rebranding" into main am: 49c7900439 am: f351518b11 William Escande
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3517398 Change-Id: Ib53ea1d17070780f91e9b3c4965fc5e7ac43317a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-28Cleanup python version properties Cole Faust
Now that python 2 is fully removed, there's no need for version-specific properties. Remove them. Also remove usages of embedded_launcher: true, as that is the new default value. Bug: 399954452 Test: Presubmits Change-Id: I2ceacd6e62f611df72956373bc014717bb6d003e
2025-02-28scan_manager_refactor rebranding William Escande
Dues to workflow changes and to various un-investigable issues, we need to re-create a fresh flag for this Bug: 396082772 Bug: 399940933 Bug: 313335632 Test: m . Flag: com.android.bluetooth.flags.scan_manager_refactor Flag: com.android.bluetooth.flags.only_start_scan_during_ble_on Change-Id: I6a4777ac22c408aeb113ddea9233cf45ea4bea41
2025-02-28Add More testcases of LE CoC Bhakthavatsala Raghavendra
Bug: 398846896 Test: mmm packages/module/Bluetooth Flag: Exempt, Test only Change-Id: I15a952ed8ce73ce0168a19f2f840c2c8692820e8