Commit Graph

53251 Commits

Author SHA1 Message Date
Changyeon Jo
ba22368df0 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5 am: b89bbf5625
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: If7df49ed360c8484d18f393199105ea85a6c032e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:36:43 +00:00
Changyeon Jo
b89bbf5625 Update CameraStreamBuffering test and correct instance name am: 912b16f8c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2794200

Change-Id: If6a14f102e39d5754a4ca42d6e2857a04a6a4e60
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 01:08:02 +00:00
Treehugger Robot
3199222a90 Merge "Add a config with test skipping for SDK < 33" into android13-tests-dev am: 632438dc9e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2787019

Change-Id: I8dfce1a21c6ec0e155adc19e2f5396aa10381be9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 03:31:09 +00:00
Treehugger Robot
632438dc9e Merge "Add a config with test skipping for SDK < 33" into android13-tests-dev 2023-10-19 03:11:06 +00:00
Changyeon Jo
2405c6f40e [automerger skipped] Update VtsHalEvsV1_*TargetTest am: ab78601274 -s ours am: ddb56ed736 -s ours
am skip reason: Merged-In Id41bde10964b650f78e76d4f97a4588367f7c7fc with SHA-1 13fb8a7a82 is already in history

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

Change-Id: Ib67c326ffa63861a907d77d065cbb6eba5920800
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 01:52:55 +00:00
Changyeon Jo
ddb56ed736 [automerger skipped] Update VtsHalEvsV1_*TargetTest am: ab78601274 -s ours
am skip reason: Merged-In Id41bde10964b650f78e76d4f97a4588367f7c7fc with SHA-1 13fb8a7a82 is already in history

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

Change-Id: I62f952b07c8d46151e032668c062b259b15f85b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 01:34:54 +00:00
Changyeon Jo
912b16f8c5 Update CameraStreamBuffering test and correct instance name
- CameraStreamBuffering test is modified to use the minimum number of
  frame buffers that is required to run a camera pipeline for a single
  client instead of using an arbitrarily chosen number, which may not
  work for certain device implementations.
- Fix a name of v1.0 EvsManager implementation in
  VtsHalEvsV1_0TargetTest.cpp

Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Ieec986dbdf947311e0bc86871432da8a988d37ad
(cherry picked from commit 2d8834dc96)
2023-10-18 20:40:53 +00:00
Changyeon Jo
ab78601274 Update VtsHalEvsV1_*TargetTest
- Removes a requirement of the landscape aspect ratio of the captured
  frames because the Extended View System now allows the video streams
  in any aspect ratio
- Increases the maximum latency of the video stream start request from
  500 ms to 1 second to accommodate the camera system design with the
  additional processing units outside of the head unit
- Reduces a number of additional buffers to allocate from 6 to 2 in
  CameraStreamBuffering test, to be consistent with comments

Bug: 204835095
Bug: 305642713
Test: atest VtsHalEvsV1_0TargetTest and
      atest VtsHalEvsV1_1TargetTest
Change-Id: Id41bde10964b650f78e76d4f97a4588367f7c7fc
Merged-In: Id41bde10964b650f78e76d4f97a4588367f7c7fc
(cherry picked from commit 7bc98ce6ed)
2023-10-18 18:55:43 +00:00
Yu Shan
76623de19a [automerger skipped] Allow CDD required properties to be absent in VTS. am: 775b6eca77 -s ours am: 9e9ee99ccd -s ours
am skip reason: Merged-In I93020e7e024760601bc5a8edf9997cc356a568c6 with SHA-1 da7a4ddabd is already in history

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

Change-Id: Ie67e2c2958fc74e334019d6a83666baac549b42a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 18:12:55 +00:00
Yu Shan
9e9ee99ccd [automerger skipped] Allow CDD required properties to be absent in VTS. am: 775b6eca77 -s ours
am skip reason: Merged-In I93020e7e024760601bc5a8edf9997cc356a568c6 with SHA-1 da7a4ddabd is already in history

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

Change-Id: I77ec2b6acda79af05a5dd5886f39cad49102bf55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-17 17:57:20 +00:00
Yu Shan
22a7a8c838 [automerger skipped] Allow CDD required properties to be absent in VTS. am: da7a4ddabd -s ours
am skip reason: Merged-In I93020e7e024760601bc5a8edf9997cc356a568c6 with SHA-1 076976eea2 is already in history

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

Change-Id: I947d8a8eff1f9a6cef6e7b89846e3f7fc10748d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-14 00:11:10 +00:00
Steven Moreland
9848235972 Merge "OMX: allow in 8" into android14-tests-dev 2023-10-13 17:21:03 +00:00
Bao Do
db7e3027b3 Add a config with test skipping for SDK < 33
Test: atest VtsHalBluetoothAudioTargetTest
Bug: 288598199
Bug: 294466290
Change-Id: I563c8d50b186f2da2cf077dc3631808f8c2a9eee
(cherry picked from commit 00dede017f)
2023-10-12 17:12:44 +00:00
Yu Shan
da7a4ddabd Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Merged-In: I93020e7e024760601bc5a8edf9997cc356a568c6
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
2023-10-11 19:56:52 +00:00
Yu Shan
076976eea2 Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicle_TargetTest
Bug: 301577794
Change-Id: I93020e7e024760601bc5a8edf9997cc356a568c6
(Cherry-picked from commit b84f6f3c68fcd7f613146146821130eb354865c1)
2023-10-11 19:55:21 +00:00
Yu Shan
775b6eca77 Allow CDD required properties to be absent in VTS.
Allow CDD required properties not to be supported in VHAL VTS since
this is already covered in CTS. We also need to consider special
cases where one VHAL instance does not support all required
properties.

Test: atest VtsHalAutomotiveVehicleV2_0TargetTest
Bug: 301577794
Merged-In: I93020e7e024760601bc5a8edf9997cc356a568c6
Change-Id: I1c95625d45f5199328c4e157ebaa05f480d9e1cc
2023-10-11 19:46:53 +00:00
Steven Moreland
ab586ba7d3 OMX: allow in 8
Bug: 293538526
Change-Id: Ieda8e14d23c367c18537d79c28aeea8a9efbec53
Test: N/A
2023-10-11 01:41:02 +00:00
Alec Mouri
be23bf4f23 Merge "Setting layer brightness doesn't need nit info for readback tests" into stage-aosp-udc-ts-dev 2023-10-05 19:10:42 +00:00
chayemme
10853c6c2a Work around fix for "libvtswidevine32.so" not found (HIDL versions) am: 79819a085d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2766827

Change-Id: Ie21eb414e3157583d3c3bd0c41c85ecc0e3724ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 22:19:31 +00:00
Alec Mouri
a47d46affb Setting layer brightness doesn't need nit info for readback tests
The nit information was used when we set exact nit values rather than a
relative brightness per layer. But we only need nit values for the
renderengine interface, which isn't tied to any hwc or panel
capabilities.

Bug: 301261125
Test: VtsHalGraphicsComposer3_TargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:712b3d9880b6aff51ab17d539bfcbdf3785cc6ca)
Merged-In: I770dc5620648df2eab608e030c5e76cf190f315d
Change-Id: I770dc5620648df2eab608e030c5e76cf190f315d
2023-10-04 21:14:06 +00:00
Gabriel Biren
2a7fc95f69 Merge "Disable Wi-Fi framework during VTS" into stage-aosp-udc-ts-dev 2023-09-29 16:45:25 +00:00
chayemme
79819a085d Work around fix for "libvtswidevine32.so" not found (HIDL versions)
Bug: 299174272
Change-Id: Id7771e9ebbad46c95ae4fdbdfa1f9f9cc588b147
2023-09-28 20:29:50 +05:30
Kyle Zhang
98b3d5abbc Work around fix for "libvtswidevine32.so" not found am: 720b897783
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2762345

Change-Id: Ibf51568598d66416a6b2c2bdb1f61b7aa434fc6a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-26 22:23:18 +00:00
Kyle Zhang
720b897783 Work around fix for "libvtswidevine32.so" not found
Bug: 299290047
Change-Id: I01ef50feaaa8ff237d4d04848f9c9e67a81adc80
2023-09-26 17:13:51 +00:00
Ye Jiao
2236b96bf4 Disable Wi-Fi framework during VTS
When VTS case kills supplicant in SetUp, Wi-Fi framework will trigger
recovery process and causes races between VTS and Wi-Fi framework.

Disable Wi-Fi framework using 'cmd wifi' in SetUp.

Bug: 297820612
Test: run vts -m VtsHalWifiHostapdV1_0TargetTest with new case
(cherry picked from https://android-review.googlesource.com/q/commit:46538346af90bf93dcafa36206fc2ea5c545dd93)
Merged-In: I5ea7f00cfebf79021185f66766454d053c973b31
Change-Id: I5ea7f00cfebf79021185f66766454d053c973b31
2023-09-26 16:35:18 +00:00
Alisher Alikhodjaev
b5cc022359 Temporary disable one of the transmit checks
The transmit without openning a channel passes on some platforms,
because a basic channel can be opened by external applications
and the state is maintained in the HAL.

Bug: 300502872
Test: run vts -m VtsHalSecureElementTargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:d0ed43bb7eeb8c2cdc23d23d0d926e083322b7f3)
Merged-In: If727c613e8575802b99604f7242e16cf85fc97a0
Change-Id: If727c613e8575802b99604f7242e16cf85fc97a0
2023-09-20 23:41:50 +00:00
Andrew Scull
1c91d9ccdc Merge "Add security version to config descriptor" into stage-aosp-udc-ts-dev 2023-09-20 18:55:10 +00:00
Andrew Scull
1dc9c9f7a2 Merge "Support to get EC public key from the UdsCertchain." into stage-aosp-udc-ts-dev 2023-09-20 17:18:58 +00:00
Subrahmanyaman
d1bc0389e4 Support to get EC public key from the UdsCertchain.
Bug: 297123463
Bug: 285896470
Test: VtsHalRemotelyProvisionedComponentTargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:a18883a58cc9f6b702095bb17bbd0e4e894be49c)
Merged-In: I7f829b1346feeab0fd429ad7b9714181b6668b34
Change-Id: I7f829b1346feeab0fd429ad7b9714181b6668b34
2023-09-20 12:40:33 +00:00
David Drysdale
a15d593ccd Merge "KeyMint: check missing EC_CURVE on v3+" into stage-aosp-udc-ts-dev 2023-09-20 11:08:21 +00:00
Andrew Scull
95318f2960 Add security version to config descriptor
Introduce a field to the configuration descriptor that provides a
standard semantically-defined version number rather than the
vendor-defined component version which acts more like a build ID.

Test: n/a
Bug: 298580435
Bug: 282205139
(cherry picked from https://android-review.googlesource.com/q/commit:0d520e8e1751fde5a3207c6f27be88a8bbc245dc)
Merged-In: Idb0c991ab12ae75687236f2489e639e4422a0225
Change-Id: Idb0c991ab12ae75687236f2489e639e4422a0225
2023-09-19 12:29:23 +00:00
David Drysdale
3413388821 Merge "KeyMint VTS: re-order auth failure arms" into stage-aosp-udc-ts-dev 2023-09-19 06:08:43 +00:00
Sarah Chin
cc313bf5e1 [automerger skipped] Update VTS tests with EUTRAN instead of GERAN am: e6c4be215a -s ours
am skip reason: Merged-In Ib36b171e33451bf0c9adc0b065a4c74df357e77e with SHA-1 88aa5f6bcd is already in history

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

Change-Id: I023eb66754eddfe2ea2bb16759f1e50120a5576c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 23:31:19 +00:00
Sarah Chin
8e196c4ffc [automerger skipped] Fix broken and flaky VTS tests am: d3f69217e0 -s ours
am skip reason: Merged-In Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6 with SHA-1 7f3bd1792f is already in history

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

Change-Id: I7e7416e9200d4a1367d3d21c6094145b5c285624
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 21:43:39 +00:00
Sarah Chin
e6c4be215a Update VTS tests with EUTRAN instead of GERAN
These tests were created for IRadio 1.2 when all devices supported GSM,
and REQUEST_NOT_SUPPORTED was valid for devices that didn't support GSM. Change the VTS logic to test EUTRAN instead of GERAN.
Remove REQUEST_NOT_SUPPORTED for tests now without GERAN and add REQUEST_NOT_SUPPORTED for all GERAN-specific tests.

Test: atest VtsHalRadioTargetTest
Bug: 294965245
Change-Id: Ib36b171e33451bf0c9adc0b065a4c74df357e77e
Merged-In: Ib36b171e33451bf0c9adc0b065a4c74df357e77e
2023-09-15 21:10:07 +00:00
Sarah Chin
d3f69217e0 Fix broken and flaky VTS tests
1. nvResetConfig takes some time to reset the modem, causing subsequent
   tests to fail with a timeout since the modem is unavailabe.
   Add a timeout after nvResetConfig to allow the modem to be up again
   before running the next test.
2. Remove invalid errors for start/stopKeepalive. These tests should
   fail due to invalid arguments, so remove NONE as a possible error.
   RADIO_NOT_AVAILABLE should also be removed.
3. Fix incorrect startNetworkScan_InvalidInterval tests, since we only
   check the interval when the scan type is PERIODIC.
4. Save and reset the previous allowed network type bitmap after the
   test. Combine get/set into one test that tests both behaviors.
5. Fix checks for MCC/MNC in getDataRegistrationState

Bug: 277626718
Bug: 240953393
Bug: 264913330
Bug: 259674407
Bug: 242801688
Test: atest VtsHalRadioTargetTest
Change-Id: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
Merged-In: Ic7188f9d8ccfcd90d844b45e3b370a3be3c515d6
(cherry picked from commit ddaea2e5a4)
2023-09-15 20:08:27 +00:00
Sarah Chin
88aa5f6bcd Update VTS tests with EUTRAN instead of GERAN
These tests were created for IRadio 1.2 when all devices supported GSM,
and REQUEST_NOT_SUPPORTED was valid for devices that didn't support GSM. Change the VTS logic to test EUTRAN instead of GERAN.
Remove REQUEST_NOT_SUPPORTED for tests now without GERAN and add REQUEST_NOT_SUPPORTED for all GERAN-specific tests.

Test: atest VtsHalRadioTargetTest
Bug: 294965245
Change-Id: Ib36b171e33451bf0c9adc0b065a4c74df357e77e
2023-09-15 18:40:27 +00:00
Gabriel Biren
ff914778ef Rename toggleWifiFramework in the Hostapd
AIDL test utils in order to avoid having
an ambigous function call.

aosp/2728874 adds a method of the same
name, which is causing pre-submit issues.

Bug: 297820612
Test: atest VtsHalHostapdTargetTest
Change-Id: Ie4da0a0037e7411e7908401f021b48246ea227bd
Merged-In: Ie4da0a0037e7411e7908401f021b48246ea227bd
(cherry picked from commit 94950dc20d)
2023-09-15 16:59:29 +00:00
David Drysdale
24e594e05e KeyMint VTS: re-order auth failure arms
Allow for devices that claim to need external timestamps, but don't.

Test: VtsAidlKeyMintTargetTest
Bug: 300211206
(cherry picked from https://android-review.googlesource.com/q/commit:a35699cb5cfef3773afebf51c2dd38530db43bf0)
Merged-In: Ie450d9969c337d5274502f3600e14c0b481e8b34
Change-Id: Ie450d9969c337d5274502f3600e14c0b481e8b34
2023-09-15 10:46:09 +00:00
David Drysdale
e63c5bb5c3 KeyMint: check missing EC_CURVE on v3+
The original change to add this test didn't make it into the Android 13
version of the VTS test, so the version gate needs to be updated to be
v3+

Bug: 292318194
Test: VtsAidlKeyMintTargetTest --gtest_filter="*EcdsaMissingCurve*"
(cherry picked from https://android-review.googlesource.com/q/commit:9ed7d2c5bfa3958ef399567e12d84a3f67f0cb80)
Merged-In: I94bf816688e57c7c04893a23cf0399129de94229
Change-Id: I94bf816688e57c7c04893a23cf0399129de94229
2023-09-15 10:01:09 +00:00
Sarah Kim
848650fd00 Merge "Add null check for osAppId" into stage-aosp-udc-ts-dev 2023-09-12 19:48:47 +00:00
Yifan Hong
f6be1dc2ad Merge "compatibility_matrices: T launching devices allow to use light V1 AIDL." into stage-aosp-udc-ts-dev 2023-09-12 17:36:53 +00:00
François Gaffie
3ba59d7708 [automerger skipped] Audio: add system usage to audio policy engine schemas am: d2ab30cbe9 am: 2c17a95ff2 am: 8f6b57b5a8 -s ours
am skip reason: Merged-In I49a8d3cfeb45eddc95ad6ab4a33b0adf0585cde2 with SHA-1 e284266e52 is already in history

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

Change-Id: Ibe46ca7b28ad05ec1edec666d27621e9f6312931
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 20:27:45 +00:00
François Gaffie
8f6b57b5a8 Audio: add system usage to audio policy engine schemas am: d2ab30cbe9 am: 2c17a95ff2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2719503

Change-Id: I5c145b0cc13ba58251547149cd8bfe795ef03d05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 19:37:07 +00:00
François Gaffie
2c17a95ff2 Audio: add system usage to audio policy engine schemas am: d2ab30cbe9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2719503

Change-Id: I99ef82c7733eeffcbbb92e538a76b339e051f7c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 18:47:43 +00:00
Treehugger Robot
8a3fb6b956 Merge "Audio: add system usage to audio policy engine schemas" into stage-aosp-udc-ts-dev 2023-09-11 17:43:43 +00:00
Yifan Hong
f7b2410f13 compatibility_matrices: T launching devices allow to use light V1 AIDL. am: 6299324831
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746179

Change-Id: Ibe9caf0f72ad936ed89f5069cd6903d80c588156
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 22:49:49 +00:00
Yifan Hong
3af92ba563 compatibility_matrices: T launching devices allow to use light V1 AIDL.
AIDL deprecation checks are only implemented in U,
so the existing V2 requirement on the T matrix
did not take effect on T branches. Hence, we
shouldn't add requirements retroactively.

Test: TH
Bug: 298318354
(cherry picked from https://android-review.googlesource.com/q/commit:7e2962f03a649dd4eb34c86c0eb93c98a3bc93b4)
Merged-In: Iaf38c6d6270f4aa9c7163540a396045be9d7865a
Change-Id: Iaf38c6d6270f4aa9c7163540a396045be9d7865a
2023-09-08 18:39:06 +00:00
Yifan Hong
6299324831 compatibility_matrices: T launching devices allow to use light V1 AIDL.
AIDL deprecation checks are only implemented in U,
so the existing V2 requirement on the T matrix
did not take effect on T branches. Hence, we
shouldn't add requirements retroactively.

Test: TH
Bug: 298318354
Change-Id: Iaf38c6d6270f4aa9c7163540a396045be9d7865a
2023-09-08 18:38:22 +00:00
Sarah Chin
35bf8e1b50 Add null check for osAppId
Test: atest VtsHalRadioTargetTest
Bug: 297467393
Change-Id: Ib94d118765bf527ba51d5e7e29942cec6bff61c4
2023-09-07 23:19:41 +00:00