Commit graph

65857 commits

Author SHA1 Message Date
jimmyshiu
2c3b63f04f VTSHalPowerTarget: Add condition check for FMQAidl teardown
While FMQAidl Setup() was skipped, some uninitialized objects would be
used in FMQAidl Teardown() which caused the test failed.
Add some condition check to prevent from using uninitialized objects.

Test: atest VTSHalPowerTarget
Bug: 328330332
Change-Id: I83081cbef66da1d74d87e191f266cb16fb559b85
(cherry picked from commit d3753ec91d)
2024-05-31 18:04:21 +00:00
David Duarte
f8a70bbcbc Update to pdl 0.3.0
Test: m
Change-Id: I78df5c5ee828d418023128ef57428aa6be67ec3a
2024-05-31 17:32:37 +00:00
David Drysdale
acb80cfdf2 KeyMint: add VTS test with all IDs am: ef1123b24e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3106417

Change-Id: Icfc31847731c3ca48492234751033d4be8ada033
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-31 12:19:59 +00:00
David Drysdale
ef1123b24e KeyMint: add VTS test with all IDs
Add a test that includes all of the device IDs for attestation, which
helps to check whether the emitted extension is including everything in
the correct order.

(This is already tested in CTS since aosp/2650044)

Also fix test of first API level to use `get_vsr_api_level` helper.

Test: VtsAidlKeyMintTargetTest
Test: with/without KeyMint hacked to emit tags in wrong order
Change-Id: Ic6e489aa99c773d794ad8cbddbe5153b1a145ea5
2024-05-31 12:05:04 +01:00
Kiyoung Kim
7c0d9eb259 Remove Vndk_use_version property from AIDL
Vndk_use_version property is no longer in use with deprecation of VNDK.
Remove Vndk_use_version property and its usage.

Bug: 328994089
Test: AOSP CF build succeeded
Change-Id: I681cc850341a7dc47416dc81c1da21b687f87b1b
2024-05-30 03:29:10 +00:00
Treehugger Robot
53e8ea6f82 Merge "EnvironmentalReverbTest: Add Tests to Validate Environmental Reverb Effect" into main am: 56e050362d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3088945

Change-Id: I0273c55317a36a8b359f49b9a92e1a695f4962fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 18:45:44 +00:00
Treehugger Robot
56e050362d Merge "EnvironmentalReverbTest: Add Tests to Validate Environmental Reverb Effect" into main 2024-05-29 18:27:25 +00:00
Sneha Patil
37f131c244 EnvironmentalReverbTest: Add Tests to Validate Environmental Reverb Effect
Compare energy values of auxiliary output for different parameters
Remove environmental reverb default implementation from the config file.

Bug: 305866207
Test: atest VtsHalEnvironmentalReverbTargetTest
Change-Id: I261c52ff25dd63d41213f0b40df8627dbb80a95d
2024-05-29 17:26:20 +05:30
Treehugger Robot
082c112081 Merge "Replacing manual CBOR description with CDDL." into main am: 4e4299e2e6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095936

Change-Id: I96b76b3ce8019850ce8b822ca7ca4828c909d78e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 05:25:09 +00:00
Treehugger Robot
4e4299e2e6 Merge "Replacing manual CBOR description with CDDL." into main 2024-05-29 05:12:12 +00:00
Treehugger Robot
14ae5a614b Merge "Added keymint_authSet_fuzzer" into main am: 7884619140
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3066744

Change-Id: I9e5ef4c4fabd7025f49829dcc6d1982342685920
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 08:41:50 +00:00
Treehugger Robot
7884619140 Merge "Added keymint_authSet_fuzzer" into main 2024-05-28 08:24:05 +00:00
Treehugger Robot
6707c6716b Merge "Added keymint_attestation_fuzzer" into main am: 02a086bdaa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3066743

Change-Id: Id5c46cf92626e9f9ee13c3644b0128306dc09281
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-28 07:02:14 +00:00
Treehugger Robot
02a086bdaa Merge "Added keymint_attestation_fuzzer" into main 2024-05-28 06:45:29 +00:00
yangbill
eb5b983d01 Convert system_compatibility_matrix.xml to soong
Bug: 342336921
Test: m system_compatibility_matrix.xml
Test: Modified build/release/flag_declarations/RELEASE_AIDL_USE_UNFROZEN.textproto \
      m system_compatibility_matrix.xml

Change-Id: I181c2054adb187332b3feb634e309a3e75425611
2024-05-27 07:54:09 +00:00
Yu Shan
7502bc52b8 Merge changes I35f4860e,I4f02885b into main am: e2e4e54a0a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3096235

Change-Id: Ie659c0ee8001e931e45744b5edbd6cf9a647a526
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 23:18:52 +00:00
Yu Shan
89ab8c7623 Add subscribe to VHAL proto. am: 5c846f7cc9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3096234

Change-Id: I69fa802d59a0b5ac45bb8a5e541a9ef7a8d43fc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 23:18:45 +00:00
Yu Shan
e2e4e54a0a Merge changes I35f4860e,I4f02885b into main
* changes:
  Implement Unsubscribe in vhal proxy.
  Add subscribe to VHAL proto.
2024-05-24 22:59:25 +00: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
f257c046cd Merge "flag: add leaudio_report_broadcast_ac_to_hal" into main am: 92b27fb6a3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3075605

Change-Id: Ia5d7d18516b957be060eaa327b2ffbe49dd0f348
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 01:26:42 +00:00
Silen Sun
a2dbddc48b Merge "Report broacast audio config to HAL" into main am: 9534a2dc4c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3073926

Change-Id: Ibb0fb44518eb15a6711a41302fc7a72a6a17e64d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-24 01:26:39 +00: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
Yu Shan
5c846f7cc9 Add subscribe to VHAL proto.
The latest IVehicleHardware adds Subscribe/Unsubscribe function
to replace the existing updateSampleRate. This CL adds the
Subscribe function to protobuf definition and implements it.

Test: atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest
Flag: EXEMPT hal change
Bug: 328316981
Merged-In: I4f02885b77f21a215a8b282be583f76118e400ba
(cherry-picked from commit: f1a869055f)

Change-Id: I4f02885b77f21a215a8b282be583f76118e400ba
2024-05-23 15:51:25 -07:00
Yu Shan
2c37c11a82 Implement Unsubscribe in vhal proxy.
Implement the unsubscribe function in IVehicleHardware. This will
stop the server from generating property update events for the
specified [propId, areaId].

Test: atest GRPCVehicleHardwareUnitTest GRPCVehicleProxyServerUnitTest
Flag: EXEMPT hal change
Bug: 328316981
Merged-In: I35f4860eead0c8ec9b192657fe51cc0ff4319383
(cherry-picked from commit: cb00b1f816)

Change-Id: I35f4860eead0c8ec9b192657fe51cc0ff4319383
2024-05-23 15:51:25 -07:00
James Eidson
7947eaa266 [uwb-hal] add antenna mode app config param
Bug: 341159131
Test: n/a
Change-Id: I37c8f502f6148f3fd70a2f0da69da4701c0dda98
2024-05-23 22:49:28 +00:00
Treehugger Robot
151596de85 Merge "Add host prebuilt for fake VHAL config." into main am: 3b7a71588c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095336

Change-Id: Idc197dd33892849d6612b269928cba5fe8cca65e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 21:22:01 +00:00
Treehugger Robot
1f0e9ee76c Merge "Add require_root to FakeVehicleHardwareTest." into main am: 26bd085f1c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095335

Change-Id: Ib0f53ff6f5df812d29b00da06f859def040fffcd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 21:21:35 +00:00
Treehugger Robot
3b7a71588c Merge "Add host prebuilt for fake VHAL config." into main 2024-05-23 21:04:50 +00:00
Treehugger Robot
26bd085f1c Merge "Add require_root to FakeVehicleHardwareTest." into main 2024-05-23 21:04:20 +00:00
Treehugger Robot
ad84446436 Merge "Add host_supported to VHAL libs." into main am: b1fa86023c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3093288

Change-Id: I4364de5ec7dba0f97c2453740c34b0419c581555
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-23 00:24:03 +00:00
Treehugger Robot
b1fa86023c Merge "Add host_supported to VHAL libs." into main 2024-05-23 00:09:08 +00:00
Max Bires
2caf529bdc Replacing manual CBOR description with CDDL.
Clarify the result documentation by using exact CDDL descriptions for
the formattedMessage CBOR object.

Test: N/A
Change-Id: I0077c7d53385470ef058b6ce965adb9f7b0bba55
2024-05-22 06:06:36 +00:00
Bao Do
3109049d36 Merge changes I478fc99b,I2150459b into main am: 740301ed52
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3074307

Change-Id: I1aee13a29b777c04a35ec93bc2fc8506f5b362a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-22 02:59:00 +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
Mikhail Naganov
8f6258ca6a audio: Allow onError callback in any state am: ab222c63bc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095975

Change-Id: Ib8dc2c8a6fe6a120a2afa58a416d59d1580b479c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 23:52:49 +00:00
Mikhail Naganov
ab222c63bc audio: Allow onError callback in any state
In practice, the AoC can crash while the stream is in
any state, thus this should be allowed for correct
handling of error conditions in the framework.

The list of states when `IStreamCallback.onError` can
be received is not enforced in VTS tests, thus no
test regressions are expected.

Bug: 339400414
Test: repro steps for simulating AoC crash in b/339400414
Change-Id: I9a52779f773307882109e159d715072de5af2ece
2024-05-21 14:31:56 -07:00
Yu Shan
e56e2981cd Add host prebuilt for fake VHAL config.
Test: Local build
Bug: 328316981
Flag: EXEMPT build rule
Merged-In: I965e704e29e62cd05540f46ef37d0bfa2a5568db
(cherry-picked from commit: 1c670114fd)

Change-Id: I965e704e29e62cd05540f46ef37d0bfa2a5568db
2024-05-21 13:52:23 -07:00
Yu Shan
02e4d07563 Add require_root to FakeVehicleHardwareTest.
According to b/329690075, vendor tests need root to use vendor
lib, otherwise atest will cause link error.

Test: atest FakeVehicleHardwareTest on cf_auto
Flag: EXEMPT bug
Bug: 341762230
Merged-In: I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5
(cherry-picked from commit: f01c7aec0d)

Change-Id: I6bab19b20e6fe91dbdb2a6526172a5dd1d092ff5
2024-05-21 13:52:23 -07:00
Yu Shan
0c447863ef Add host_supported to VHAL libs.
We need to build a FakeVehicleHardware impl on host, thus we need
to add the host_supported option.

Test: Local build on host.
Bug: 328316981
Flag: EXEMPT hal change
Merged-In: Ia21d26640c465846423cab1a0ff8a283c798b92a
(cherry-picked from commit: 9d3513882a)

Change-Id: Ia21d26640c465846423cab1a0ff8a283c798b92a
2024-05-21 13:51:39 -07:00
Mikhail Naganov
8da928b401 Merge "bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'" into main am: f12a076304
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3091790

Change-Id: I60df8ea2429bf0c216f43fa0da2e710e90444e3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 19:09:52 +00:00
Mikhail Naganov
f12a076304 Merge "bluetooth: Add 'defaults' for 'android_hardware_bluetooth_audio'" into main 2024-05-21 19:02:46 +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
Yu Shan
a686732e8b Initialize mAddExtraTestVendorConfigs to false. am: fe49375ba9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3093715

Change-Id: I4cd086e6654b12229f113d1c16e7647592c766cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-20 15:59:26 +00:00
Yu Shan
fe49375ba9 Initialize mAddExtraTestVendorConfigs to false.
If we do not init, the initial value is undefined.

Test: Local run
Bug: 340947823
Flag: EXEMPT bugfix
Change-Id: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
Merged-In: I18a3688a446dd969545e1fc2cb5f63210c3c02cd
2024-05-17 18:01:29 -07:00
Huang Rui
0cff7329d2 Delete standard output in VtsAidlKeyMintTargetTest
The Done flag of VtsAidlKeyMintTargetTest is false during running
the module with ‘--collect-tests-only’ because it uses standard
output to print logs.

Bug: 340576534
Test: run vts -m VtsAidlKeyMintTargetTest --collect-tests-only

Change-Id: I4edb4a4b21132a9044347a512304c7cfee9156f8
Merged-In: I3d81f7e59b6189fab1b146320263509f2694c11e
Signed-off-by: Huang Rui <rui1.huang@intel.com>
Signed-off-by: Liu Kai <kai1.liu@intel.com>
2024-05-17 09:22:55 +00:00
David Drysdale
77c246444b Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main am: fd7119ea67
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3088725

Change-Id: If25b988a3ee62aaf57abed5bdcdb905b3fcc81fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 06:13:16 +00:00
David Drysdale
fd7119ea67 Merge "Delete standard output in VtsAidlKeyMintTargetTest" into main 2024-05-17 05:59:57 +00:00
Yakun Xu
a3a516bd61 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main am: ca7d810a50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3079506

Change-Id: Ice13cb76c1f1746006809a4719e5f02e437d7986
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-17 04:11:56 +00:00
Yakun Xu
ca7d810a50 Merge "Thread: simulate radio over Ethernet on Cuttlefish" into main 2024-05-17 03:52:14 +00:00