Commit Graph

21881 Commits

Author SHA1 Message Date
David Zeuthen
c098dafed8 Identity: More static linking of VTS test binary. am: 780f8c860d am: 7fb435ce16
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1342874

Change-Id: Ib3eecb15864e67834d0bf935d39ca089ef14e4ab
2020-06-18 15:52:03 +00:00
David Zeuthen
7fb435ce16 Identity: More static linking of VTS test binary. am: 780f8c860d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1342874

Change-Id: I3cae9f75a911b40c7b38b3bdaa71354e9d20b905
2020-06-18 15:36:28 +00:00
David Zeuthen
780f8c860d 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: Ib93620c36b0ff7f5c9f239ff8861a11196605881
2020-06-18 09:44:51 -04:00
Jing-yan, Jang
7015c0ef67 Merge "Identity Credential: Add some support functions for mDL oem Hal." into rvc-dev am: 4200c3b5d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11716799

Change-Id: I5f64791e4381f8952c388c5f9c72083c4269112a
2020-06-18 06:54:01 +00: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
Bill Peckham
2dfd691e53 Fix link error in android.hardware.health@1.0-impl am: 4e27e0f5a2 am: 9046a2025e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1322909

Change-Id: I2adeda58e0cecf529dace8d8a9f7e194791326ae
2020-06-18 00:32:13 +00:00
Bill Peckham
9046a2025e Fix link error in android.hardware.health@1.0-impl am: 4e27e0f5a2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1322909

Change-Id: I4e6e0ecebb0fb502a58dd908df9e421164c36c7a
2020-06-18 00:15:24 +00:00
Bill Peckham
4e27e0f5a2 Fix link error in android.hardware.health@1.0-impl
Bug: 158134286
Change-Id: If5a1f0b7a76c3faf176a5a85be2f877b40c613a7
2020-06-17 21:03:59 +00:00
Slava Shklyaev
d843680a13 [automerger skipped] Log NNAPI VTS test case to logcat am: 3722d6dcfa am: 3811c0e847 -s ours
am skip reason: Change-Id Ic1a0c90e0853ca84dd925d0f7df65e159bb284aa with SHA-1 8c8efd68e8 is in history

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

Change-Id: I485b7b16d27bce3e425c5dd24039b1ed7f6ce0c5
2020-06-17 15:22:15 +00:00
Slava Shklyaev
3811c0e847 Log NNAPI VTS test case to logcat am: 3722d6dcfa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1341594

Change-Id: I37b31c19ed7cd3206c91fae59165d81f35a168b6
2020-06-17 15:05:16 +00:00
Slava Shklyaev
3722d6dcfa 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
Merged-In: Ic1a0c90e0853ca84dd925d0f7df65e159bb284aa
(cherry picked from commit 8c8efd68e8)
2020-06-17 13:48:25 +01:00
Slava Shklyaev
eec3268770 Merge "Log NNAPI VTS test case to logcat" into rvc-dev am: a6d65ad073
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11866822

Change-Id: I1e60c937cd6098de5a87f5f91c1bd399f2eedf1e
2020-06-17 12:27:01 +00: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
9f1c11be79 [automerger skipped] Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5#sendCdmaSmsExpectMore/0_slot1" into rvc-dev am: 27c9426eb1 -s ours
am skip reason: Change-Id I1d6214f58850d707520b80634cb93d0e0cc712bb with SHA-1 268ddbf5a2 is in history

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

Change-Id: Id0ccac604f27ddcce8fe884e0116d667e436c6b8
2020-06-17 02:19:57 +00: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
TreeHugger Robot
3904f252a2 Merge "Remove temporary test filters" into rvc-dev am: c55a62bc79
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11882838

Change-Id: I58313cfdf045e1ee81891da33e60dff6ea62fdb7
2020-06-16 23:33:58 +00:00
TreeHugger Robot
c55a62bc79 Merge "Remove temporary test filters" into rvc-dev 2020-06-16 23:15:47 +00:00
Treehugger Robot
3e40147254 Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5# sendCdmaSmsExpectMore/0_slot1" am: 6d4d3a20da am: 1656988ce4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1325730

Change-Id: Ife4e18325fafd338010700284e083a1270ffcc7c
2020-06-16 22:54:19 +00:00
Treehugger Robot
1656988ce4 Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5# sendCdmaSmsExpectMore/0_slot1" am: 6d4d3a20da
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1325730

Change-Id: I42607322b7f859e8a95b1a53a9dac05f06c1d226
2020-06-16 22:36:58 +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
Treehugger Robot
6d4d3a20da Merge "Fix the failed case for the VtsHalRadioV1_5TargetTest.PerInstance/RadioHidlTest_v1_5# sendCdmaSmsExpectMore/0_slot1" 2020-06-16 22:13:04 +00:00
Xusong Wang
ec2f03a6c6 Merge "Allow compilations in TOCTOU tests to fail with GENERAL_FAILURE." into rvc-dev am: af814cf022
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11808403

Change-Id: I5a505acbd9119d37be5fa0a72d3ca540ee735d70
2020-06-16 17:35:23 +00: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
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
3d5ea8a757 Merge "Add a delay between tests to make them more robust" into rvc-dev am: ad15d6c05a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11392730

Change-Id: Ic34a9f77830bca7bedae3777450b6cc5ddc439ec
2020-06-15 17:48:15 +00: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
David Zeuthen
2091c05491 Identity: Statically link VTS test binary. am: baa41d7945 am: 2768f74d50
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1333930

Change-Id: Ibc08cc3ee01bb33943ff0b352e51ee3c97dfadbb
2020-06-15 13:58:31 +00:00
David Zeuthen
2768f74d50 Identity: Statically link VTS test binary. am: baa41d7945
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1333930

Change-Id: Ie74d5d440df425e4b38687b661d5ba16ee1d0e7a
2020-06-15 13:47:26 +00:00
TreeHugger Robot
e8303a537a Merge changes Ic0d7b4d2,I3441e630,Ie504e687 into rvc-dev am: 2e5dd7ab32
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11686091

Change-Id: Ie8902039154646d934efb7bf773ca1c8ada5ff1a
2020-06-15 03:42:54 +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
Amy Zhang
67a3b8a140 Merge "Enable frontend input loop when FrontendTune happens before Demux is configured." into rvc-dev am: 1fb7d06712
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11853109

Change-Id: I288f95258f5e5f6722bcd3e576648cc4d4fafbf2
2020-06-12 23:37:34 +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
b33c0181ec Merge "Fix bad merge of aosp/1220298" into rvc-dev am: 2482177cec
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11855078

Change-Id: I44c5f5d018cd2f6dd0c389f9c66420f18e51e826
2020-06-12 22:42:03 +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
cb1da70801 Fix issues for Japan model. am: c1e9656422 am: 4597fcc545 am: d1a977b771 am: 6e8a31191a am: dc8403be7a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1318339

Change-Id: Id148d91a9f7d6a61be1b2219abf7972cc7f79349
2020-06-12 20:29:17 +00:00
TreeHugger Robot
ec14eb63af Merge "Identity: Statically link VTS test binary." into rvc-dev am: bde68f5a1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11853101

Change-Id: Ie30d34ce47e6aaf98cdaaa7d9d2d523923a0a158
2020-06-12 20:29:11 +00: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
jicheol.shin
6e8a31191a Fix issues for Japan model. am: c1e9656422 am: 4597fcc545 am: d1a977b771
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1318339

Change-Id: I03ff4595a9c922e483fc89fbe4b15c4328bdd027
2020-06-12 20:01:46 +00:00
TreeHugger Robot
fda43efdbe Merge "Move testing ts on Cuttlefish under /data/ directory" into rvc-dev am: abd049609d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11607814

Change-Id: Ife001c993c1882819ecf9c634ee6e76b4bc679c6
2020-06-12 20:01:42 +00:00
TreeHugger Robot
abd049609d Merge "Move testing ts on Cuttlefish under /data/ directory" into rvc-dev 2020-06-12 19:51:48 +00:00
jicheol.shin
d1a977b771 Fix issues for Japan model. am: c1e9656422 am: 4597fcc545
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1318339

Change-Id: I02d1d0b112e4514129477299bd002dda8feda7cb
2020-06-12 19:50:51 +00:00
jicheol.shin
4597fcc545 Fix issues for Japan model. am: c1e9656422
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1318339

Change-Id: I345b7ab6043fc3e40a9aecd025b01522f0d99214
2020-06-12 19:27:28 +00:00
David Zeuthen
45eb940d74 Identity: Statically link 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
Merged-In: Ida85ca8835d0243c47f451ccdfa0d11d29ec1bdb
Change-Id: If11fe0812bf367400f5c8e894e636937ee191d3f
2020-06-12 14:56:49 -04:00
David Zeuthen
baa41d7945 Identity: Statically link 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: Ida85ca8835d0243c47f451ccdfa0d11d29ec1bdb
2020-06-12 14:52:37 -04:00