Commit graph

20979 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Xin Li
94c6cdce56 Merge ab/6692658 into stage-aosp-rvc-ts-dev
Bug: 148878042
Merged-In: I236e5c9c16b4ba730677cd4c980a7071ba25840e
Change-Id: Ia102f1a63fddcaa43365e35680ea04242fe2ee80
2020-07-21 05:14:42 +00:00
Amy Zhang
de1d2b6cbe Fix bugs in the Tuner HAL 1.0 VTS
The previous implementation did not check some of the
Descrambler API test results to stop the test.
And the test itself was also implemented in a wrong way.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150987138
Change-Id: Ie26db0ec1b231062d0314631eebec319382da1bc
(cherry picked from commit 6d774c89a1)
2020-07-20 18:12:54 +00:00
Ady Abraham
30d2573834 composer: 2.4: fix VTS usage of desired time
Test_setActiveConfigWithConstraints is setting the desired time
for a config change to be before the test starts.
This causes the test to use the same value for all configurations,
which becomes stale the more configurations the device supports.
This fix is setting the desired time before calling
to setActiveConfigWithConstraints.

Bug: 161023185
Test: adb shell data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I236e5c9c16b4ba730677cd4c980a7071ba25840e
2020-07-16 20:00:44 +00:00
TreeHugger Robot
b6d3dc86a5 Merge "Merge ab/12162526 into stage-aosp-rvc-ts-dev" into stage-aosp-rvc-ts-dev 2020-07-16 17:39:00 +00:00
TreeHugger Robot
9550241d70 Merge "Retrieve the last SvInfo list in TestGnssSvInfoFields" into stage-aosp-rvc-ts-dev 2020-07-16 04:02:45 +00:00
Xin Li
e3ed4a6e34 Merge ab/12162526 into stage-aosp-rvc-ts-dev
Bug: 148878042
Change-Id: I0ea1d53b0813228b3cfc7820acbdbba0d86d8ae8
2020-07-15 17:55:13 -07:00
Yu-Han Yang
c8143625ba Retrieve the last SvInfo list in TestGnssSvInfoFields
Bug: 161313893
Test: atest VtsHalGnssV2_1TargetTest
Change-Id: I687e5ff6edd1ef67dbfe046c401fd15b3da0c857
2020-07-15 10:19:03 -07:00
Tomasz Wasilczyk
cd4a393014 Fix GTestResultParser compatibility
Bug: 158643176
Test: adb shell /data/nativetest64/VtsHalBroadcastradioV2_0TargetTest/VtsHalBroadcastradioV2_0TargetTest
Change-Id: Id0c936da397f7b06b2f274e036dc789cdcd506da
2020-07-15 15:52:55 +00:00
TreeHugger Robot
32e3cd9a02 Merge "composer: 2.4: VTS using old value for parameter" into rvc-dev 2020-07-14 19:02:16 +00:00
Nate Jiang
cf95a2fe53 Merge "[VTS] Use primary channel to enable RTT responder" into rvc-dev 2020-07-14 18:29:36 +00:00
David Zeuthen
4035b2a587 Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." into rvc-dev 2020-07-14 18:23:19 +00:00
Victor Khimenko
284806014a Merge "Make android.hardware.renderscript@1.0 buildable for native_bridge" into rvc-dev 2020-07-14 17:18:35 +00:00
Ady Abraham
0a19601eae composer: 2.4: VTS using old value for parameter
Fix a test that is using the incorrect parameter.

Bug: 161023185
Test: adb shell data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Change-Id: I8574abed50c23657f5d96e9d396709cb9b92e1fd
2020-07-13 23:30:05 +00:00
David Zeuthen
035a6f3239 Identity: Add VTS test to check empty and semi-empty requests work properly.
Some IC applications may perform two requests - one to get data
elements and a second empty request. The latter is to e.g. get an
empty DeviceSignedItems and corresponding MAC.

Extend VTS tests to check that the HAL does this correctly both for
the completely empty request and also for a request with an empty
namespace.

Bug: 160966911
Test: atest VtsHalIdentityTargetTest
Merged-In: I3205f2c0ded2ea315857438a3114ddcf8ef557f9
Change-Id: Ib718e6f0f0b287e39ff7dd3db5335cec1bc1804e
2020-07-13 13:21:27 -04:00
jack.cc-hsu
88990e687c Update nodeNamePattern rule
Include '_' which has always been allowed.

Bug: 158645317
Test: VtsHalMediaOmxV1_0TargetMasterTest : OK
Change-Id: Ia1cfc6004961ffad76843920fe4d5423f70244e7
2020-07-13 16:33:08 +00:00
Oleh Cherpak
31c434b96c vts: supplicant: Remove optional service registration
Wifi VendorHAL is optional for STA mode to function.
Tests should be runnable even on devices without VendorHAL.

Bug: 148883970
Bug: 158343746
Test: run vts -m VtsHalWifiSupplicantV1_0Host

Signed-off-by: Oleh Cherpak <oleh.cherpak@globallogic.com>
Change-Id: Ife6e09e41ccfd6c3ccbdc19394175d17986d310d
Merged-In: Ife6e09e41ccfd6c3ccbdc19394175d17986d310d
2020-07-11 08:38:30 -07:00
Oleh Cherpak
09f373d6c1 vts: hostapd: Remove optional service registration
Wifi VendorHAL is optional for Soft AP mode to function.
Tests should be runnable even on devices without VendorHAL.

Test: run vts -m VtsHalWifiHostapdV1_1Target
Bug: 148907288
Bug: 158343986

Signed-off-by: Oleh Cherpak <oleh.cherpak@globallogic.com>
Change-Id: Id65d09d39d93e540a24e58fda233fd2faf8c3258
Merged-In: Id65d09d39d93e540a24e58fda233fd2faf8c3258
2020-07-11 08:38:27 -07:00
Victor Khimenko
799e59292b Make android.hardware.renderscript@1.0 buildable for native_bridge
Bug: http://b/153609531

Test: m android.hardware.renderscript@1.0.native_bridge

Change-Id: If11376cdd583629c8edfea17efb130dd68dc9b8f
Merged-In: If11376cdd583629c8edfea17efb130dd68dc9b8f
2020-07-10 23:10:59 +02:00
Shuo Qian
074d9041e0 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
2020-07-08 17:56:49 +00:00
Nate Jiang
400d9fa0a9 [VTS] Use primary channel to enable RTT responder
Bug: 160109667
Test: atest VtsHalWifiRttV1_4TargetTest
Change-Id: I9bbe5cdaf9656503acb87e2888856e0f199dc45f
2020-07-08 10:56:26 -07:00
Jing-yan, Jang
32cbc59c81 Merge "Keymaster: Fix potential bug in extractUint32()/extractUint64()" into rvc-dev 2020-07-07 12:07:36 +00:00