Commit graph

22018 commits

Author SHA1 Message Date
TreeHugger Robot
d5a237964f Merge "Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request." into rvc-dev 2020-06-10 20:35:19 +00:00
Yin-Chia Yeh
12ef3c9929 Camera: add new VTS test config file
The old config file is no longer being used. Adding new config
file that has the proper 30 minutes timeout.

Test: atest VtsHalCameraProviderV2_4TargetTest on Pixel 4
Bug: 156007290
Change-Id: I97b0fff967f87712f8f96ed06b628c70ad30dde4
2020-06-09 14:15:52 -07:00
TreeHugger Robot
4a2c990dd7 Merge "Fix subsampling doc in PlaneLayout.aidl" into rvc-dev am: 6841c3e5e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11716801

Change-Id: I7ca1d951940fc05ea1c7e957b5e52956117ad880
2020-06-09 14:38:43 +00:00
TreeHugger Robot
6841c3e5e8 Merge "Fix subsampling doc in PlaneLayout.aidl" into rvc-dev 2020-06-09 14:24:59 +00:00
yan.cao
268ddbf5a2 Fix the failed case for the
VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#
sendCdmaSmsExpectMore/0_slot1

Sendcdmasexpectmoreresponse to the request sendcdmasexpectmore
did not accept the return parameter responseinfo, which caused
the VTS system to wait for a response until it exceeded 60 seconds,
and the VTS determined No test results.
so we can add parameters to receive the parameters of
sendcdmasexpectmoreresponse,and then make subsequent judgment.

Bug: 158542706
Test: run vts -m VtsHalRadioV1_5TargetTest
Change-Id: I1d6214f58850d707520b80634cb93d0e0cc712bb
2020-06-09 18:12:46 +08:00
TreeHugger Robot
cf9aeeee17 Merge "Clarified that USER_IDENTIFICATION_ASSOCIATION is optional." into rvc-dev am: b35c0cd494
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11796048

Change-Id: I5483cee9efce23082212aaea37ff9a80886fd54b
2020-06-08 21:43:06 +00:00
TreeHugger Robot
b35c0cd494 Merge "Clarified that USER_IDENTIFICATION_ASSOCIATION is optional." into rvc-dev 2020-06-08 21:25:31 +00:00
TreeHugger Robot
2473c15121 Merge "Stop location to avoid timing issue (VTS 2.0)" into rvc-dev am: de47235b01
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11788485

Change-Id: I8c5a0077d3fe4c3b6205dcb69e630b0ca9731a1b
2020-06-08 20:48:57 +00:00
TreeHugger Robot
de47235b01 Merge "Stop location to avoid timing issue (VTS 2.0)" into rvc-dev 2020-06-08 20:38:11 +00:00
TreeHugger Robot
5937bcba54 Merge "Add getLnbByName Test in Tuner VTS" into rvc-dev am: 154d45d77e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11732812

Change-Id: Ieac80934854e94db78489dfcacc77a4d760916c6
2020-06-08 19:41:48 +00:00
TreeHugger Robot
154d45d77e Merge "Add getLnbByName Test in Tuner VTS" into rvc-dev 2020-06-08 19:29:17 +00:00
TreeHugger Robot
2ef2df9a27 [automerger skipped] Merge "Allow unlocked in VTS" into rvc-dev am: ff07d31be0 -s ours
am skip reason: Change-Id If5a90d62f77489aa58f96e908553a052cf6d1e18 with SHA-1 43dd6e34bd is in history

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

Change-Id: I6f47c173cd6a7b6cd510c1109f862ecc94d55c8c
2020-06-08 19:21:17 +00:00
Shuzhen Wang
2d58ef67de Merge "Camera: Clarify ERROR_REQUEST callback" into rvc-dev am: ee71769ebc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11689356

Change-Id: Ie4e22c25aaa119a91901a559e438063d86ebaf55
2020-06-08 19:21:09 +00:00
TreeHugger Robot
ff07d31be0 Merge "Allow unlocked in VTS" into rvc-dev 2020-06-08 19:15:07 +00:00
felipeal
04b84ed8b2 Clarified that USER_IDENTIFICATION_ASSOCIATION is optional.
Test: none
Bug: 157938045

Change-Id: Ie010a0452ce545457ff06223ebfe24cf6522f04a
2020-06-08 12:11:41 -07:00
Shuzhen Wang
ee71769ebc Merge "Camera: Clarify ERROR_REQUEST callback" into rvc-dev 2020-06-08 19:07:04 +00:00
felipeal
7a3d7c96fc Fixed EmulatedUserHal so it doesn't reply to a LEGECY_ANDROID_LEGACY request.
Bug: 158336360
Test: m -j android.hardware.automotive.vehicle@2.0-service && adb push $OUT/vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service /vendor/bin/hw/ && adb shell kill `pid android.hardware.automotive.vehicle`

Change-Id: I0b506ba5a4b53ada94bc4afc081d3e4222f5e92d
2020-06-08 12:06:16 -07:00
Yu-Han Yang
4e5ffc2231 Stop location to avoid timing issue (VTS 2.0)
Before setting constellation blacklist, the location report should
be stopped first. Otherwise, the sv status which contains blacklist
constellation is still reporting and may be counted in checking
SvList. According to the comments of this case, location should be
turned off as 2a step.

Also adding another test that a blacklist request that comes in
while tracking is started, takes effect after a stop/start cycle.

Bug: 144675840
Test: on device
Change-Id: I0a5030cbeeb4bbc45000157414582117d8abbae9
2020-06-08 10:58:46 -07:00
Xin Li
6fb94dc673 [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: e129db1ac2 -s ours am: 75a66030ae -s ours
am skip reason: Change-Id I967cf8d0f42ec2b9745ce7bd95c7762e032c90d0 with SHA-1 8743730642 is in history

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

Change-Id: I680433783655e4a1ee873d38215aeebef2e3aeea
2020-06-08 16:08:08 +00:00
Xin Li
75a66030ae [automerger skipped] Merge "Merge QQ3A.200605.002 into master" am: e129db1ac2 -s ours
am skip reason: Change-Id I967cf8d0f42ec2b9745ce7bd95c7762e032c90d0 with SHA-1 8743730642 is in history

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

Change-Id: I1b5feaea48a8f5293b1bc38e510d725d69deaca6
2020-06-08 15:56:54 +00:00
TreeHugger Robot
299e966437 [automerger skipped] Merge "Update Identity Credential VTS tests." into rvc-dev am: f45b3cac4a -s ours
am skip reason: Change-Id I11b79dbd57b1830609c70301fea9c99f9e5080cb with SHA-1 ef7395127f is in history

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

Change-Id: Idac17dbf298c6d338b4ac741635a0ae1289dd883
2020-06-08 13:45:22 +00:00
TreeHugger Robot
f45b3cac4a Merge "Update Identity Credential VTS tests." into rvc-dev 2020-06-08 13:26:38 +00:00
Yichi Chen
35d97d5417 gralloc4-vts: Test metadata is consistent in cloned buffers
GetMetadataClonedHandle checks the metadata can be gotten after a native
handle is cloned. SetMetadataClonedHandle checks the metadata can be set
on a cloned native handle.

Bug: 155224585
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: Ic0d7b4d21a64822f2f1dbeca8d48c450711ed494
2020-06-08 16:43:55 +08:00
layog
26ddd0125c gralloc4-vts: Test layout and component info of RAW12
Bug: 157534008
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I3441e630b18f3d6e0f5cbcecf8a54dc1b42faa84
2020-06-08 16:43:53 +08:00
Yichi Chen
0809466b61 gralloc4-vts: Test layout and component info of RAW10
To ensure the correctness of the plane layout and layout component on
RAW10 format, the patch creates the test case to check corresponding
data.

Bug: 157534008
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: Ie504e687e149ee4f4fb3f715ee0de7d7ec31952a
2020-06-08 16:42:39 +08:00
Xin Li
e129db1ac2 Merge "Merge QQ3A.200605.002 into master" 2020-06-06 01:41:11 +00:00
Amy Zhang
2524c72cf5 Add Broadcast and Record tests for Frontend with Lnb am: cda23ea38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11714754

Change-Id: I6ad71aaa5b24327817e19f4f037f7a74cf2009f6
2020-06-06 00:04:19 +00:00
Amy Zhang
7a7838f88c Add ILnb VTS tests am: e5a9da2e17
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11696698

Change-Id: I2d74508971d476a757399fb311a1cfeeedde4882
2020-06-06 00:04:07 +00:00
Amy Zhang
71a50c311d Add getLnbByName Test in Tuner VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 157955950
Change-Id: I69f5c37a63543ebde2b85f57d1301b4498183627
2020-06-05 14:43:21 -07:00
Amy Zhang
cda23ea38e Add Broadcast and Record tests for Frontend with Lnb
Test: VtsHalTvTunerV1_0TargetTest
Bug: 157955950
Change-Id: I71d33b9d481e44879867094a519d7a6c444bc10a
2020-06-05 14:43:06 -07:00
Amy Zhang
e5a9da2e17 Add ILnb VTS tests
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 157955950
Change-Id: Icc2fca6f65e48a05c916a9629913cc7b18a8fd80
2020-06-05 14:39:24 -07:00
TreeHugger Robot
67e0900c29 Merge "Add filter linkage test to the Tuner VTS" into rvc-dev am: 738334a656
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11732805

Change-Id: I02e2e7b9fe704133f1ec2a6ba4dc2207e9c83fbd
2020-06-05 21:28:04 +00:00
TreeHugger Robot
738334a656 Merge "Add filter linkage test to the Tuner VTS" into rvc-dev 2020-06-05 21:12:22 +00:00
Brian Duddie
35a1cb8e00 Add support for IAllocator/IMapper v4.0 in sensors VTS am: 97f1a3aeaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11744993

Change-Id: Ia66309472684ff6552884ddd2ef0de8d1bd9a1bd
2020-06-05 14:38:42 +00:00
Treehugger Robot
698f52a983 Merge "Update Identity Credential VTS tests." am: 17ec80b638 am: c31600a243
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1322407

Change-Id: I46c29e7555a33bba6b392bf8cda4d4e13b893304
2020-06-05 14:02:52 +00:00
David Zeuthen
d16d0fa609 Update Identity Credential VTS tests.
These updates are based on input/experiences implementing this
HAL. There are no API changes.

 - Specify that the validity for credentialKey certificate shall be
   from current time and expire at the same time as the attestation
   batch certificate.

 - Require challenge passed to getAttestationCertificate() is
   non-empty.

 - Fix bug in VTS tests where the startPersonlization() result was not
   checked.

 - Remove verifyStartPersonalizationZero test since it cannot be
   completed.

 - Ensure secureUserId is non-zero if user authentication is needed.

 - Specify format for signingKeyBlob in generateSigningKeyPair() same
   way we do for credentialData in finishAddingEntries().

 - Modify EndToEndTest to decrypt/unpack credentialData to obtain
   credentialPrivKey and storageKey and do cross-checks on these.

 - Modify EndToEndTest to decrypt/unpack signingKeyBlob to obtain
   signingKeyPriv and check it matches the public key in the returned
   certificate.

 - Add new VTS tests for user and reader authentication.

 - Relax unnecessary requirements about SessionTranscript structure -
   just require it has X and Y of the ephemeral key created earlier.

 - Allow calls in VTS tests to v2 HAL to fail - this should allow
   these VTS tests to pass on a compliant v1 HAL.

Bug: 156911917
Bug: 158107945
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Merged-In: I11b79dbd57b1830609c70301fea9c99f9e5080cb
Change-Id: I93003389012e69c6df23e1bcebeafde8281caf9c
2020-06-05 09:59:01 -04:00
Treehugger Robot
c31600a243 Merge "Update Identity Credential VTS tests." am: 17ec80b638
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1322407

Change-Id: I6ff5d40629c6754897f8eb3f11010966dfb93190
2020-06-05 13:50:24 +00:00
Treehugger Robot
17ec80b638 Merge "Update Identity Credential VTS tests." 2020-06-05 13:36:47 +00:00
Amy Zhang
f4c09fbbd0 Add filter linkage test to the Tuner VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: Ic98cf1655551623fdc4e4f7e6784faf814adfda5
2020-06-04 18:48:50 -07:00
Brian Duddie
97f1a3aeaa Add support for IAllocator/IMapper v4.0 in sensors VTS
Also, pull in the static libs associated with the graphics HALs to
VtsHalSensorsTargetTestUtils so that the VTS binaries that depend on it
don't need to all pull them in themselves.

Fixes: 158018963
Test: VtsHalSensorsV2_0TargetTest on a device supporting the v4.0 HALs
Change-Id: Idc47ffb8cacd1ac84d45b979cd45fe630b6808f6
2020-06-04 16:33:09 -07:00
Ilya Matyukhin
798629af9e Reduce the number of iterations in PreEnrollTest am: 744b028807
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11712201

Change-Id: I83175791dd8538ff1e4c7846835a01ebfb0c9a75
2020-06-04 20:56:25 +00:00
David Zeuthen
ef7395127f Update Identity Credential VTS tests.
These updates are based on input/experiences implementing this
HAL. There are no API changes.

 - Specify that the validity for credentialKey certificate shall be
   from current time and expire at the same time as the attestation
   batch certificate.

 - Require challenge passed to getAttestationCertificate() is
   non-empty.

 - Fix bug in VTS tests where the startPersonlization() result was not
   checked.

 - Remove verifyStartPersonalizationZero test since it cannot be
   completed.

 - Ensure secureUserId is non-zero if user authentication is needed.

 - Specify format for signingKeyBlob in generateSigningKeyPair() same
   way we do for credentialData in finishAddingEntries().

 - Modify EndToEndTest to decrypt/unpack credentialData to obtain
   credentialPrivKey and storageKey and do cross-checks on these.

 - Modify EndToEndTest to decrypt/unpack signingKeyBlob to obtain
   signingKeyPriv and check it matches the public key in the returned
   certificate.

 - Add new VTS tests for user and reader authentication.

 - Relax unnecessary requirements about SessionTranscript structure -
   just require it has X and Y of the ephemeral key created earlier.

 - Allow calls in VTS tests to v2 HAL to fail - this should allow
   these VTS tests to pass on a compliant v1 HAL.

Bug: 156911917
Bug: 158107945
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Change-Id: I11b79dbd57b1830609c70301fea9c99f9e5080cb
2020-06-04 16:46:54 -04:00
layog
96c0c3705e Fix subsampling doc in PlaneLayout.aidl
A subsampling value of 1 is a valid value indicating no subsampling

Fix: 158067777
Test: Compiles
Change-Id: I58f20df0b61e3637cb01a69f28ecef414f88a27d
2020-06-04 15:26:57 +08:00
Xin Li
ca126e53d5 Merge QQ3A.200605.002 into master
Bug: 158095402
Merged-In: I967cf8d0f42ec2b9745ce7bd95c7762e032c90d0
Change-Id: I3104c43c60c68ef1206d90858d4aaffa26a860c7
2020-06-03 10:45:04 -07:00
Ilya Matyukhin
744b028807 Reduce the number of iterations in PreEnrollTest
The current number of iterations is too high and results in a timeout
from the testing framework.

The goal of the test is to make sure that the generated challenges are
different on every run. It's impossible to test whether any two
challenges will ever be the same for any number of iterations. Hence,
since a 1000 iterations doesn't provide much more value over 10
iterations, 10 was chosen because of its better performance.

Bug: 155844206
Test: "atest VtsHalBiometricsFingerprintV2_1TargetTest" on a blueline
Change-Id: I5db887bdcfed8fb0e44fcedcf9e99dd185d395c3
2020-06-03 01:09:22 +00:00
Xusong Wang
f2361e9262 [automerger skipped] Add checks of output shapes when OUTPUT_INSUFFICIENT_SIZE. am: 91521ab86b am: 8743730642 -s ours
am skip reason: Change-Id I934d084c7665160a98da9828604ce8297fef73b8 with SHA-1 d454751e00 is in history

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

Change-Id: I3305b9c9ac2a58c6375fe17d55a7504edb24a26e
2020-06-03 01:05:47 +00:00
Xusong Wang
8743730642 Add checks of output shapes when OUTPUT_INSUFFICIENT_SIZE. am: 91521ab86b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1308498

Change-Id: I967cf8d0f42ec2b9745ce7bd95c7762e032c90d0
2020-06-03 00:51:43 +00:00
Xusong Wang
91521ab86b Add checks of output shapes when OUTPUT_INSUFFICIENT_SIZE.
Add checks that all returned output dimensions must be at
least as fully specified as the union of the information about the
corresponding operand in the model and in the request.

Bug: 154054474
Test: VTS
Change-Id: I934d084c7665160a98da9828604ce8297fef73b8
Merged-In: I934d084c7665160a98da9828604ce8297fef73b8
(cherry picked from commit d454751e00)
2020-06-02 16:52:56 -07:00
Midas Chien
8c79371377 Merge "composer: vts: send refresh frame even composition changes" into rvc-dev am: ac4ee96268
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11631145

Change-Id: Ie92e8d7df9f0622c5f4fa23b0244ba433cc55e54
2020-06-02 16:57:19 +00:00
Midas Chien
ac4ee96268 Merge "composer: vts: send refresh frame even composition changes" into rvc-dev 2020-06-02 16:47:55 +00:00