summaryrefslogtreecommitdiff
path: root/system/test
AgeCommit message (Collapse)Author
2025-03-18Merge "system/btcore: Remove unused sources and headers" into main Henri Chataing
2025-03-17Merge "ASHA: add basic test framework" into main Krzysztof Kopyscinski (xWF)
2025-03-17ASHA: add basic test framework Krzysztof Kopyściński
Add test framework for ASHA in native. Bug: 388446070 Test: m . Flag: EXEMPT, test only Change-Id: I8a51d50855613c71d5a254d2a83ea2fb7255f919
2025-03-17Get rid of unnecessary boilerplate for LeSetDefaultSubrate Jakub Pawlowski
If l2cap layer needs to ever set it, it should do so directly, rather than wiring through sooo many layers. Bug: 403545449 Test: mma -j32 Flag: exempt, just deleting unused code Change-Id: Icefc75c291a69966951f20cb90380e4fb47994d9
2025-03-14Merge "stack: Inline methods from stack_metrics_logging.h" into main Henri Chataing
2025-03-14Merge changes I66f13abd,I4d5ab702,I05fe3351 into main Jakub Pawłowski
* changes: Test: make mock_hci_layer_ into unique_ptr Test: make mock_controller_ into unique_ptr Test: make mock_acl_manager_ into unique_ptr
2025-03-13system/btcore: Remove unused sources and headers Henri Chataing
NB: the module fuzzer is not parameterized, and as such has no value Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, dead code removal Change-Id: I364c8d8b7c6e3a633b0193e14021fefd4bd6516f
2025-03-13Remove obsolete README William Escande
Bug: 311772251 Flag: EXEMPT documentation Test: m . Change-Id: Ia0998901136560766d0ea2f7712b7d3528cffd74
2025-03-13stack: Inline methods from stack_metrics_logging.h Henri Chataing
Bug: 401588157 Test: m com.android.bt Flag: EXEMPT, no logical change Change-Id: I1cf4a5e3664f4afc3eb2cfebbf23642c568403a4
2025-03-12Test: make mock_hci_layer_ into unique_ptr Jakub Pawlowski
Getting rid of memory leaks, dangling pointers in tests. Bug: None Test: updated Flag: exempt, test only change Change-Id: I66f13abdb21b5d6322d6e9a3ab0b15386b0cffc0
2025-03-12Test: make mock_controller_ into unique_ptr Jakub Pawlowski
Getting rid of memory leaks, dangling pointers in tests. Bug: None Test: updated Flag: exempt, test only change Change-Id: I4d5ab702da62364a41bf1d822482396456dc8656
2025-03-12Test: make mock_acl_manager_ into unique_ptr Jakub Pawlowski
Bug: none Test: updated Flag: exempt, test only change Change-Id: I05fe3351b4e462f3d8d11999af6c866ecbe8a73a
2025-03-10Add metrics logging for Bluetooth offload socket Liang Li
Bug: 399022276 Flag: EXEMPT, metrics update Test: m com.google.android.bt Test: Android Data Hub Atom Tester Change-Id: Ib5a4a0d6970287388851bcf5fdb71121e3092b76
2025-03-06Merge "Instrument SCO session metrics" into main Treehugger Robot
2025-03-06Instrument SCO session metrics Aarthi Balachander
Bug: 388097057 Test: m com.android.bt, Tested locally on device Flag: EXEMPT metrics change Change-Id: I2ff0910159e89aa2382aab321b899a3d30fc34a7
2025-03-03soong: Merge libbt-bta-core into libbt-bta Henri Chataing
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, build change Change-Id: Ie1667b9fa8997a5fcd4d59ae5a90b27265895dc0
2025-03-03soong: Merge libstack-core into libstack Henri Chataing
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, build change Change-Id: I47e20c0842401ff49d6f57f06a60debe032537e2
2025-03-03soong: Merge libbtif-core into libbtif Henri Chataing
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, build change Change-Id: Ica03e74dfce41b4839c93f8644dab5ffea367b7b
2025-02-26Replace BTM_BleIsLinkKeyKnown with BTM_IsBonded Himanshu Rawat
Change-Id: Id527219b67df92bff93461b23002ac9b9cd6b294 Test: mmm packages/modules/Bluetooth Flag: EXEMPT refactor Bug: 396433944
2025-02-26Consolidate native interfaces for checking bond status Himanshu Rawat
BTM offers two sets of bond status interfaces. IsLinkKeyKnown() can be used for either transport but does not consider the temporary pairing. IsDeviceBonded() just checks if the device is bonded over any transport. Both of these interfaces are now consolidated into a single interface which allows checking transport specific bond status or bond status irrespective of transport. Test: mmm packages/modules/Bluetooth Flag: EXEMPT refactor Bug: 396433944 Change-Id: Icef05f847de04b7fc06e741313da88a48d2efe1c
2025-02-26Merge changes I726044b1,I22ccd66c into main Treehugger Robot
* changes: libosi: Deprecate the ringbuffer implementation Remove unused Android.bp definitions
2025-02-26Merge "Enforce -Wmissing-prototypes" into main Henri Chataing
2025-02-26Enforce -Wmissing-prototypes Henri Chataing
Bug: 369381361 Test: m com.android.bt Flag: EXEMPT, no logical change Change-Id: I88e569e1e0b6c04716fa48345c1ede816fb405a3
2025-02-26libosi: Deprecate the ringbuffer implementation Henri Chataing
This implementation is unused. Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, dead code removal Change-Id: I726044b1697c51e4487284c1c629249c8dab4fd5
2025-02-26Remove unused Android.bp definitions Henri Chataing
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, dead code removal Change-Id: I22ccd66c4cf37248facd1db07d3c2067c5172310
2025-02-26Merge "system/common: Remove location parameter from MessageLoopThread" into ↵ Henri Chataing
main
2025-02-26Merge changes I4907d70a,Ia1e81140 into main Treehugger Robot
* changes: LeAudio: Do not log mono location as error LeAudio: Improve handling remote device audio locations
2025-02-26Merge "Remove unused source files" into main Henri Chataing
2025-02-26Merge "Remove empty filegroups and unused libraries" into main Treehugger Robot
2025-02-26LeAudio: Improve handling remote device audio locations Jakub Tyszkowski
With this change we correctly distinguish devices with Mono audio location (0), from devices which do not support any audio location in a paritcular direction. This is important for devices which are one direction only - speakers only or microphone only. Bug: 388499616 Test: atest bluetooth_le_audio_test bluetooth_le_audio_client_test Flag: Exempt: day to day fix Change-Id: Ia1e81140b5fe1998532d0d979c3287a79c76cde9
2025-02-25Remove unused source files Henri Chataing
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, dead code removal Change-Id: I767f27ba2a2e799765769772214642aa011fb791
2025-02-25Remove empty filegroups and unused libraries Henri Chataing
Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, dead code removal Change-Id: Ie47451297d3561fe9e493dcfbafdbec4e2c09863
2025-02-25Merge changes I8ed8bf3e,I354c3f0b,Ifab1e7bb into main Henri Chataing
* changes: stack/a2dp: Remove the field A2dpCodecConfig#codec_capability_ stack/a2dp_ext: Write the provider capabilities to codec_local_capability_ instead of codec_capability_ a2dp/aidl: Fix missing codec_type in a2dp provider info
2025-02-25Merge "Instrument metrics for the HFP Session" into main Treehugger Robot
2025-02-25system/common: Remove location parameter from MessageLoopThread Henri Chataing
This change was already applied to do_in_jni_thread and do_in_main_thread. Removing the parameter from MessageLoopThread will bring the API closed to os::Handler. Bug: 331817295 Test: m com.android.bt Flag: EXEMPT, no logical change Change-Id: Iaadaf638de318acba695a49ebe51b69edbd12e0b
2025-02-25stack/a2dp: Remove the field A2dpCodecConfig#codec_capability_ Henri Chataing
This field is only written, but never used or read. Bug: 396235402 Test: m com.android.bt Flag: EXEMPT, dead code removal Change-Id: I8ed8bf3eab7f781594af5f346a52789fafb4721b
2025-02-25stack/a2dp_ext: Write the provider capabilities to codec_local_capability_ ↵ Henri Chataing
instead of codec_capability_ codec_capability_ is actually unused. Bug: 396235402 Test: m com.android.bt Test: QC validation Flag: EXEMPT, minor bugfix Change-Id: I354c3f0b574e6ea07b3150789bef31cf5a0e500a
2025-02-25Instrument metrics for the HFP Session Aarthi Balachander
Bug: 388097057 Test: m com.android.bt, Tested locally on device Change-Id: I3d11faaa77f8e8aaa60481b94c95cb197e2997e6
2025-02-24system/bta: Enforce -Wmissing-prototypes Henri Chataing
Bug: 369381361 Test: m com.android.bt Flag: EXEMPT, no logical change Change-Id: Ic246a34129c39498813258afdfb36a41e4053f6c
2025-02-21BluetoothMetrics: Log LE-ACL Connection Rejected Attempt Palash Ahuja
Test: m com.google.android.bt && m statsd_testdrive && statsd_testdrive -terse 916 Bug: 375437118 Flag: EXEMPT, metrics logging Change-Id: Iac7c486274569e4879a7c8ccd01e4c61cab3cc35
2025-02-21Merge changes Idccdb2ab,Ie109fab6,Ie2de6f03 into main Pomai Ahlo
* changes: RFCOMM Metrics V2: Collect at port closure RFCOMM metrics V2: Collect metrics in bta RFCOMM metrics V2: Add metrics functions
2025-02-21Merge "Get rid of LE Acl Manager shim" into main Jakub Pawłowski
2025-02-20RFCOMM Metrics V2: Collect at port closure Pomai Ahlo
Collect metrics in system/stack/rfcomm after tPORT structure closes Bug: 374989690 Test: m com.android.bt && manual with Atom Tester Flag: EXEMPT metrics Change-Id: Idccdb2ab660e62a998d46293cea8495a761fa916
2025-02-20RFCOMM metrics V2: Collect metrics in bta Pomai Ahlo
Collect RFCOMM metrics in bta layer: These are cases where the port never opened Bug: 374989690 Test: m com.android.bt && manual with Atom Tester Flag: EXEMPT metrics Change-Id: Ie109fab66cf0166cd1ccbb933fa44b1864dd760e
2025-02-20RFCOMM metrics V2: Add metrics functions Pomai Ahlo
- Collect metrics when sdp fails for HFP and RFCOMM - Collect metrics when port creation fails for HFP and RFCOMM - Collect metrics when port closes Bug: 374989690 Test: m com.android.bt Flag: EXEMPT metrics no-op Change-Id: Ie2de6f0305afad58ab7d2cd7fdcf988c21649a28
2025-02-20Get rid of LE Acl Manager shim Jakub Pawlowski
connection_manager.cc is only user of LE Acl Manager API, so it's safe to skip the shim Bug: 372202918 Test: atest net_test_conn_multiplexing Flag: exempt, well unit-tested Change-Id: Id9bd060f55581bcd044c857128df9119eb7d5a3b
2025-02-19Merge "BluetoothMetrics: Timeout failure for LE-ACL Connection" into main Palash Ahuja
2025-02-19BluetoothMetrics: Timeout failure for LE-ACL Connection Palash Ahuja
Test: m com.google.android.bt && m statsd_testdrive && statsd_testdrive -terse 916 Bug: 375437118 Flag: EXEMPT, metrics logging Change-Id: I7365bdf31b769bc52fb7d29f64644067d86ae317
2025-02-19Add custom tracing to bluetooth using Tracing SDK Cheng Li
Bug: 365778358 Test: manual testing by enabling the bluetooth tracing Test: m <target> Change-Id: Ie59c6bb46fa25760ce75a224cb7feb42a94406e9
2025-02-15Merge changes Ibcd5c586,I1a126812 into main Jakub Pawłowski
* changes: main/shim/acl: simplify LE connection shim Pass device deletion from acccept list through connection manager