Commit graph

727 commits

Author SHA1 Message Date
Treehugger Robot
afa170792a Merge "Bluetooth vts hal: Restore to 2s startup" into main am: a6c9097dd0 am: 094dfcfacf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3037779

Change-Id: I8ee86ec75bacb734bea62c55d03814f30c6b9a64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 17:51:49 +00: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
db12f6a940 Merge "VtsHalBluetoothTargetTest: Link with libbluetooth_log" into main am: bbd7bba074 am: f2332e80d1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3020086

Change-Id: I379066a408cfd29be34fce826d4b94dde29b4482
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-02 00:12:20 +00: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
f51a196bae Merge "Bluetooth HCI: Add VTS requirement for HCI 4.2 - Annotations" into main am: cfa68a1fbb am: ddf020e313
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3012536

Change-Id: If10905b5df19105d52a5aada03c966ff0d98b714
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 14:49:50 +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
5c49b6b07a Merge "Bluetooth HCI: Add VTS requirement for HCI 4.2 - HIDL version" into main am: 7229b6bacc am: 1c7042ebee
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3011696

Change-Id: I6a24b7a0ffb8717cfd8cffb89750682505f10693
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 22:56:32 +00:00
Doug Ferraz
b6553785e6 Bluetooth HCI: Add VTS requirement for HCI 4.2 am: 83b2267b78 am: 9b6cbb058d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3011716

Change-Id: Ib9cc327b427160b1ecd89c6d0f8fbd4a56804653
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 21:32:03 +00: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
3760f096d8 Merge "Bluetooth vts hal: Enforce 1s startup" into main am: 0cf67cf4ce am: 6ad0868c1a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2981012

Change-Id: I43f22ad423cc082868d63e93bf3d3b75c6df104c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-12 06:13:33 +00:00
Treehugger Robot
0cf67cf4ce Merge "Bluetooth vts hal: Enforce 1s startup" into main 2024-03-12 04:54:18 +00:00
Bao Do
6b1f87bee8 Merge "Implement HFP codec provider and test" into main am: 4bde669522 am: 5d0d573efc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2967267

Change-Id: I535ae7690bbd2d6d74d753f4a85653da24480bb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 19:38:17 +00:00
Bao Do
a450a6b457 Merge "Template and schema of HFP provider info" into main am: 79dc7d439f am: b8058bd2e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2935372

Change-Id: If7a4049b36bf4d9724f9355334ff0be69a5e786d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 19:36:34 +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
3e153bf628 Merge "Revert^4 "Install bluetooth audio VINTF fragment in apex"" into main am: 5f03254e65 am: 0f3e08de9d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989650

Change-Id: Ic2628dbb5e4c3c2aa9ee1c41d5e1fa0a57a5dfbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 14:33:58 +00:00
Myles Watson
3592de0a2f Merge "Revert^3 "Install bluetooth audio VINTF fragment in apex"" into main am: 285f0a8d36 am: 530248a928
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989176

Change-Id: I8a4e493297becf443d54c1a72328e3fd41c9c17a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 01:10:36 +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
641015d4c3 Revert^2 "Install bluetooth audio VINTF fragment in apex" am: bc0ff1c206 am: 189a837b6d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955647

Change-Id: Id91fa9e61bc191d39c0f3661af96ef979df9560d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-05 02:55:08 +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
Oriol Prieto Gasco
ac46ba289b Set the container field of aconfig flags
Test: m
Bug: 312769710
Change-Id: I63e922ffcfc96a27e6166252563b3633a5bc0b1a
2024-02-05 14:34:56 +00:00
Jooyung Han
92ca5545ca Install bluetooth audio VINTF fragment in apex
Previously, android.hardware.bluetooth.audio-impl was installed with no
use and the attached vintf was fulfilled by the
com.android.hardware.audio apex.

For cleanup, we no longer install android.hardware.bluetooth.audio-impl
separately (for cuttlefish) and install the VINTF inside the apex.

Bug: 312265159
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I31e0ccd6a8c3c00565159f2be7fe3bf4d70e9ddf
2024-02-05 11:04:02 +09:00
Treehugger Robot
17aa36a60d Merge "Replace use of deprecated logging functions" into main 2024-02-01 17:36:36 +00:00
Jeff Vander Stoep
e8934d0991 Replace use of deprecated logging functions
This is needed to upgrade the android_logger crate from 0.12.0
to 0.13.3.

with_max_level provides the same functionality as with_min_level.
The renaming is admittedly confusing, but the new name is accurate
and it makes sense that they deprecated and then removed the
previously poorly named with_min_level.

See crate documentation [1] and code [2].

[1]: https://docs.rs/android_logger/0.12.0/android_logger/struct.Config.html#method.with_min_level
[2]: https://docs.rs/android_logger/0.12.0/src/android_logger/lib.rs.html#227

Bug: 322718401
Test: build and run CF with the change.
Test: m aosp_cf_x86_64_phone
Change-Id: I0ca9596433967be70e9d55acb6cfbf9322741bf8
2024-01-31 10:49:31 +01:00
Jakub Tyszkowski
e77f872215 Fix test run for GSI
Bug: 321826143
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: If0273a829e6e164c0aa986f4c90474581b210d7e
2024-01-29 13:25:24 +00:00
Jooyung Han
408949f0f7 Regsiter BT HAL services if they are declared
Since finder/ranging/lmp_event HAL services are new and their interfaces
are not frozen yet, they can't register services in -next-
configuration.

Bug: 322204309
Bug: 319155748
Test: run CF in -next- build
Change-Id: I4729d8763842c719682ce0124bbaaed86164a7d5
2024-01-25 09:18:23 +09:00
Antoine Soulier
c3790fe083 Merge changes I9f6bb947,Iff72dbea into main
* changes:
  AIDL API Review changes
  A2DP HAL Reference Implementation: remove static object's
2024-01-22 23:33:58 +00:00
Jakub Tyszkowski
17300d699c Merge "LeAudio: Fix AIDL API review issues" into main 2024-01-22 09:49:51 +00:00
Antoine SOULIER
012b41807b AIDL API Review changes
Test: m
Bug: 319669518
Change-Id: I9f6bb9479c5432b87c01b522a8b0e3211bfc030c
2024-01-18 19:06:21 +00:00
Antoine SOULIER
babe71d2a6 A2DP HAL Reference Implementation: remove static object's
Test: m
Bug: 315652150
Change-Id: Iff72dbea0b9c9ed78f0a20538c66e9396e13bfe9
2024-01-18 19:06:13 +00:00
Chienyuan Huang
6327722e10 Merge "Handle review feedback for android.hardware.bluetooth.ranging" into main 2024-01-17 02:34:21 +00:00
Jakub Tyszkowski
1d214226b5 LeAudio: Fix AIDL API review issues
Bug: 319669518
Test: m android.hardware.bluetooth.audio-update-api && make && m VtsHalBluetoothAudioTargetTest
Change-Id: Id128ed1eb09ada1e98b15351dc353fedc90fcbc8
2024-01-16 14:09:34 +00:00
Chienyuan Huang
a6daccc3e5 Handle review feedback for android.hardware.bluetooth.ranging
Bug: 318763088
Test: m android.hardware.bluetooth.ranging-update-api
Change-Id: I7f66278328d63ad1882aae87c575be7baaf45718
2024-01-13 07:15:34 +00:00
Bao Do
b487a85993 Fix test run for GSI
GSI used mixed testing procedures, making some HFP session
and LE Audio related functions unavailable when testing with the
latest VTS. This fix enable HAL version checking when testing.

Bug: 315338603
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: Idb0a780a67857c76c93b13f7b3a64436f6fc647f
2024-01-12 11:13:19 +08:00
Treehugger Robot
61ef14ec09 Merge changes Iab6235b5,I19b7d1af,I1806d8a2,I8589ef14 into main
* changes:
  Fix LeAudioCodecProvider failing offload setting file parsing
  Fix the bogus configs default-constructed as a2dp configs
  Fix filling the configuration map
  Skip unsupported functinality tests
2024-01-10 21:28:27 +00:00