Commit graph

7565 commits

Author SHA1 Message Date
Janis Danisevskis
7e03f98bd2 Software keymaster attestations return 3 as keymaster version
Bug: 67358942
Bug: 67359348
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: Ia04a55b407343ddddd4467c401ee2556e8fe9bd9
2017-10-03 16:13:21 -07:00
Janis Danisevskis
1235d348e6 Relax finish result on RSA operations
Some RSA operation tests expect ErrorCode::INVALID_ARGUMENT
and others ErrorCode::INVALID_INPUT_LENGTH for the same
diagnosed syndrome, i.e., the input message was too long.

This patch relaxes the expectations on one of these tests
expecting ErrorCode::INVALID_INPUT_LENGTH, to also accept the
more consistent ErrorCode::INVALID_ARGUMENT.

Bug: 67358942
Bug: 67359132
Test: VtsHalKeymasterV3_0TargetTest
Change-Id: I573d3a01b052f0256611064f23ae791007cf7122
2017-10-03 16:13:20 -07:00
Steven Moreland
6a6a71cf38 Merge "Update inheritance test implementation." am: 31fba8cd40 am: 7a5c1b6fda am: e427bde5eb
am: 303035051a

Change-Id: I46e8c5de6f37fda698e00365c01e43b052885829
2017-10-03 22:39:25 +00:00
Dan Willemsen
66d58d3656 Merge "Convert to Android.bp; rename libminijail_vendor" am: cb47aaf493 am: 6e975b1840 am: e7175b50ed
am: 537746c487

Change-Id: Ib8b4fe81cf14b1aaffc1f3635deddbd4401c69b7
2017-10-03 22:31:52 +00:00
Janis Danisevskis
02bc2768d4 Add OWNERS files to keymaster resources am: e6014f69ea am: 1ff3510d29 am: 2d83c98987
am: a0e1f49a11

Change-Id: Ic1eab465d8392c79411ce6c6097c40585748db1f
2017-10-03 22:31:13 +00:00
Steven Moreland
303035051a Merge "Update inheritance test implementation." am: 31fba8cd40 am: 7a5c1b6fda
am: e427bde5eb

Change-Id: Ibb00e5b9acae869d54aeafeac09deec2f0d51acf
2017-10-03 22:25:55 +00:00
Dan Willemsen
537746c487 Merge "Convert to Android.bp; rename libminijail_vendor" am: cb47aaf493 am: 6e975b1840
am: e7175b50ed

Change-Id: I0b3df506bc33aed78742f353e6d5863f57985db5
2017-10-03 22:24:39 +00:00
Steven Moreland
e427bde5eb Merge "Update inheritance test implementation." am: 31fba8cd40
am: 7a5c1b6fda

Change-Id: I213780758114fa5fd8891e8d1b501ae7d9e68929
2017-10-03 22:21:44 +00:00
Dan Willemsen
e7175b50ed Merge "Convert to Android.bp; rename libminijail_vendor" am: cb47aaf493
am: 6e975b1840

Change-Id: If4bfed3a048b53197fd6a7447ce7d60c78c4c384
2017-10-03 22:19:47 +00:00
Steven Moreland
7a5c1b6fda Merge "Update inheritance test implementation."
am: 31fba8cd40

Change-Id: I57935d1a08f1976d2301eee692ed823fb81bfcf4
2017-10-03 22:15:02 +00:00
Dan Willemsen
6e975b1840 Merge "Convert to Android.bp; rename libminijail_vendor"
am: cb47aaf493

Change-Id: I9a17fbb1693111074eb93519f5468020627776ba
2017-10-03 22:12:53 +00:00
Treehugger Robot
31fba8cd40 Merge "Update inheritance test implementation." 2017-10-03 21:49:34 +00:00
Janis Danisevskis
a0e1f49a11 Add OWNERS files to keymaster resources am: e6014f69ea am: 1ff3510d29
am: 2d83c98987

Change-Id: I97cc35b7736319ae679f1ff88f07bf98857acf30
2017-10-03 21:47:46 +00:00
Treehugger Robot
cb47aaf493 Merge "Convert to Android.bp; rename libminijail_vendor" 2017-10-03 21:40:55 +00:00
Janis Danisevskis
2d83c98987 Add OWNERS files to keymaster resources am: e6014f69ea
am: 1ff3510d29

Change-Id: Ida237f73875e70d9d1e24547f1e9b90de12a7729
2017-10-03 21:35:50 +00:00
Janis Danisevskis
1ff3510d29 Add OWNERS files to keymaster resources
am: e6014f69ea

Change-Id: I71c2388fd278869daa652ae10fb8b7848b6e5443
2017-10-03 21:22:58 +00:00
TreeHugger Robot
d7e247d66b Merge "Support NN dev in O-MR1." 2017-10-03 20:42:52 +00:00
Janis Danisevskis
e6014f69ea Add OWNERS files to keymaster resources
This patch adds swillden@ and jdanis@ as owners of keymaster/3.0/vts
and keymaster/3.0/default.

Test: No code changed
Change-Id: I04bc0f741e8fafd53aee7c9dd62954548b81263d
2017-10-03 13:37:19 -07:00
Steven Moreland
9d320e3fbe Update inheritance test implementation.
HIDL_FETCH_IParent returns a child object
when the "child" instance name is requested.

Bug: 67104214
Test: hidl's run_all_device_tests.sh
Change-Id: Ie4b85d657e5d066fb77832e188062af29bc2e7c6
2017-10-03 12:52:51 -07:00
Eino-Ville Talvala
da67f485d1 Camera: Update VTS for new camera@3.3 interfaces am: e224f065b8
am: 6e7079328f

Change-Id: Ic41a248e723a35071b75d58317c9c481d26508e1
2017-10-03 19:40:37 +00:00
Emilian Peev
56cf04f628 Camera: Enable VTS tests for 3.3 camera devices am: 5eb1aa3f2b
am: 316ef90e24

Change-Id: I4e4178744c719e334d9d488b7224987b7a4f8fdc
2017-10-03 19:39:27 +00:00
Eino-Ville Talvala
6e7079328f Camera: Update VTS for new camera@3.3 interfaces
am: e224f065b8

Change-Id: I9f2f442528306cc53eef23901cb65e9c8029855d
2017-10-03 19:23:03 +00:00
Emilian Peev
316ef90e24 Camera: Enable VTS tests for 3.3 camera devices
am: 5eb1aa3f2b

Change-Id: I7094bc338c603265a25dcc19831f9cb931cd30e1
2017-10-03 19:22:58 +00:00
Steven Moreland
c6bd2f4296 Support NN dev in O-MR1.
Remove downstream changes to their makefile
which can't be updated in MR1.

Test: pass
Change-Id: I7d621b0366a25d9cbeeb2a4c120d5dd6664ffa2a
2017-10-03 11:04:47 -07:00
Eino-Ville Talvala
e224f065b8 Camera: Update VTS for new camera@3.3 interfaces
- Cross check device version in name with ICameraDeviceSession version
- Switch all calls to configureStreams to configureStreams_3_3 when
  a v3.3 ICameraDeviceSession is available

Test: Test passes on v3.3 devices, doesn't regress on v3.2
Bug: 62358514
Change-Id: I7450e5d5119c5ec1fe9f1360bfc99fc8a47d0936
2017-10-02 12:35:32 -07:00
Emilian Peev
5eb1aa3f2b Camera: Enable VTS tests for 3.3 camera devices
A new 3.3 Camera device API is available and devices supporting it
need to be tested as well.

Bug: 67028051
Test: run commandAndExit vts --skip-all-system-status-check
--skip-preconditions --primary-abi-only --module
VtsHalCameraProviderV2_4Target -l INFO

For passthrough devices: run commandAndExit vts
--skip-all-system-status-check --skip-preconditions --abi armeabi-v7a
--module VtsHalCameraProviderV2_4Target -l INFO

Change-Id: I91adb3c1867cdd8f8f810a2bd5b0a8ba2b0c1fcf
2017-10-02 11:02:16 -07:00
Ram Mohan M
7fe35b2d4a Merge "omxvts: fix binary for 64bit platforms" into oc-mr1-dev am: 7e0286404a
am: db285e9390

Change-Id: I2e79899adf6599684815bea6f6f6a9aaed41de4c
2017-10-01 23:14:48 +00:00
Ram Mohan M
969e586842 Merge "omxvts: misplaced lock can cause race condition" into oc-mr1-dev am: 99c319f781
am: d1817707b7

Change-Id: I3284ba15562b3aab4b705e5f1c776a5169d143bd
2017-10-01 23:14:12 +00:00
Ram Mohan M
db285e9390 Merge "omxvts: fix binary for 64bit platforms" into oc-mr1-dev
am: 7e0286404a

Change-Id: Id7c88291d1e8d846deea702f1ae30198361333dd
2017-10-01 23:12:44 +00:00
Ram Mohan M
d1817707b7 Merge "omxvts: misplaced lock can cause race condition" into oc-mr1-dev
am: 99c319f781

Change-Id: I151636a841c11310880601db6533d21ab0d8f7c0
2017-10-01 23:12:16 +00:00
TreeHugger Robot
7e0286404a Merge "omxvts: fix binary for 64bit platforms" into oc-mr1-dev 2017-10-01 23:09:21 +00:00
TreeHugger Robot
99c319f781 Merge "omxvts: misplaced lock can cause race condition" into oc-mr1-dev 2017-10-01 23:09:00 +00:00
TreeHugger Robot
8b77593b0d Merge "Revert "Loop all decode tests for all port modes supported"" 2017-09-29 22:29:27 +00:00
Erik Kline
fd54cc342b More tetheroffload VTS fixes for over-specified tests. am: b451490514
am: 67fd6d8af8

Change-Id: Ie754d409bd180097ac9d330e1f7bd49e4a2c228f
2017-09-29 19:23:29 +00:00
Erik Kline
46041d64f1 Tweaks to tetheroffload VTS: fixes and fd leaks am: 62e3e4bd1a
am: 8b4c5b3b96

Change-Id: I76588a8cae2412dc8921bc3541afaae84d2094a5
2017-09-29 19:23:25 +00:00
Erik Kline
67fd6d8af8 More tetheroffload VTS fixes for over-specified tests.
am: b451490514

Change-Id: I5aed0b84dd1c19a2ff5cd6eadf89bbc2e12c3ab5
2017-09-29 16:22:36 +00:00
Erik Kline
8b4c5b3b96 Tweaks to tetheroffload VTS: fixes and fd leaks
am: 62e3e4bd1a

Change-Id: I2091ae52a80cd45b6d8879e968e06827ea4594b2
2017-09-29 16:22:33 +00:00
Pawin Vongmasa
ff1b48721e Revert "Loop all decode tests for all port modes supported"
This reverts commit 3864db6b0d.

Change-Id: Ia8913ce11811a5b0037f9683118c0d5c5bbc4e42
2017-09-29 11:57:00 +00:00
Ram Mohan M
9502b237f7 omxvts: fix binary for 64bit platforms
Bug: 63796949

Change-Id: Ieddae0bd9fc45a88c6e1579bdd588b77b4174a1f
2017-09-29 04:41:41 -07:00
Ram Mohan M
028540b3a1 omxvts: misplaced lock can cause race condition
upon unsuccessful return during timed wait, relock the mutex before
accessing message list.

Bug: 63796949

Change-Id: I84a43e148a6415e629cb39a6b9dfe27259f8f2fd
2017-09-29 04:39:48 -07:00
Erik Kline
b451490514 More tetheroffload VTS fixes for over-specified tests.
[1] Call addDownstream before removeDownstream in affirmative tests

In order to properly test removeDownstream() where the HAL might
reasonably reject downstreams not previously added we now call
addDownstream() first (for affirmative tests).

[2] Clarify when stopOffload() return values can be safely ignored.

Test: as follows
    - make vts -j30 BUILD_GOOGLE_VTS=true && \
      vts-tradefed run commandAndExit vts \
          --skip-all-system-status-check \
          --primary-abi-only \
          --skip-preconditions \
          --module VtsHalTetherOffloadControlV1_0Target \
          -l DEBUG
      still doesn't pass but it's better than before  :)
Bug: 65270149
Change-Id: I27a574bd2110e3a1626de343f6b57b9efb8cdf83
2017-09-29 18:09:14 +09:00
Steven Moreland
21e87ff129 Update makefiles for transitive interfaces.
am: fe46a35243

Change-Id: I4cbfc3fdf2889cde31784b819ae984ae301da5bd
2017-09-27 22:02:23 +00:00
Steven Moreland
3788a7321f Update makefiles for hidl-adapter (2/2).
Bug: 37518178
Test: none
Change-Id: I77fe67964f89da8b66aeb8df6d424de0f8689f8d
2017-09-27 08:55:47 -07:00
Steven Moreland
fe46a35243 Update makefiles for transitive interfaces.
Transitive includes accidentally added by hidl-gen
were getting added to import lists. This import isn't
actually required and is now properly excluded from
hidl-gen update makefiles.

Bug: 65055216
Test: none
Change-Id: I4fb4de8ef5547a3081cd55b3c75f6288cc518ba6
2017-09-26 18:00:30 -07:00
Steven Moreland
91799c6cc7 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: 71a193a425
am: 9fdd241905

Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
71a193a425 Merge "Fix typo in update makefiles." am: 9960148420
am: f07e364ce3

Change-Id: If5bbf259458363b755989578c2f3828cbcb3d07c
2017-09-26 23:55:59 +00:00
Steven Moreland
f07e364ce3 Merge "Fix typo in update makefiles."
am: 9960148420

Change-Id: I949634e72f817f3a5411130e968acd8efd1d7725
2017-09-26 23:51:07 +00:00
Treehugger Robot
9960148420 Merge "Fix typo in update makefiles." 2017-09-26 23:48:27 +00:00
Steven Moreland
4b9e69b698 Merge "Update base files script works anywhere." am: 7d54744e87 am: 4d2b22c781 am: 2d86069a1c
am: 1a5331539d

Change-Id: I8fcaf57abc3a0f75d552139c6ddde0919b05facf
2017-09-26 23:00:57 +00:00