summaryrefslogtreecommitdiff
path: root/framework
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 "getAdapterProxy: null-check re-order" into main William Escande
2025-03-20Merge "BlockingAdapter: remove STATE_UNKNOWN" into main William Escande
2025-03-20getAdapterProxy: null-check re-order William Escande
Bug: 404290817 Fix: 404290817 Bug: 404058947 Flag: EXEMPT bugfix obvious and without risk Test: atest CtsBluetoothTestCases Change-Id: I18e528e7324c81d710952425b7dfacf4a504bf40
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-16Merge "Send opp uri information to device picker and nearby component" into main Haijie Hong
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-14Merge "Modified the logic to select intented device during scan" into main Gopi Sakshihally Bhuthaiah (xWF)
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-13Merge "CS: Clear mSessionMap when BluetoothServiceDown" into main Chienyuan Huang
2025-03-14CS: Clear mSessionMap when BluetoothServiceDown Chienyuan Huang
Bug: 403139849 Test: m com.android.bt Flag: EXEMPT bugfix Ignore-AOSP-First: not AOSP first anymore Change-Id: I557c12a638677fd15e2363dda32f0eee0142dc46
2025-03-12Merge "Standardize copyrights with missing (C)" into main Treehugger Robot
2025-03-12Merge "Refactor createBondOutOfBand API with BLUETOOTH_PRIVILEGED ↵ Treehugger Robot
permission" into main
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-12Send opp uri information to device picker and nearby component Haijie Hong
Bug: 395796600 Bug: 397852103 Test: atest BluetoothOppLauncherActivityTest Flag: com.android.bluetooth.flags.send_opp_device_picker_extra_intent Ignore-AOSP-First: merge conflict Change-Id: Ie0bb8957308d04ea8625ae3678a1cea0d5585a54
2025-03-11Remove unknow lint GetterSetterNullability William Escande
Bug: 311772251 Flag: EXEMPT lint change Test: m com.android.bt Change-Id: I347bf550571222afb9494f7213556d2eb88c178b
2025-03-11Refactor createBondOutOfBand API with BLUETOOTH_PRIVILEGED permission Srini S
createBondOutOfBand system API is annotated with only BLUETOOTH_CONNECT permission although BLUETOOTH_PRIVILEGED permission is also enforced internally. This change refactors createBondOutOfBand API and fixes the annotation. Test: mmm packages/modules/Bluetooth Test: atest PairingTest Test: atest OobPairingTest Flag: EXEMPT refactor Bug: 372295458 Change-Id: I6fae8e550b76d122e01a2963d3e8cc05e2b7079a
2025-03-0925Q1 flag removal: get_profile_use_lock William Escande
Bug: 370815283 Fix: 370815283 Flag: com.android.bluetooth.flags.get_profile_use_lock Test: m com.android.bt Change-Id: If21f95fed44a8e9134845aad5e426c9ce58403fa
2025-03-0925Q1 flag removal: get_state_from_system_server William Escande
Bug: 362569584 Fix: 362569584 Flag: com.android.bluetooth.flags.get_state_from_system_server Test: m com.android.bt Change-Id: I0156a3a4f7f60e4c1c44cb9245c52946e21f568c
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 "Errorprone enforce multiples" into main am: d864eb8510 am: 115e328290 Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3511655 Change-Id: I479d483431d2cf460e625d72b3dcb88fd318e1cd 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-07Merge "Errorprone enforce multiples" into main Treehugger Robot
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-06Errorprone enforce multiples William Escande
I did my shopping list of errorprone that only appear as warning and are note enforced yet. I am promoting them to error to make sure this will never happen Bug: 344658662 Test: m . Flag: Exempt refactor Change-Id: I7a4e73c92a094d14fc12c1a801d6fb5fb386ae6c
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-05Merge "Gatt: do not kill Bluetooth on app callback" into main am: ac7a130d6c ↵ William Escande
am: 053803d578 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3529440 Change-Id: I1d5704906f035f6e0e4cc2d45bb5bc93ce6ee6df Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>