Commit graph

53356 commits

Author SHA1 Message Date
Treehugger Robot
fd06d0a042 Merge "Remove the SIM card status condition check and add accepted possible errors" into android14-tests-dev 2024-04-24 03:55:47 +00:00
Bruno Carneiro
8d3cb52ead Improve OpenAfterOpen VTS test
A callback should be executed every time the NFC interface is opened,
even in OpenAfterOpen scenarios. If a callback is not executed, a
crash may occur where the NfcService hangs while waiting for an
OPEN_CPLT event.

Bug: 327582461
Merged-In: Idd78c0dae944e3d39a6828b43db5a608adbaf1d9
Change-Id: Idd78c0dae944e3d39a6828b43db5a608adbaf1d9
Signed-off-by: Bruno Carneiro <bccunha@motorola.com>
(cherry picked from commit 056aa140ca)
2024-04-18 04:21:08 +00:00
Jiawei Li
59aeb3182b Update VTS SupplicantStaIfaceAidlTest#SetCountryCode to US
Bug: 323694622
Bug: 334053791
Test: VTS SupplicantStaIfaceAidlTest
(cherry picked from https://android-review.googlesource.com/q/commit:73e55bdbcf03a990fafd06abc585e1d2521b9c18)
Merged-In: Idad4127ce26188145c7b07d60d5e6ce40a80aa5b
Change-Id: Idad4127ce26188145c7b07d60d5e6ce40a80aa5b
2024-04-16 16:59:12 +00:00
Ray Chin
9b13077c4c Refine infeasible frontend status check
Bug: 322055872
Test: atest VtsHalTvTunerTargetTest
Change-Id: I43bef4b7c5b6bc0f85904916040617fbde16b894
2024-04-02 22:47:47 +08:00
Ray Chin
7d03f49853 Support product specific VTS test configuration
The tuner vts will read the system property
ro.vendor.vts_tuner_configuration_variant as the suffix of the config
file to read. Vendor who wants to support multiple region for a single
SoC need to put all VTS config with different suffix as
/vendor/etc/tuner_vts_config_aidl_V1.{suffix}.xml on device.

Bug: 322899156
Test: atest VtsHalTvTunerTargetTest
Change-Id: I1f76d700671c07bc90965fba94f96b8be47198d7
2024-03-29 11:10:50 +08:00
Jerry Wong
b74c11d1c7 audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc am: 12b2c93b10 am: bd701ebc51 am: ee5066c40d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191

Change-Id: Id9d1f231d050e7bd1d01b08b7e8874d6e4464fce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 04:10:01 +00:00
Jerry Wong
ee5066c40d audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc am: 12b2c93b10 am: bd701ebc51
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191

Change-Id: I86014692bf87fb9529ff1c05d7141c709674c93f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 03:48:46 +00:00
Jerry Wong
bd701ebc51 audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc am: 12b2c93b10
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191

Change-Id: I629120865fbc3140771352f38b033ddb84bd9d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 03:24:09 +00:00
Jerry Wong
12b2c93b10 audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6) am: 50bf1116fc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2989191

Change-Id: Ifa60f56a93ed09f1a546989cd8231cb0df97ad4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 02:39:48 +00:00
liuxiangjun
4b7f0175f1 Remove the SIM card status condition check and add accepted possible errors
For devices not in LTE service, the vts test returns MODEM_ERR is an expected result

Bug:317314512

Test:
VtsHalRadioTargetTest
PerInstance/RadioNetworkTest#setNetworkSelectionModeManual/0_android_hardware_radio_network_IRadioNetwork_slot1
PerInstance/RadioNetworkTest#setNetworkSelectionModeManual/1_android_hardware_radio_network_IRadioNetwork_slot2

Merged-In: I75414ba18be93707310cace21b52508edfc33a20
Change-Id: I75414ba18be93707310cace21b52508edfc33a20
Signed-off-by: liuxiangjun <liuxiangjun3@xiaomi.com>
2024-03-07 02:41:51 +00:00
Jerry Wong
50bf1116fc audio: Add AUDIO_FORMAT_DEFAULT to supported formats (V6)
Bug: 309625094
Test: atest VtsHalAudioV6_0TargetTest

Change-Id: I1f79d33fc05630392587d9a4fb2a3a20a98d6d14
2024-03-05 14:48:57 -08:00
David Drysdale
8351f33b2b KeyMint: use a smaller invalid IMEI value
The invalid value used for the second IMEI attestation test is
potentially wrong in two ways:
- It doesn't match the provisioned value.
- It's not a valid IMEI, not least because it is longer than 16 bytes.

Make the test value shorter so the second failure doesn't apply and
the test can reliably expect CANNOT_ATTEST_IDS.

Bug: 292959871
Bug: 327123694
Test: VtsAidlKeyMintTargetTest
Change-Id: If8c6b9e08b48e6caf5c767578e1ac43964214619
(cherry picked from commit 0215cb3d3e)
2024-02-27 10:13:15 +00:00
Yu-Han Yang
653221fa8e Allow multiple registered GNSS HALs am: 3344506a78
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2962603

Change-Id: Ib6d0d5bd134ac5b2f7992637fb1495544853db1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-22 21:47:19 +00:00
Yuyang Huang
1abfda2def Update VTS to exempt low-power TVs from APF
This change updates the VTS to exempt TV devices that consume <= 2W of
standby power from APF requirements. This update aligns with latest GTVS
policy.

Bug: 306587099
Test: TH
(cherry picked from https://android-review.googlesource.com/q/commit:9f215110bf524e3bf1d2fb591a724623e11423bc)
Merged-In: Ifec617520db20d1ef61f1eca63b7160d9191f446
Change-Id: Ifec617520db20d1ef61f1eca63b7160d9191f446
2024-02-18 01:19:56 +00:00
Yu-Han Yang
3344506a78 Allow multiple registered GNSS HALs
Bug: 325210998
Change-Id: I1c5e4e37059b6159ffaff310d2d0dd588d35fd7c
Test: atest VtsHalGnssV1_1TargetTest
2024-02-14 22:11:23 +00:00
Treehugger Robot
1d95f15155 [automerger skipped] Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev am: 1f3bee1191 -s ours am: 85e1f5e409 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904808

Change-Id: I1d971445353976b1b49757b89a0067646c67b9dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 06:18:15 +00:00
Kevin Karl
145c1fbd21 [automerger skipped] [DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest am: 29a9a9ccfd -s ours am: 8824d06406 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904808

Change-Id: I04a9a6a56dd02243d86f58ee830a94c47493f382
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 06:18:08 +00:00
Treehugger Robot
85e1f5e409 [automerger skipped] Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev am: 1f3bee1191 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904808

Change-Id: Ie1a578863136c0f34c5dc00e92b7b9604f000971
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 05:54:43 +00:00
Kevin Karl
8824d06406 [automerger skipped] [DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest am: 29a9a9ccfd -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2904808

Change-Id: Ib6d24f096a57f36adad35f7b6559354f3860769e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-06 05:54:38 +00:00
Treehugger Robot
1f3bee1191 Merge "[DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest" into android12L-tests-dev 2024-02-06 05:25:19 +00:00
Shawn Willden
fe823a11c2 [automerger skipped] Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7 am: 198bcf3a6d -s ours am: 9f1f92c4a8 -s ours
am skip reason: Merged-In I8199e5c7570b10b71f127c7439b889c0b3327865 with SHA-1 981c9c2236 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665235

Change-Id: I30cc99967587e979d36f8b6b1de76bfb4c0964fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 19:32:48 +00:00
Shawn Willden
935b26802d [automerger skipped] Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18 am: 3756b0c17f -s ours am: dc8281e5a6 -s ours
am skip reason: Merged-In I4a5b2a41172c15ae29efb5b177eb86cea5527b4e with SHA-1 b7d44a2eef is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665195

Change-Id: I241187d84b542beb5a44df2c867056d2ba6d7426
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 19:32:43 +00:00
Shawn Willden
9f1f92c4a8 [automerger skipped] Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7 am: 198bcf3a6d -s ours
am skip reason: Merged-In I8199e5c7570b10b71f127c7439b889c0b3327865 with SHA-1 981c9c2236 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665235

Change-Id: If4d6d688d8e7d0373e3e1edd740ae0c78605134e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:49:14 +00:00
Shawn Willden
dc8281e5a6 [automerger skipped] Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18 am: 3756b0c17f -s ours
am skip reason: Merged-In I4a5b2a41172c15ae29efb5b177eb86cea5527b4e with SHA-1 b7d44a2eef is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665195

Change-Id: I3bab88ae6c301fb8ced89c251e84a21e0e35ec59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:49:09 +00:00
Shawn Willden
198bcf3a6d Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev am: bd01292ab7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665235

Change-Id: I6adf3810f97b1af4f4b7afad0059035154944623
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:12:23 +00:00
Shawn Willden
3756b0c17f Merge "Add check_feature helper" into android12-tests-dev am: 61b28ebd18
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665195

Change-Id: Ic114fba82b35940152193ea95e0f871f9ed4b74d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-05 18:12:19 +00:00
Jayant Chowdhary
e51dca227c Merge "Camera VTS: Test only CROPPED_RAW use case for RAW_SENSOR streams" into android14-tests-dev 2024-02-05 17:45:14 +00:00
Shawn Willden
bd01292ab7 Merge "Fix AttestKeyTest failures in KeyMint VTS" into android12-tests-dev 2024-02-05 17:44:49 +00:00
Shawn Willden
61b28ebd18 Merge "Add check_feature helper" into android12-tests-dev 2024-02-05 17:44:49 +00:00
Jayant Chowdhary
7a9ee22a51 Camera VTS: Test only CROPPED_RAW use case for RAW_SENSOR streams
There are no mandatory stream combinations for RAW_SENSOR streams that
do not involve the CROPPED_RAW stream use case. So we don't need to test
stream non CROPPED_RAW stream use cases with the RAW_SENSOR format,
since we don't have a definite answer to whether they will be supported or not.

Bug: 317773720

Test: Camera VTS on cf
Test: Vendor testing

Merged-In: I0870e90ae68a5e35196f0ba0afaa6b8bf7fbfbd8
Change-Id: I0870e90ae68a5e35196f0ba0afaa6b8bf7fbfbd8
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit 6847115a00)
2024-02-01 18:51:13 +00:00
Yu Shan
2b31910a47 [automerger skipped] Add retry in setProp test. am: 62fe882688 -s ours
am skip reason: Merged-In If9349a097a92c51101c7b5f4bf807b610ab2cb0b with SHA-1 1837df06c2 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2927410

Change-Id: I6d6ea305b270b7fe524f4d980531577cc1a794d5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 22:43:38 +00:00
George Chang
c2cba539b8 Tag vts module VtsHalSecureElementTargetTest with secure element sim
Bug: 302200925
Test: build pass
Change-Id: Idbfee70eec009fffe389aad5780a4f04c55757c7
Merged-In: Idbfee70eec009fffe389aad5780a4f04c55757c7
(cherry picked from commit 80e365794b)
2024-01-31 03:12:59 +00:00
Yu Shan
2c12f0e9ae Merge "Add retry in setProp test." into android14-tests-dev 2024-01-31 01:40:17 +00:00
Yu Shan
8cda776ffe Fix HIDL VHAL descriptor name in VTS. am: 928062ccac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2928798

Change-Id: I6f7dd76ee3c813194085f131fe495e8f60492f7c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-30 18:09:37 +00:00
Yu Shan
1837df06c2 Add retry in setProp test.
Set property operation is async so getting the property value
immediately after setting the property might not return the new
value. This CL adds the logic to retry when we do not get the
expected values back.

This CL also skips the test case if getting property or setting
property returns unavailable.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 322070490
Change-Id: If9349a097a92c51101c7b5f4bf807b610ab2cb0b
Merged-In: If9349a097a92c51101c7b5f4bf807b610ab2cb0b
2024-01-29 22:50:49 +00:00
Yu Shan
62fe882688 Add retry in setProp test.
Set property operation is async so getting the property value
immediately after setting the property might not return the new
value. This CL adds the logic to retry when we do not get the
expected values back.

This CL also skips the test case if getting property or setting
property returns unavailable.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 322070490
Change-Id: If9349a097a92c51101c7b5f4bf807b610ab2cb0b
Merged-In: If9349a097a92c51101c7b5f4bf807b610ab2cb0b
2024-01-29 21:42:42 +00:00
Zhanglong Xia
1dc8481bc7 Bypass Thread HAL SendSpinelFrame test on TV devices
The Thread HAL VTS test is built from the staging folder on the
android14-tests-dev branch. And the HAL interface doesn't have
@VintfStability which means it is unstable interface. Thread HAL
interface has been removed from the staging folder and added the
@VintfStability on main branch. It reports following errors when
runing the VTS that froms android14-tests-dev branch on main branch.

`BpBinder: Cannot do a user transaction on a system stability
binder in a vendor stability context`

This CL bypasses the `SendSpinelFrame` test case of the Thread
VTS tests on TV devices.

Bug: b/322731574
Test: Run `run vts -m VtsHalThreadNetworkTargetTest` on the TV device
Change-Id: Ibf7fe96aafa58cee7ae55a0ef613f0be67548a80
2024-01-29 18:06:57 +08:00
Yu Shan
928062ccac Fix HIDL VHAL descriptor name in VTS.
Bug: 322418005
Test: Manual test with HIDL VHAL, VTS pass.
Change-Id: I93e92d3587243c44b5651ab85d47442ebb64c51a
Merged-In: I93e92d3587243c44b5651ab85d47442ebb64c51a
2024-01-27 02:28:25 +00:00
Kevin Karl
29a9a9ccfd [DO NOT MERGE] vts: Fix for setProp in VtsHalAutomotiveVehicleV2_0TargetTest
setProp test, sets READ_WRITE property and reads prop value immediately,
without considering the time delay Vehicle HAL service required to process
the set request.
This is handled by a retry and timeout mechanism, where the read trials
will happen in 500 milliseconds for a timeout of 2 seconds.

Bug: 312265787
Test: VtsHalAutomotiveVehicleV2_0TargetTest
Change-Id: I5db6d724710033f271064ac81c5178f0dec74b26
2024-01-26 14:47:49 +01:00
Ray Chin
aeaabf3c1f Bypass Live if there is no HW FE nor SW FE.
Bug: 321774563
Test: atest VtsHalTvTunerTargetTest on cf_x86_tv-userdebug
Change-Id: I801bd81f80e4b15f1e3064ed796951aead087557
2024-01-25 12:26:56 +00:00
Hongguang Chen
486de7bc69 Merge "Rename mDNS offload feature name" into android14-tests-dev 2024-01-22 18:13:49 +00:00
Treehugger Robot
f270275c7a Merge "lights aidl: Add required @Rust derive statements" into android14-tests-dev 2024-01-20 11:13:26 +00:00
Hongguang Chen
aee7ba0345 Rename mDNS offload feature name
Bug: 318332352
Test: pm list features
Test: atest android.app.cts.SystemFeaturesTest
Test: atest VtsHalWifiStaIfaceTargetTest
Merged-In: I57d8f955c3f5d39814f36b662fee8d045c8c5150
Change-Id: I57d8f955c3f5d39814f36b662fee8d045c8c5150
2024-01-20 01:49:49 +00:00
Alisher Alikhodjaev
496cc8a5df Per NCI spec there is no need to wait for credits am: 78c233dc03
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2917346

Change-Id: I67ee9b89e2e5de9ffe95ff40490358bb852e3fd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 20:21:37 +00:00
Alisher Alikhodjaev
78c233dc03 Per NCI spec there is no need to wait for credits
One case was missed in the previous fix.
This is an update.

Bug: 312911587
Test: no regressions
Change-Id: I7fefa92d5a66581431288ec902a56ed61e9cf310
(cherry picked from commit 46d9630125)
2024-01-18 17:29:52 +00:00
Treehugger Robot
b4fadec4ff Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev am: 4c7a5de957
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2911485

Change-Id: Ib03e2c8e9b8dd43bca4741dbd1024ab0da6c5f97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 04:44:07 +00:00
Treehugger Robot
4c7a5de957 Merge "Modify CameraUseStreamConfigToDisplay" into android13-tests-dev 2024-01-18 04:20:19 +00:00
Treehugger Robot
b4b919688d [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android12-tests-dev am: a3ca13869f -s ours am: d6d89e064c -s ours am: 4ffdc10d06 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2912390

Change-Id: I0307c517f5e8e6ee70b4cd87d704037cf94dfbda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 03:38:54 +00:00
Changyeon Jo
021ac5948a [automerger skipped] [RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay am: 2180645f10 -s ours am: d9483b87bc -s ours am: 5c95074b1e -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2912390

Change-Id: I28df501b09e1023047c7679a234cbb261585c56c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 03:38:51 +00:00
Treehugger Robot
34f6e19f5e [automerger skipped] Merge "[RESTRICT AUTOMERGE] Modify CameraUseStreamConfigToDisplay" into android12L-tests-dev am: 294d32e264 -s ours am: 656eae1fb4 -s ours
am skip reason: contains skip directive

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2911484

Change-Id: Ief0362ac588ebf0aaec296687772d7cf823c7f40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-18 03:38:40 +00:00