Commit graph

21244 commits

Author SHA1 Message Date
android-build-team Robot
593b5aefdd Snap for 6680390 from 32e3cd9a02 to rvc-release
Change-Id: Id6af9430088ead465faddebc5b4acb47a5d40679
2020-07-15 01:09:02 +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
android-build-team Robot
f6ffad5800 Snap for 6676900 from 88990e687c to rvc-release
Change-Id: I96ada7b39781b9d9fc612dae8e62a2cf157435e0
2020-07-14 01:14:45 +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
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
android-build-team Robot
53df5a9e0c Snap for 6668007 from 074d9041e0 to rvc-release
Change-Id: I7438084d3b49345ce18b97645c2d2ac9c18ba1e6
2020-07-10 01:10:45 +00: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
android-build-team Robot
f297a6aa07 Snap for 6660508 from 32cbc59c81 to rvc-release
Change-Id: I0caee891921ada6dfd973a9eba3d25c61078175b
2020-07-08 01:12:44 +00:00
Jing-yan, Jang
32cbc59c81 Merge "Keymaster: Fix potential bug in extractUint32()/extractUint64()" into rvc-dev 2020-07-07 12:07:36 +00:00
josephjang
4feb8cd284 Keymaster: Fix potential bug in extractUint32()/extractUint64()
In deserializeVerificationToken(), we use extractUint64() to extract
VerificationToken.challenge. A potential bug was found in
extractUint64() that will cause VerificationToken.challenge()
incorrect.

Bug: 160198696
Merged-In: Ie0d2c0127cc34f1bb90455e4f7869e15e5542173
Change-Id: Ie0d2c0127cc34f1bb90455e4f7869e15e5542173
2020-07-06 07:03:27 +00:00
android-build-team Robot
6fcb77f274 Snap for 6643631 from ef7bf24010 to rvc-release
Change-Id: I03d613d159b65d6bf2ebe22c45a43970ec61a550
2020-07-01 01:10:12 +00:00
TreeHugger Robot
ef7bf24010 Merge "Camera: fix the VTS test timeout to be 30min" into rvc-dev 2020-06-30 18:01:02 +00:00
android-build-team Robot
407de7c0b3 Snap for 6639787 from dabaad71f7 to rvc-release
Change-Id: I05e6acdaf3c15fdeb898665df7bbf21feb863de0
2020-06-30 01:09:29 +00:00
TreeHugger Robot
f04be179a7 Merge "Yet more minor fixes on User HAL:" into rvc-dev 2020-06-30 01:09:22 +00:00
TreeHugger Robot
dabaad71f7 Merge "Update VTS tests to use GeranBands P900 and 850 instead" into rvc-dev 2020-06-29 21:00:53 +00:00
Sarah Chin
5836f407aa Update VTS tests to use GeranBands P900 and 850 instead
Also call stopNetworkScan to prevent DEVICE_IN_USE error

Test: run vts VtsHalRadioV1_4Target, VtsHalRadioV1_5Target
Bug: 159582104
Change-Id: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
2020-06-29 11:58:00 -07:00
Yin-Chia Yeh
f65225671c Camera: fix the VTS test timeout to be 30min
Test: test failure is gone
Bug: 159413657
Change-Id: Id1a350081241910463614960c6fdda3d7e32eddc
2020-06-29 09:45:03 -07:00
android-build-team Robot
c5704e933a Snap for 6634012 from 00f17b9616 to rvc-release
Change-Id: I135e49130e1bc4a3202a6cc62887b8e90420002f
2020-06-27 01:06:28 +00:00
TreeHugger Robot
00f17b9616 Merge "Override gtest timeout and add logging" into rvc-dev 2020-06-26 23:52:06 +00:00
Jordan Liu
fffbdfa1eb Override gtest timeout and add logging
Note that this just increases the gtest time to match our
highest wait times. Each test still has wait times fitted for the
expected length of that test.

Bug: 159289514
Test: atest VtsHalRadioV1_0TargetTest
Change-Id: I0825305258bae20ea6e13e9b9a65ce30b7153611
2020-06-26 22:51:58 +00:00
TreeHugger Robot
36e9e40436 Merge "Clarify NNAPI control flow shape constraints" into rvc-dev 2020-06-26 12:07:06 +00:00
felipeal
bc366009a6 Yet more minor fixes on User HAL:
- Minor fixes on docs.
- Switched order of String fields on InitialUserInfoResponse to be consistent
  with doc.

Test: $ANDROID_BUILD_TOP/development/vndk/tools/header-checker/utils/create_reference_dumps.py  -l android.hardware.automotive.vehicle@2.0
Bug: 159856152

Change-Id: I7b05a64fcea7512101436df7c93a3204274a4d6b
2020-06-25 18:47:42 -07:00
android-build-team Robot
3a32c0e105 Snap for 6630229 from facdb89fbd to rvc-release
Change-Id: Ib36fa20d2ea11b3a1e8dc1bb20145af1294c6303
2020-06-26 01:01:07 +00:00
Nathan Harold
facdb89fbd Merge "Allow Unsupported BarringInfo in RVC for Radio 1.5" into rvc-dev 2020-06-25 17:52:46 +00:00
android-build-team Robot
76edbfb737 Snap for 6626121 from 494c937d78 to rvc-release
Change-Id: I84c41b509946e73ccc9c2dff35c944add179122b
2020-06-25 01:04:47 +00:00
TreeHugger Robot
494c937d78 Merge "Identity: Update for changes to ISO 18013-5." into rvc-dev 2020-06-24 23:10:55 +00:00
Nathan Harold
25d2378734 Allow Unsupported BarringInfo in RVC for Radio 1.5
Allow devices launching with IRadio 1.5 this year to
not support BarringInfo.

Bug: 159582898
Test: atest VtsHalRadioV1_5TargetTest -- -t getBarringInfo
Change-Id: I05b749fa3cfb3648148fd2666d7eb6f43f3c45d2
2020-06-24 15:23:39 -07:00
TreeHugger Robot
f40dd0a7d0 Merge "camera : Allow non bc camera devices through getConcurrentStreamingCameraIds" into rvc-dev 2020-06-24 22:18:26 +00:00
Jayant Chowdhary
6a9a809e36 camera : Allow non bc camera devices through getConcurrentStreamingCameraIds
Also Add y16 stream combinations to configureConcurrentStreamsAvailableOutputs vts test

Bug: 159247271

Test: VtsHalCameraProviderV2_4TargetTest
      --gtest_filter=PerInstance/CameraHidlTest.configureConc* on
      cuttlefish

Change-Id: If5fea1fc47a3bcc8d3695e23f01a55091c246eda
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-06-24 12:42:49 -07:00
David Zeuthen
f90b7d8363 Identity: Update for changes to ISO 18013-5.
Key derivation for session encryption and MACing now involves mixing
in SessionTranscriptBytes. Update docs, default implementation, and
VTS tests to reflect this.

Also, the standard changed such that instead of DeviceAuthentication
being MACed or signed, it's instead DeviceAuthenticationBytes which is
defined as #6.24(bstr .cbor DeviceAuthentication). The same also for
ReaderAuthentication, now ReaderAuthenticationBytes is the CBOR which
is signed by the reader.

Also update the URL for CDDL since it's now a published RFC.

Bug: 159482543
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Merged-In: I73fc7eb48ffb71e00a8b54849266ed814295fa39
Change-Id: I4bb5040895cf24a7089b7e36e05eeaf26496381e
2020-06-24 10:21:11 -04:00
Naseer Ahmed
fbcb5a89c9 Do not link mapper libraries statically
Linking them statically prevents the mapper SP HAL from being
extended

Bug: 158465474
Test: local build vts tools.
      Passed on VtsHalGraphicsComposerV2_XTargetTest.
Change-Id: I916b1c042b1e81e53f7398cd4a1a2231469ea91f
2020-06-24 07:10:58 +00:00
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
Slava Shklyaev
709842ab98 Clarify NNAPI control flow shape constraints
Bug: 156918813
Bug: 158557728
Test: m
Change-Id: I4c2b83e11b27b791b3aa624be68474011b92a269
2020-06-23 13:08:05 +01: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