Commit graph

21206 commits

Author SHA1 Message Date
android-build-team Robot
26b488d99d Snap for 6621766 from e83c8b22e3 to rvc-release
Change-Id: I3dc7acf91858b142fb1b4044e8e1259e896d973c
2020-06-24 01:13:47 +00:00
TreeHugger Robot
e83c8b22e3 Merge "Add test for subsample metadata for YUV420 format" into rvc-dev 2020-06-23 15:44:49 +00:00
TreeHugger Robot
2519e6d079 Merge "RebootEscrow HAL: testing with secure implementations" into rvc-dev 2020-06-23 03:03:24 +00:00
android-build-team Robot
b766ffa525 Snap for 6617762 from 5f86b51408 to rvc-release
Change-Id: I112e61495f9f9e947c5f58945f8e5091f5204ef7
2020-06-23 01:02:46 +00:00
Xusong Wang
12f483fdfd Merge "Revert "Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE."" into rvc-dev 2020-06-23 00:53:05 +00:00
felipeal
1972df27b9 Fixed EmulatedUserHal::get(USER_IDENTIFICATION_ASSOCIATION).
It must set the requestId in the response.

Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587 a 1 i 666 i 1 i 1 i 2 && \
      adb shell cmd car_service get-user-auth-association --hal-only KEY_FOB
Fixes: 159497444
Bug: 159498909

Change-Id: Ib3f87b45714883c3e5b72464813df24ec4124dbb
2020-06-22 16:06:19 -07:00
Xusong Wang
81fa7605cf Revert "Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE."
This reverts commit 362dfd64d5.

Bug: 157489048
Test: 1.2/1.3 VTS TOCTOU tests
Change-Id: Ifdf4a8fab129cd90a3be019c3c598d980b785aaa
2020-06-22 18:36:07 +00:00
TreeHugger Robot
5f86b51408 Merge "Reserves memory for external buffers" into rvc-dev 2020-06-22 18:16:48 +00:00
Kenny Root
29e37e27cc RebootEscrow HAL: testing with secure implementations
To test implementations that use TEE keymaster with EARLY_BOOT_ONLY
keys, it is required that the "earlyBootEnded" call in vold should be
removed before they will pass. Mark those tests as DISABLED_... and
include a comment and README indicating what needs to be done.

Bug: 159513354
Bug: 158964050
Test: atest VtsHalRebootEscrowTargetTest
Change-Id: Ie12969c0353ff42202b3dfcfa0be87ba3442e5d3
2020-06-22 11:02:17 -07:00
TreeHugger Robot
da96bb5226 Merge "OMX VTS: Use GetComponentRole from OMXUtils" into rvc-dev 2020-06-22 03:35:20 +00:00
TreeHugger Robot
7e5c3f0240 Merge "Camera: Fix insensitive language in comments and names" into rvc-dev 2020-06-21 22:53:20 +00:00
Pawin Vongmasa
922654fc4d OMX VTS: Use GetComponentRole from OMXUtils
Test: atest VtsHalMediaOmxV1_0TargetMasterTest

Bug: 159410244
Change-Id: Iba2a7259ddc5fc634b22d8c5954178dede6b71d5
2020-06-21 05:19:14 -07:00
layog
e886f80942 Add test for subsample metadata for YUV420 format
Bug: 153704651
Test: atest VtsHalGraphicsMapperV4_0TargetTest
Change-Id: Ie7a521b19b2eb1c459327fe699253aaa50ae8257
2020-06-20 11:54:25 +08:00
android-build-team Robot
17757547c8 Snap for 6610691 from fda881504a to rvc-release
Change-Id: I20d57bb3956a421f53cdd3d03492cd8c4051140d
2020-06-20 01:09:59 +00:00
Eino-Ville Talvala
d6346872c6 Camera: Fix insensitive language in comments and names
Test: Builds
Bug: 159480149
Change-Id: Ic048071867b69e5c2d337f59f697980a6a64587f
2020-06-19 15:25:01 -07:00
Changyeon Jo
fda881504a Merge "Adds a EvsEvent type for general streaming error" into rvc-dev 2020-06-19 04:31:42 +00:00
Changyeon Jo
523e37e638 Reserves memory for external buffers
This change adds a line to reserve memory to hold externally
allocated EVS frame buffers for CameraStreamExternalBuffering test.

Fix: 159399273
Test: vts-tradefed run commandAndExit -m VtsHalEvsV1_1TargetTest
Change-Id: I9e6b29580ac8357efd32b8fec434456e40cbaa58
2020-06-18 21:06:19 -07:00
TreeHugger Robot
110f2bef7f Merge "Added DISABLED flag to users flag for HAL" into rvc-dev 2020-06-19 01:42:15 +00:00
android-build-team Robot
6a537544d6 Snap for 6606167 from c539468f28 to rvc-release
Change-Id: I9997967091a9ee0a519f80bb37975586c662294c
2020-06-19 01:09:58 +00:00
TreeHugger Robot
86aa285936 Merge "gralloc4-vts: Correct the ownership of fence fd" into rvc-dev 2020-06-19 01:00:05 +00:00
Hao Chen
c539468f28 Merge "Add server library build rules for both host and target" into rvc-dev 2020-06-18 22:06:24 +00:00
TreeHugger Robot
3de961d7bf Merge "Camera: Allow HAL not call notify() with ERROR_BUFFER" into rvc-dev 2020-06-18 22:00:11 +00:00
Changyeon Jo
e98bce8cec Adds a EvsEvent type for general streaming error
Bug: 142891447
Test: m -j android.hardware.automotive.evs@1.1
Change-Id: I102c48e689cd567701bc33e379f545e8aff880e9
2020-06-18 13:51:23 -07:00
David Zeuthen
d7066d0cca Identity: More static linking of VTS test binary.
The VTS test was dynamically linking some libraries not normally
present on an Android system. Statically link these libraries instead.

Bug: 158150767
Test: atest VtsHalIdentityTargetTest
Change-Id: I0000ae199b4a4917e70056aadf4ae907e7fa97f7
2020-06-18 12:05:56 -04:00
Jing-yan, Jang
4200c3b5d3 Merge "Identity Credential: Add some support functions for mDL oem Hal." into rvc-dev 2020-06-18 06:47:03 +00:00
Shuzhen Wang
ce9d001076 Camera: Allow HAL not call notify() with ERROR_BUFFER
The new framework implementation derives capture buffer loss
notification from other information, and treats HAL notify() with
ERROR_BUFFER as no-op.

Test: Build
Bug: 155353799
Change-Id: Ia7ea52ee2750c7404b657467e1cfda4c05e6cc78
2020-06-17 23:34:16 -07:00
android-build-team Robot
34322043c4 Snap for 6601700 from a6d65ad073 to rvc-release
Change-Id: I0250c43e34346e49b0de36c7cb1e7b4fed3d259e
2020-06-18 01:05:59 +00:00
Hao Chen
c324db992e Add server library build rules for both host and target
Bug: 157603385
Test: build and create Acloud local instance
Change-Id: I80951eb4192360c62a5f72902d20e2dee84d97ad
2020-06-17 14:14:12 -07:00
Slava Shklyaev
a6d65ad073 Merge "Log NNAPI VTS test case to logcat" into rvc-dev 2020-06-17 12:08:45 +00:00
Slava Shklyaev
8c8efd68e8 Log NNAPI VTS test case to logcat
Sample output:

    I VtsHalNeuralnetworksV1_2TargetTest: [Test Case] TestGenerated/GeneratedTest.Test/nnapi_sample_all_add BEGIN
    ...
    I VtsHalNeuralnetworksV1_2TargetTest: [Test Case] TestGenerated/GeneratedTest.Test/nnapi_sample_all_add END

Bug: 159060565
Test: VtsHalNeuralnetworksV1_0TargetTest (inspected logcat output)
Test: VtsHalNeuralnetworksV1_1TargetTest (inspected logcat output)
Test: VtsHalNeuralnetworksV1_2TargetTest (inspected logcat output)
Test: VtsHalNeuralnetworksV1_3TargetTest (inspected logcat output)
Change-Id: Ic1a0c90e0853ca84dd925d0f7df65e159bb284aa
2020-06-17 12:10:00 +01:00
Sarah Chin
27c9426eb1 Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#sendCdmaSmsExpectMore/0_slot1" into rvc-dev 2020-06-17 02:04:22 +00:00
android-build-team Robot
2f7c26584d Snap for 6596975 from c55a62bc79 to rvc-release
Change-Id: Id7191f86957af7ddc0d4ad8bfffce17068b119d8
2020-06-17 01:03:01 +00:00
TreeHugger Robot
c55a62bc79 Merge "Remove temporary test filters" into rvc-dev 2020-06-16 23:15:47 +00:00
yan.cao
62ffe870a2 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
Merged-In: I1d6214f58850d707520b80634cb93d0e0cc712bb
2020-06-16 15:14:11 -07:00
Mayank Garg
ffb1ffdd0e Added DISABLED flag to users flag for HAL
Bug: 158681378
Test: m (successful build)
Change-Id: I46af767c2cb4716bfbe45f51f59f9c670d6c0a0b
2020-06-16 12:07:24 -07:00
Xusong Wang
af814cf022 Merge "Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE." into rvc-dev 2020-06-16 17:22:28 +00:00
Miao Wang
eeb0068015 Remove temporary test filters
Bug: 155577050
Test: mm
Change-Id: Ibe8a3ed79f640249ba54f94bdde9649f156383ea
2020-06-16 15:31:24 +00:00
josephjang
4821cee9a3 Identity Credential: Add some support functions for mDL oem Hal.
Add following crypto APIs to for mDL oem Hal.
ecPrivateKeyToKeyPair()
signEcDsaDigest()
certificateSignedByPublicKey()
coseSignEcDsaWithSignature()
ecdsaSignatureDerToCose()
ecdsaSignatureCoseToDer()
coseSignGetSignature()
coseSignGetAlg()
coseMacWithDigest()
certificateFindPublicKey()
certificateTbsCertificate()
certificateFindSignature()
createAttestationForEcPublicKey()

Bug: 136506289
Test: atest VtsHalIdentityTargetTest
Change-Id: Ib40de4a3ad7e791ff4d82f77292c621653c1a3f3
2020-06-16 14:04:43 +00:00
Yichi Chen
448369c954 gralloc4-vts: Correct the ownership of fence fd
Gralloc::lock takes the ownership of acquireFence and closes the fence
by itself. The patch changes the behavior of fence to transfer the
ownership by unique_fd::release.

Bug: 157534008
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: Ie4ee9cd9c3b148cab9187fa07a4e52cbf9ad798a
2020-06-16 17:26:18 +08:00
android-build-team Robot
d3ce6fc083 Snap for 6592941 from ad15d6c05a to rvc-release
Change-Id: I3cddb8e8b4c5303392b670165cc2d1bfd2d9e722
2020-06-16 01:10:39 +00:00
Xusong Wang
362dfd64d5 Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE.
A compilation failure is not related to the security aspect of the
TOCTOU test, but it will skip one iteration of security testing. This CL
allows the compilation to fail with GENERAL_FAILURE in TOCTOU tests, and
issues a retry once it happens to ensure enough test coverage.

Bug: 157489048
Test: 1.2/1.3 VTS
Change-Id: Idc88e0365c5d2799187093b6fd7b4abf8f8b463d
2020-06-15 13:22:27 -07:00
Robin Jacob
ad15d6c05a Merge "Add a delay between tests to make them more robust" into rvc-dev 2020-06-15 17:34:42 +00:00
TreeHugger Robot
2e5dd7ab32 Merge changes Ic0d7b4d2,I3441e630,Ie504e687 into rvc-dev
* changes:
  gralloc4-vts: Test metadata is consistent in cloned buffers
  gralloc4-vts: Test layout and component info of RAW12
  gralloc4-vts: Test layout and component info of RAW10
2020-06-15 03:25:50 +00:00
android-build-team Robot
75f657465c Snap for 6586393 from 1fb7d06712 to rvc-release
Change-Id: I8433e9cb8553a2e9b0a5a475e01d5b64adb8effa
2020-06-13 01:02:30 +00:00
Amy Zhang
1fb7d06712 Merge "Enable frontend input loop when FrontendTune happens before Demux is configured." into rvc-dev 2020-06-12 23:16:38 +00:00
Jordan Liu
2482177cec Merge "Fix bad merge of aosp/1220298" into rvc-dev 2020-06-12 22:27:15 +00:00
Jordan Liu
9ed871fc20 Fix bad merge of aosp/1220298
Bug: 158872011
Test: atest
Change-Id: Ife92d607df5442febab86ed61c3edc24d904b36b
2020-06-12 14:43:22 -07:00
jicheol.shin
dc8403be7a Fix issues for Japan model. am: c1e9656422 am: 4597fcc545 am: d1a977b771 am: 6e8a31191a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1318339

Change-Id: I3954d7f2009faf7da4b5bd0021743c7fbc7ae093
2020-06-12 20:19:41 +00:00
TreeHugger Robot
bde68f5a1d Merge "Identity: Statically link VTS test binary." into rvc-dev 2020-06-12 20:16:04 +00:00
Amy Zhang
e0422236e2 Enable frontend input loop when FrontendTune happens before Demux is
configured.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 153366959
Change-Id: I6fa98e367a7530e308ea2a74e7efeb6ed4d3a56b
2020-06-12 13:05:24 -07:00