Commit graph

742 commits

Author SHA1 Message Date
Bao Do
85991941ad Remove VTS test for High Quality broadcast am: 7f89d61751
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3119572

Change-Id: I83b33a8bf7c5d1443c18b56b1ef16d96ef586e08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 13:21:09 +00:00
Bao Do
7f89d61751 Remove VTS test for High Quality broadcast
Not all target device support high quality broadcast config.

Bug: 342672142
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I87508c8deec994defb5653e51e75a00a8efcb873
2024-06-07 16:59:52 +08:00
Myles Watson
3dbf2ea7fb Merge changes I9fd5e4cb,I59872b1a into main am: 66f0636c0e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3114545

Change-Id: I0a504961e3ad350cd69fdbce4c43ccc3a362a41d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-07 06:00:53 +00:00
Myles Watson
66f0636c0e Merge changes I9fd5e4cb,I59872b1a into main
* changes:
  HCI: Prefer the requested hci_interface
  HCI: Return the interface from EV_INDEX_ADDED
2024-06-07 05:45:36 +00:00
Ted Wang
a7942bf9ec Merge "Replace all keys in sendEids" into main am: 20aea225f1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3105841

Change-Id: I5a63ad058fd7a1597c3e6a82f06f1c0203a79683
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 06:27:08 +00:00
Ted Wang
20aea225f1 Merge "Replace all keys in sendEids" into main 2024-06-06 06:14:38 +00:00
Bao Do
aa1b56973e Merge changes I15075455,I03f322e8 into main am: 1cb6465c10
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3109159

Change-Id: I970647e0bdffd9a6f1ebf42c448298fae02bf053
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 06:01:00 +00:00
Myles Watson
1f0e88bff9 HCI: Prefer the requested hci_interface
Bug: 345058678
Test: mma -j32
      Connect passthrough mode with AAOS
Change-Id: I9fd5e4cba1e14e6260f485f56f473ce506f18437
2024-06-05 13:39:54 -07:00
Myles Watson
f7986f1a31 HCI: Return the interface from EV_INDEX_ADDED
Bug: 345058678
Test: mma -j32
      Connect passthrough mode with AAOS
Change-Id: I59872b1a5f84401c19106ebb0ffe1dbcc72f6aff
2024-06-05 13:39:10 -07:00
Bao Do
81092bb791 Additional broadcast config logic for LEA multi-codec
Broadcast settings matching now base on context to
populate configurations

Bug: 306225778
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I150754558ceb74f19888ef63210e2a42b3f00cd8
2024-06-05 19:18:33 +08:00
Ted Wang
fbf30ae2db Replace all keys in sendEids
Bug: 343604097
Test: vts
Change-Id: I3dd03e24384899a9a4eb104ce0c81932b9c6fefc
2024-06-05 08:20:06 +00:00
Bao Do
57861bdd0c Additional context matching logic for LEA multi-codec
When we match with the remote capabilities, we don't filter by
preferred audio context, since they are suggestion.

Instead, we populate settings into 2 separated vector:
- Matched settings with matched preferred context,
- Matched settings,

We then filter by the first vector, then by the second vector.

Bug: 306225778
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I03f322e8de509127d218a9de6b41dd39b2ebdcba
2024-06-04 14:00:32 +08:00
Xin Li
64e598ce2b Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I53a278f1317f5307441103dc42dc5be6f20d7075
Change-Id: I3a53ebf7339cdb886d3c1b733b8eee1847f8832a
2024-05-24 08:28:04 -07:00
Silen Sun
92b27fb6a3 Merge "flag: add leaudio_report_broadcast_ac_to_hal" into main 2024-05-24 01:04:40 +00:00
Silen Sun
9534a2dc4c Merge "Report broacast audio config to HAL" into main 2024-05-24 01:04:40 +00:00
Bao Do
740301ed52 Merge changes I478fc99b,I2150459b into main
* changes:
  Multi-directional support for matching ASE configuration
  Extend VtsHalBluetoothAudioTargetTest
2024-05-22 02:42:16 +00:00
silens
1f19688ec0 Report broacast audio config to HAL
Bug: 321168976
Bug: 339121774
Test: atest --host bluetooth_test_broadcaster
Change-Id: I8eaeb72d027b9b01f83458f560d23770c8005b78
2024-05-21 17:37:41 +08:00
Mikhail Naganov
4fe8021f09 bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'
Add defaults for the case when the library is used
from within 'target/android'.

Also, switch 'BluetoothLeAudioCodecsProviderTest' to use
'defaults' instead of hardcoding the interface module version.

Bug: 307310023
Test: m
Change-Id: I7e5e70efe6a733367a8b5cbe5cffbfddf610cc6b
2024-05-16 20:00:49 -07:00
silens
a59700bbba flag: add leaudio_report_broadcast_ac_to_hal
Report broacast audio config to HAL

Bug: 321168976
Bug: 339121774
Test: atest --host bluetooth_test_broadcaster
Change-Id: I02778ed7ac5d756d89fe6d6538e2f806b7e857bc
2024-05-14 01:40:47 +00:00
Bao Do
91d7ca2b67 Multi-directional support for matching ASE configuration
Bug: 320259251
Test: ateast VtsHalBluetoothAudioTargetTest
Tag: feature
Change-Id: I478fc99bb02debd78f660dc27e9600ef3afdc2a9
2024-05-09 14:21:29 +08:00
Łukasz Rymanowski
5a43cb90d8 Extend VtsHalBluetoothAudioTargetTest
This increase number of test cases for new Multicodec feature

Bug: 320259251
Test: ateast VtsHalBluetoothAudioTargetTest
Tag: feature
Change-Id: I2150459bea53b522fe8da43ceed4c20eaeba7b16
2024-05-09 11:05:49 +08:00
Ted Bauer
80698b0302 Merge "Add deps for new aconfig flagging storage" into main 2024-04-30 01:20:21 +00:00
Ted Bauer
da93213b2d Add deps for new aconfig flagging storage
Aconfig flagging storage is migrating to a new underlying storage, which
has new dependencies. Add the dependencies as a defaults.

Bug: 328444881
Test: m
Change-Id: Idca333a4f4198ac5c8724a9696a9f68433a5f39b
2024-04-29 20:21:04 +00:00
Ted Wang
6857ff20a9 Merge "Revert "Test that the Bluetooth Finder property is set."" into main 2024-04-26 06:14:17 +00:00
Ted Wang
8a7e803ff6 Revert "Test that the Bluetooth Finder property is set."
This reverts commit 41a33e5b1c.

Reason for revert: b/324922580

Change-Id: Id2a1ab99f686ee8a3ca0af1b4604a26a864ce024
2024-04-26 02:31:51 +00:00
Omair Kamil
84a95be33b Add VTS requirement for concurrent LE connections.
Bug: 334200772
Test: atest VtsHalBluetoothTargetTest
Change-Id: I07c72ee077f67858764cbcfc8a1ea34c5d4454e3
2024-04-22 13:30:25 -07:00
William Escande
ac0f34f6cd Bluetooth vts hal: Restore to 2s startup
1s should really be the max limit, but it requires time to investigate
the failures and optimize this

Bug: 327273567
Fix: 332815453
Test: atest VtsHalBluetoothTargetTest
Change-Id: I43767b5241d967cb643401711fd7b2e015e99455
2024-04-11 09:06:31 -07:00
Henri Chataing
11c3782296 VtsHalBluetoothTargetTest: Link with libbluetooth_log
Test: m VtsHalBluetoothTargetTest
Bug: 305066880
Change-Id: Id16fa4557a4152c5972fa6a3a71626840414ebf0
2024-03-29 17:16:11 +00:00
Doug Ferraz
eff7b9102f Bluetooth HCI: Add VTS requirement for HCI 4.2 - Annotations
Bug: 285456310
Test: atest VtsHalBluetoothV1_1TargetTest
Test: atest VtsHalBluetoothV1_0TargetTest
Test: atest VtsHalBluetoothTargetTest
Change-Id: I5a910d2a7d778b2e64a524d0a389b911c080e189
2024-03-25 20:04:19 -04:00
Doug Ferraz
2984a75096 Bluetooth HCI: Add VTS requirement for HCI 4.2 - HIDL version
Bug: 285456310
Test: atest VtsHalBluetoothV1_1TargetTest
Change-Id: I0af583e35428f8ec8c9c360d9e28c1c909ad9001
2024-03-25 16:37:29 -04:00
Doug Ferraz
83b2267b78 Bluetooth HCI: Add VTS requirement for HCI 4.2
Bug: 285456310
Test: atest VtsHalBluetoothTargetTest
Change-Id: I056b924543ac349beb9b0eddaf039b0aa9187821
2024-03-25 14:52:55 -04:00
Treehugger Robot
0cf67cf4ce Merge "Bluetooth vts hal: Enforce 1s startup" into main 2024-03-12 04:54:18 +00:00
Bao Do
4bde669522 Merge "Implement HFP codec provider and test" into main 2024-03-08 03:30:07 +00:00
Bao Do
79dc7d439f Merge "Template and schema of HFP provider info" into main 2024-03-08 03:29:53 +00:00
Myles Watson
ddf9a00823 Revert^4 "Install bluetooth audio VINTF fragment in apex"
886bfbed7a

Change-Id: I963bf18d58152fef685fefb2413d2eb7116a3cdb
2024-03-05 22:06:38 +00:00
Myles Watson
886bfbed7a Revert^3 "Install bluetooth audio VINTF fragment in apex"
bc0ff1c206

Bug: b/328267880
Change-Id: I1eae6180cd494d70dcf42103c98832442a089725
2024-03-05 19:46:29 +00:00
Jooyung Han
bc0ff1c206 Revert^2 "Install bluetooth audio VINTF fragment in apex"
e9f8c8c4f5

Change-Id: Ice6a2a50b966d30db2e375e8bad2b58dad3c5018
2024-02-29 13:05:43 +09:00
William Escande
1a13990ae0 Bluetooth vts hal: Enforce 1s startup
Bug: 327273567
Test: atest VtsHalBluetoothTargetTest
Change-Id: I0035a8aa82e172c776b97a73afcca099f48dddcf
2024-02-28 17:08:53 -08:00
Bao Do
e062de7b2d Implement HFP codec provider and test
Bug: 322280104
Test: atest BluetoothHfpCodecsProviderTest
Change-Id: I4c5ca601de61d86a3caae88c47697a2586f4dc5c
2024-02-22 13:49:57 +08:00
Bao Do
2fa1ab4bd5 Template and schema of HFP provider info
Bug: 322280104
Test: make
Change-Id: Iac4f96db08b3b7fb2c5f0b080ba3e972e6020982
2024-02-22 13:49:35 +08:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Treehugger Robot
2131baf102 Merge "Fix test run for GSI" into main am: 74d99edac1 am: 6f5630cd21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2931355

Change-Id: Icecd414f99f8ec7c1d4603ae064ba2060bb790be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-19 06:44:19 +00:00
Treehugger Robot
74d99edac1 Merge "Fix test run for GSI" into main 2024-02-19 05:29:23 +00:00
Yahav Nussbaum
f1a5918bfc Baseline NewApi issues
Bug: 268261262
Test: m android.hardware.bluetooth.finder-V1-java-lint
Change-Id: I387f30922debe42cd5980f5e1bbe6fd3cf01b7d9
2024-02-15 16:20:48 +00:00
Henri Chataing
7f9c47a388 blueooth/audio/aidl/default: Disable GetProviderInfo
This implementation of the HAL is used by pixel devices.
The implementation of GetProviderInfo is test only

Bug: 324570010
Test: TreeHugger
Change-Id: I67d17fb07c1288317290a0b1c4b07cd3be1e48c6
2024-02-12 18:24:51 +00:00
Yahav Nussbaum
e2f62e73f4 Merge "Test that the Bluetooth Finder property is set." into main 2024-02-07 06:45:05 +00:00
Jooyung Han
c5c0b5eb6a Merge "Revert "Install bluetooth audio VINTF fragment in apex"" into main 2024-02-06 05:54:53 +00:00
Ke-Yu Lu
e9f8c8c4f5 Revert "Install bluetooth audio VINTF fragment in apex"
Revert submission 2949647-bt-audio-vintf

Reason for revert: b/323989115

Reverted changes: /q/submissionid:2949647-bt-audio-vintf

Change-Id: Ie335aa9a0ad2bb847cabe6f85ef37352e9065e3a
2024-02-06 04:04:01 +00:00
Jooyung Han
0cacd8c7f5 Merge "Install bluetooth audio VINTF fragment in apex" into main 2024-02-06 00:54:22 +00:00
Yahav Nussbaum
41a33e5b1c Test that the Bluetooth Finder property is set.
Bug: 307897345
Test: atest VtsHalBluetoothFinderTargetTest
Change-Id: I1821d1cc255a5e156497b993d694fdd9d38c4a96
2024-02-05 20:04:22 +00:00