Commit graph

22018 commits

Author SHA1 Message Date
David Zeuthen
3052b3d88f [automerger skipped] Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." into rvc-dev am: 4035b2a587 -s ours
am skip reason: Change-Id I3205f2c0ded2ea315857438a3114ddcf8ef557f9 with SHA-1 7067a73ed2 is in history

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

Change-Id: Ib17deaaa8807d0818cedc105ea5f6db45eb04707
2020-07-14 18:36: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
c2d45376d4 [automerger skipped] Merge "Make android.hardware.renderscript@1.0 buildable for native_bridge" into rvc-dev am: 284806014a -s ours
am skip reason: Change-Id If11376cdd583629c8edfea17efb130dd68dc9b8f with SHA-1 7cac9425b0 is in history

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

Change-Id: Id157b121390b3e07e4eef065051c6610fdc2dea5
2020-07-14 17:25:44 +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
jack.cc-hsu
69e801624a Update nodeNamePattern rule am: 88990e687c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12134843

Change-Id: Ia0c61c9a02523ba45660e5f699a521ad1fb225fa
2020-07-13 20:32:54 +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
Treehugger Robot
347694c3cf Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." am: 75e326e17d am: 925757c2eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1360918

Change-Id: Ibdbb8583c23370a27ed1d7f900383b80594f26ff
2020-07-13 17:01:35 +00:00
Treehugger Robot
925757c2eb Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." am: 75e326e17d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1360918

Change-Id: I0d43fa6fd281899c891f444de8f84560d7855b37
2020-07-13 16:50:47 +00: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
Treehugger Robot
75e326e17d Merge "Identity: Add VTS test to check empty and semi-empty requests work properly." 2020-07-13 16:26:44 +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
Steven Moreland
970413f03f Avoid TREBLE_TESTING_OVERRIDE am: 56273ce0d2 am: 4a21409278
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1359802

Change-Id: Iedaa4d456d85fe608f186146e162dfe4187c41f4
2020-07-10 19:09:47 +00:00
Steven Moreland
4a21409278 Avoid TREBLE_TESTING_OVERRIDE am: 56273ce0d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1359802

Change-Id: I33af63fd9003830332d44497dd9819bf72f26069
2020-07-10 18:57:40 +00:00
David Zeuthen
7067a73ed2 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
Change-Id: I3205f2c0ded2ea315857438a3114ddcf8ef557f9
2020-07-10 14:38:53 -04:00
Shuo Qian
f884fadddd Change range of SS-RSRQ per 3gpp am: 074d9041e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12109456

Change-Id: Ia206b023cd4c36467bd9c154d936c1899440f175
2020-07-09 22:45:42 +00:00
Steven Moreland
56273ce0d2 Avoid TREBLE_TESTING_OVERRIDE
This is moved from an environmental variable to a function since
getenv is problematic in multi-threaded testing environments.

Bug: 156668058
Test: fmq_test
Change-Id: I54c6a973ef9d1cec98330268ed0a40c2564ee42c
2020-07-09 21:56:24 +00:00
Victor Khimenko
7d537ae398 Make android.hardware.renderscript@1.0 buildable for native_bridge am: 7cac9425b0 am: d454bfb695
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1358405

Change-Id: I9b3d2a48add5c2dd65948dbd1e779cc29b5a2fb9
2020-07-09 20:26:55 +00:00
Victor Khimenko
d454bfb695 Make android.hardware.renderscript@1.0 buildable for native_bridge am: 7cac9425b0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1358405

Change-Id: I072c17036519dda4293d7f3ddaa9dd065034452f
2020-07-09 20:13:08 +00:00
Victor Khimenko
7cac9425b0 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
2020-07-08 21:20:03 +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
Jooyung Han
46357a88a8 [automerger skipped] update hidl .bp am: d610435ac4 am: f6813ceb16 -s ours
am skip reason: Change-Id Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a with SHA-1 d18cba85fe is in history

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

Change-Id: I6b9ae0f5fbae95c7dea2190075223b0ffd24413b
2020-07-07 18:30:27 +00:00
Jooyung Han
f6813ceb16 update hidl .bp am: d610435ac4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1353437

Change-Id: Ibd264204cb6a0ec58da2cd808a2a28cb6d2c35ef
2020-07-07 18:16:46 +00:00
Jing-yan, Jang
1ff45345f6 [automerger skipped] Merge "Keymaster: Fix potential bug in extractUint32()/extractUint64()" into rvc-dev am: 32cbc59c81 -s ours
am skip reason: Change-Id Ie0d2c0127cc34f1bb90455e4f7869e15e5542173 with SHA-1 c96b1fab12 is in history

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

Change-Id: I3ffa063c4c2e2cd11d7bcc9332d4e7ec9ab46ecb
2020-07-07 12:13:23 +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
Jooyung Han
d610435ac4 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-07 16:22:36 +09:00
Joseph Jang
955aa4ecc6 Merge "Keymaster: Fix potential bug in extractUint32()/extractUint64()" am: 991650fd8a am: e9e59bd5d1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1354466

Change-Id: I1bf12c37f39067857ab27f51ed08bbe1bfd73ef3
2020-07-07 03:01:03 +00:00
Joseph Jang
e9e59bd5d1 Merge "Keymaster: Fix potential bug in extractUint32()/extractUint64()" am: 991650fd8a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1354466

Change-Id: I62eef90020161286035e667bf8f7c3c6f5f0a81d
2020-07-07 02:50:19 +00:00
Joseph Jang
991650fd8a Merge "Keymaster: Fix potential bug in extractUint32()/extractUint64()" 2020-07-07 02:31:44 +00:00
Jooyung Han
84ff4f4640 Merge "update hidl .bp" into rvc-dev-plus-aosp 2020-07-06 21:16:10 +00:00
Treehugger Robot
1ebcff0d7b [automerger skipped] Merge "Clarify NNAPI control flow shape constraints RESTRICT AUTOMERGE" am: 348df54c43 am: e64f918d10 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I90b865e7942d1fa5cb9fc8c8e4bd6e6bf291bc1a
2020-07-06 18:15:25 +00:00
Slava Shklyaev
deb62eef1f [automerger skipped] Clarify NNAPI control flow shape constraints RESTRICT AUTOMERGE am: dfe1525859 am: 22995317be -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia3b9c4e35399cf398657867f39b617cacb3b3d2c
2020-07-06 18:15:22 +00:00
Treehugger Robot
e64f918d10 Merge "Clarify NNAPI control flow shape constraints RESTRICT AUTOMERGE" am: 348df54c43
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1351586

Change-Id: Iba5cd092fa23af94db95ce298704b0ee68f31db9
2020-07-06 18:03:36 +00:00
Slava Shklyaev
22995317be Clarify NNAPI control flow shape constraints RESTRICT AUTOMERGE am: dfe1525859
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1351586

Change-Id: Ide574c4956594dc7c3295896d321653de7f50cad
2020-07-06 18:03:34 +00:00
Treehugger Robot
348df54c43 Merge "Clarify NNAPI control flow shape constraints RESTRICT AUTOMERGE" 2020-07-06 17:49:45 +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
josephjang
c96b1fab12 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
Change-Id: Ie0d2c0127cc34f1bb90455e4f7869e15e5542173
2020-07-06 14:53:55 +08:00
Jooyung Han
d18cba85fe update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-02 12:26:37 +09:00
Treehugger Robot
8f315a1f27 Merge "Fix GTestResultParser compatibility" am: 44c14f778b am: 6badfaa8b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1352763

Change-Id: I13156db2e3016d816fbd19ac4ec7bbee87c2855f
2020-07-01 16:59:02 +00:00
Treehugger Robot
6badfaa8b5 Merge "Fix GTestResultParser compatibility" am: 44c14f778b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1352763

Change-Id: I73e4a84e4489869ce806228d82dbd0ba3e49d7d3
2020-07-01 16:47:00 +00:00
Treehugger Robot
44c14f778b Merge "Fix GTestResultParser compatibility" 2020-07-01 16:34:51 +00:00
Tomasz Wasilczyk
751855d89b Fix GTestResultParser compatibility
Bug: 158643176
Test: adb shell /data/nativetest64/VtsHalBroadcastradioV2_0TargetTest/VtsHalBroadcastradioV2_0TargetTest
Change-Id: Id0c936da397f7b06b2f274e036dc789cdcd506da
2020-07-01 07:55:37 -07:00
Jordan Liu
478757a955 [automerger skipped] Merge "Override gtest timeout and add logging" am: cb844d5695 am: 65eddf19ba -s ours
am skip reason: Change-Id I0825305258bae20ea6e13e9b9a65ce30b7153611 with SHA-1 fffbdfa1eb is in history

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

Change-Id: If29a80fd8a5f4f0cb2ec8b159af995b84f9e2f7d
2020-06-30 20:05:36 +00:00
Jordan Liu
65eddf19ba Merge "Override gtest timeout and add logging" am: cb844d5695
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1352902

Change-Id: I36332a20b0a4e9f6a71a8a640c3d853e6c81cc6e
2020-06-30 19:55:58 +00:00
Jordan Liu
cb844d5695 Merge "Override gtest timeout and add logging" 2020-06-30 19:46:17 +00:00
TreeHugger Robot
59a28383f2 Merge "Camera: fix the VTS test timeout to be 30min" into rvc-dev am: ef7bf24010
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12036144

Change-Id: Iba10324055f76a2f7990194c078fabde735b4544
2020-06-30 18:14:05 +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
TreeHugger Robot
6bb7b60138 Merge "Yet more minor fixes on User HAL:" into rvc-dev am: f04be179a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12000988

Change-Id: I9a0c61e8a9a523aa0f9a02e1558d99ae58fc18a5
2020-06-30 01:16:03 +00:00
TreeHugger Robot
f04be179a7 Merge "Yet more minor fixes on User HAL:" into rvc-dev 2020-06-30 01:09:22 +00:00
Matej Pfajfar
3468366623 Change 'blacklist' to 'disallow' am: 26f365b810 am: 2d0bac77ab
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1351587

Change-Id: I4e7fec2b1823cbb7e974be59804cccc38d13614d
2020-06-29 23:05:00 +00:00
Matej Pfajfar
2d0bac77ab Change 'blacklist' to 'disallow' am: 26f365b810
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1351587

Change-Id: Icc1eff787af7978953bc3fd915395fa94e427f0f
2020-06-29 22:54:24 +00:00