Commit Graph

21365 Commits

Author SHA1 Message Date
Robert Shih
05453e2dd2 Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev am: c85c77653c am: 731d2e3bb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12469588

Change-Id: Ic07565b473717d80a6822076dbcdc0d553ba0c29
2020-08-28 20:03:23 +00:00
Robert Shih
731d2e3bb1 Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev am: c85c77653c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12469588

Change-Id: Iba106b965e5c4614d49c694254ec0b6ed2db07cb
2020-08-28 19:48:05 +00:00
Robert Shih
c85c77653c Merge "VtsHalDrm: run tests in single shard" into stage-aosp-rvc-ts-dev 2020-08-28 19:30:55 +00:00
Yu-Han Yang
50e94f9525 Add capability check for satellite blacklist tests am: c40aa186ea am: faec210a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613

Change-Id: Ida1726ca76a76368a8b1fbd9f349a56a1fdbc628
2020-08-27 18:58:36 +00:00
Yu-Han Yang
faec210a8e Add capability check for satellite blacklist tests am: c40aa186ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12463613

Change-Id: I29409edce51e57acd7f5013e74b759e8cecb2fac
2020-08-27 18:39:22 +00:00
Robert Shih
f2eaf2c299 VtsHalDrm: run tests in single shard
Currently drm cert provisioning is performed as an indivdual test case.
Other tests (e.g. decrypt tests) have dependency on drm cert
provisioning.

Bug: 165493235
Test: VtsHalDrmV1_0TargetTest
Test: VtsHalDrmV1_1TargetTest
Test: VtsHalDrmV1_2TargetTest
Test: VtsHalDrmV1_3TargetTest
Change-Id: I7aad35747997e6ce5b06919344475e0f2754cd15
2020-08-27 08:58:04 -07:00
Yu-Han Yang
c40aa186ea Add capability check for satellite blacklist tests
Bug: 166251991
Test: on device
Change-Id: I27e515a5f2a6676a250f361b17b056a73e209ad3
2020-08-26 20:41:51 +00:00
lesl
676d1b13dc vts: Fix incorrect instance name in Teardown am: a6cc5825e9 am: 9ce5301add
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: I26ba62bca03c462eb95df80f65104e5ed8409771
2020-08-26 14:45:16 +00:00
lesl
9ce5301add vts: Fix incorrect instance name in Teardown am: a6cc5825e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12422070

Change-Id: I80345159ccb101a3fe6bc96bcb3b8e10ed4efdab
2020-08-26 13:58:04 +00:00
lesl
a6cc5825e9 vts: Fix incorrect instance name in Teardown
The stopHostapd uses vendor HAL HIDL interface.
The interface name should use wifi_instance.

Bug: 161682236
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: I8215cba3e2a36f48863f57e199684c7446e20692
2020-08-21 19:08:17 +08:00
TF Huang
1683c975fa wlan: add supported interfaces in rc file am: 65516ffff5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12417249

Change-Id: Ia72e11516d0aa9d1d2a95a49abaae386f1b8c7ad
2020-08-20 22:55:34 +00:00
TF Huang
65516ffff5 wlan: add supported interfaces in rc file
Service vendor.wifi_hal_legacy should add all supported interface
into relevant .rc files.

Bug: 160377428
Test: Wifi presubmit tests
Change-Id: I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37
Merged-In: I68e8d3e7ddb1470a92c5ccd30f6d4d5f90ad9e37
(cherry picked from commit ca7a8c9559)
2020-08-20 16:50:01 +00:00
Roshan Pius
5b07a6bef3 supplicant(vts): Stop framework after querying package manager am: 2595661c0d am: 5fdc6b6469
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12351743

Change-Id: Ib9a4aded7d4fc964202874176d8034062d56fa5b
2020-08-18 09:28:37 +00:00
Roshan Pius
5fdc6b6469 supplicant(vts): Stop framework after querying package manager am: 2595661c0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12351743

Change-Id: I6f932c5504f0506753af28bcebf0b387f7f39583
2020-08-18 09:19:12 +00:00
Roshan Pius
2595661c0d supplicant(vts): Stop framework after querying package manager
Bug: 161951052
Test: atest VtsHalWifiSupplicantV1_0TargetTest VtsHalWifiSupplicantV1_1TargetTest
VtsHalWifiSupplicantV1_2TargetTest VtsHalWifiSupplicantV1_3TargetTest

Change-Id: Ic5f57ce77cae7c8f3e233065923877943460edee
2020-08-11 17:41:23 +00:00
TreeHugger Robot
22e96ba36c Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev am: 37b752ed99 am: 9e5e724e1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12302790

Change-Id: I4dbdf3b699f076af6b9c31b9ac52957f5bf0d2c6
2020-08-11 15:06:45 +00:00
TreeHugger Robot
9e5e724e1a Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev am: 37b752ed99
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12302790

Change-Id: Ie6659390378dabafb667f5ccf8f7bbe9d4c8ba66
2020-08-11 14:51:42 +00:00
TreeHugger Robot
37b752ed99 Merge "Fixing a test in DeviceUniqueAttestationTest" into stage-aosp-rvc-ts-dev 2020-08-11 14:29:21 +00:00
Eran Messeri
1c845757f2 Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856 am: b0f932739a am: 6a1198e166 am: 51914eb0eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12306609

Change-Id: Ifd50b6e0e7bc115bee6d910b732d617c12e87cf1
2020-08-06 08:23:21 +00:00
Eran Messeri
51914eb0eb Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856 am: b0f932739a am: 6a1198e166
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12306609

Change-Id: Id223b4ec4161f11c92b5dcb36ec417b3af50be89
2020-08-06 08:14:31 +00:00
Eran Messeri
6a1198e166 Merge "Fix Keymaster VTS unique attestation failure" am: 3e4d8d0856 am: b0f932739a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1372156

Change-Id: I0e2ee2609c8fcf82ad31d9c97423b9006862cb97
(cherry picked from commit 4e3c9a1d65)

Bug: 160518399

Exempt-From-Owner-Approval: already approved as aosp/1372156.
Change-Id: I0e2ee2609c8fcf82ad31d9c97423b9006862cb97
2020-08-05 14:54:17 +00:00
Max Bires
1e73395504 Fixing a test in DeviceUniqueAttestationTest
The EC key check for generating a device unique attestation from a
non-strongbox keymaster instance left out the
TAG_DEVICE_UNIQUE_ATTESTATION_TAG, so the test should fail since the
attestation should succeed. This commit adds the tag into the parameters
passed into attestation.

Fixes: 161327512
Test: m VtsHalKeymasterV4_1TargetTest
Change-Id: I75a41a75b298c91ec41fa411f8a486ac347cf748
2020-08-04 10:44:56 +00:00
Roshan Pius
62576bd239 [automerger skipped] wifi(vts): Use blocking getService to wait for service to come up am: 2329bba9fe -s ours am: 1deae073f4 -s ours
am skip reason: Change-Id Ia05f93ba4a28c036315558edbba30f19c2e6ac95 with SHA-1 6d0af445ee is in history

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

Change-Id: I33c3605239091c72a51306694e40ea153d35d5cd
2020-07-31 20:14:00 +00:00
Roshan Pius
1deae073f4 [automerger skipped] wifi(vts): Use blocking getService to wait for service to come up am: 2329bba9fe -s ours
am skip reason: Change-Id Ia05f93ba4a28c036315558edbba30f19c2e6ac95 with SHA-1 6d0af445ee is in history

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

Change-Id: I91b392462f71cdf25cb31fd0402fcb71eb704e7b
2020-07-31 19:54:46 +00:00
Roshan Pius
2329bba9fe wifi(vts): Use blocking getService to wait for service to come up
Switch away from using wifi's custom implementation to block for
supplicant/hostapd daemon to come up.

Bug: 161682236
Test:
vts-tradefed run commandAndExit vts --module VtsHalWifiHostapdV1_0Target
vts-tradefed run commandAndExit vts --module VtsHalWifiSupplicantV1_0Host

Change-Id: Ia05f93ba4a28c036315558edbba30f19c2e6ac95
Merged-In: Ia05f93ba4a28c036315558edbba30f19c2e6ac95
(cherry picked from commit 6d0af445ee)
2020-07-29 23:44:51 +00:00
TreeHugger Robot
4181fe2378 Merge "Camera HAL Vts : Fix usage flag combination during gralloc allocation." into stage-aosp-rvc-ts-dev am: 7cc876ee02 am: 314611d129
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12173503

Change-Id: I39340ce3367eaac6e0e5ff311ee265a1733033ef
2020-07-29 20:36:27 +00:00
Roshan Pius
1bf88e14c3 Merge "wifi(vts): Use blocking getService to wait for service to come up" into rvc-dev am: 5afe29b247
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12204704

Change-Id: I066e0a53340cf504b6ed5c885658f8379ade8928
2020-07-29 20:36:21 +00:00
TreeHugger Robot
314611d129 Merge "Camera HAL Vts : Fix usage flag combination during gralloc allocation." into stage-aosp-rvc-ts-dev am: 7cc876ee02
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12173503

Change-Id: Ie4dde0d9900caec24e50d133d0640a1b073ba9a8
2020-07-29 20:19:35 +00:00
Roshan Pius
5afe29b247 Merge "wifi(vts): Use blocking getService to wait for service to come up" into rvc-dev 2020-07-29 20:19:16 +00:00
TreeHugger Robot
7cc876ee02 Merge "Camera HAL Vts : Fix usage flag combination during gralloc allocation." into stage-aosp-rvc-ts-dev 2020-07-29 19:57:28 +00:00
Jayant Chowdhary
ef9374cb20 Camera HAL Vts : Fix usage flag combination during gralloc allocation.
Earlier, for processCaptureRequestInternal, we took into account
producer and consumer usage flags returned by configureSingleStream.
Instead we should be taking into account the producer flag returned by
configureSingleStream and the consumer flag passed into
processCaptureRequestInternal (for output streams).

Bug: 162344072

Test: Use secure camera as secure only camera and run vts
Test: Run camera vts
Test: Vendor testing

Change-Id: I9fbd4db4cff48c25684f097907e7ba995c3edf41
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-07-28 19:18:00 +00:00
TreeHugger Robot
bdd91ce89b Merge "[DO NOT MERGE] OMX VTS: Use GraphicBuffer utils from libui" into stage-aosp-rvc-ts-dev am: 9e96af4a8d am: 6a54b5063d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227826

Change-Id: I75b23478f64868359c6b5e236e2678d7e417967a
2020-07-28 00:08:09 +00:00
Manisha Jajoo
a57cde11c4 [DO NOT MERGE] OMX VTS: Use GraphicBuffer utils from libui am: 868c18341d am: f1e06c0a12
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227826

Change-Id: I4128f60576d82a528175afb37d17800c32d970fd
2020-07-28 00:08:06 +00:00
TreeHugger Robot
6a54b5063d Merge "[DO NOT MERGE] OMX VTS: Use GraphicBuffer utils from libui" into stage-aosp-rvc-ts-dev am: 9e96af4a8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227826

Change-Id: I179fb80a2e2ac5ae7f41f0f2dde2f1bd062d3500
2020-07-27 23:53:43 +00:00
Manisha Jajoo
f1e06c0a12 [DO NOT MERGE] OMX VTS: Use GraphicBuffer utils from libui am: 868c18341d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227826

Change-Id: I93c1dccea84c50ca9af0be994f930a314576588b
2020-07-27 23:53:40 +00:00
TreeHugger Robot
9e96af4a8d Merge "[DO NOT MERGE] OMX VTS: Use GraphicBuffer utils from libui" into stage-aosp-rvc-ts-dev 2020-07-27 23:23:18 +00:00
Manisha Jajoo
868c18341d [DO NOT MERGE] OMX VTS: Use GraphicBuffer utils from libui
Use GraphicBufferMapper and GraphicBufferAllocator for
gralloc buffers. This makes the tests independent of
gralloc version

Bug: 160355727
Test: atest VtsHalMediaOmxV1_0TargetMasterTest \
        VtsHalMediaOmxV1_0TargetComponentTest \
        VtsHalMediaOmxV1_0TargetAudioEncTest \
        VtsHalMediaOmxV1_0TargetAudioDecTest \
        VtsHalMediaOmxV1_0TargetVideoDecTest \
        VtsHalMediaOmxV1_0TargetVideoEncTest

Change-Id: If407ac3d8c0fadc55a8e57627121244a8d5155f8
2020-07-27 23:18:48 +00:00
TreeHugger Robot
05bd55e2d6 Merge "wifi: Fix for DPP VTS test failures on 5GHz only devices" into stage-aosp-rvc-ts-dev am: 80224805c5 am: 4b47ecaf5d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12219814

Change-Id: I3caed4c42b49c9bf6900640c899b2d86aeb7ddc6
2020-07-24 23:00:43 +00:00
TreeHugger Robot
4b47ecaf5d Merge "wifi: Fix for DPP VTS test failures on 5GHz only devices" into stage-aosp-rvc-ts-dev am: 80224805c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12219814

Change-Id: I10cded9eaf3b390cd3897f302a9ca462b99d1ff7
2020-07-24 22:48:16 +00:00
TreeHugger Robot
80224805c5 Merge "wifi: Fix for DPP VTS test failures on 5GHz only devices" into stage-aosp-rvc-ts-dev 2020-07-24 22:39:24 +00:00
David Su
fee1067310 Revert "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated" am: f0dfc4d624 am: b8adfe739d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227496

Change-Id: Icbdeec0a284933d4af4b12087f9c14241a9f9f68
2020-07-24 19:30:36 +00:00
David Su
b8adfe739d Revert "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated" am: f0dfc4d624
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227496

Change-Id: I54b16de0c0d7fe3a28a194fdda8570abe2827b35
2020-07-24 19:12:19 +00:00
David Su
f0dfc4d624 Revert "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated"
This reverts commit 0857d7caa0.

Reason for revert: breaks build: b/162086397

Change-Id: If91c59aa5485cd78e42b743a7bf786c68283aecb
2020-07-24 18:46:33 +00:00
Amy Zhang
28688aa3b5 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated am: 0857d7caa0 am: 1d96462fa7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12202445

Change-Id: I0712452a57a5d758547dfe1c6e30d303379b362a
2020-07-24 18:08:22 +00:00
Amy Zhang
1d96462fa7 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated am: 0857d7caa0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12202445

Change-Id: I0d472874188b02919bc90cb3daa02ad4b4076d23
2020-07-24 17:53:07 +00:00
Xin Li
e594b4db30 Merge stage-aosp-rvc-ts-dev into rvc-dev am: f73fe6b6bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203367

Change-Id: I72a7c52c280cc1b99a67ef3c0e6bf569a176bd82
2020-07-24 08:26:18 +00:00
Sunil Ravi
1eaaa3918e wifi: Fix for DPP VTS test failures on 5GHz only devices
Pass one 2.4GHz channel (1) and one 5GHz channel(40) in
URI channel-list, so that devices which support only one band
can initiate Authentication.

Bug: 161331637
Test: VtsHalWifiSupplicantV1_2TargetTest
Test: VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ic2677c5f2c2bebe632f823f0472da0a5ae404c0d
(cherry picked from commit 6b75eeb045)
2020-07-23 19:33:07 +00:00
Amy Zhang
0857d7caa0 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated
parameterized tests.

This test can be disabled on the phone target once there is
a cuttlefish tv target enabled to run the test continuously.

The test will be removed from the exception list afterwards.

Test: make VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I7a2ad0e8a43c6262628354be316c530ab00ac520
Merged-In: I7a2ad0e8a43c6262628354be316c530ab00ac520
2020-07-21 23:35:29 +00:00
Roshan Pius
6d0af445ee wifi(vts): Use blocking getService to wait for service to come up
Switch away from using wifi's custom implementation to block for
supplicant/hostapd daemon to come up.

Bug: 161682236
Test:
vts-tradefed run commandAndExit vts --module VtsHalWifiHostapdV1_0Target
vts-tradefed run commandAndExit vts --module VtsHalWifiSupplicantV1_0Host

Change-Id: Ia05f93ba4a28c036315558edbba30f19c2e6ac95
2020-07-21 14:28:28 -07:00
Xin Li
f73fe6b6bc Merge stage-aosp-rvc-ts-dev into rvc-dev
Bug: 148878042
Merged-In: Ia102f1a63fddcaa43365e35680ea04242fe2ee80
Change-Id: I5d6d34f01bd3bdfcb80349f1337dcd9d89388f62
2020-07-21 20:31:11 +00:00