Commit Graph

15387 Commits

Author SHA1 Message Date
Yifan Hong
f41233f7fd Merge "Current (5) matrix: use radio.config@1.2::IRadioConfig" into qt-dev-plus-aosp 2019-07-01 18:58:01 +00:00
nagendra modadugu
eec090610b Merge "keymaster: Relax testing under GSI" into qt-dev
am: d10841a83d

Change-Id: If435ebd75ee04f1f6ea6324437683713b85a613a
2019-06-29 12:03:43 -07:00
TreeHugger Robot
d10841a83d Merge "keymaster: Relax testing under GSI" into qt-dev 2019-06-29 18:27:43 +00:00
nagendra modadugu
f18a8328a1 keymaster: Relax testing under GSI
GSI images do not have AVB verification enabled and therefore lack
several properties the keymaster HAL test depended on.  Selectively
disable those parts of the test that would fail with AVB verification
disabled.  Also disable date format checks under GSI.  When invoked from
GSI the TEE-backed keymaster doesn't use the correct date format.

Bug: 130843899
Test: VtsHalKeymasterV4_0TargetTest
Exempt-From-Owner-Approval: change only affects VTS-on-GSI behavior
Change-Id: Idaafb7b515c41290c766a8132f35d498ca15f48a
2019-06-29 18:27:38 +00:00
Yifan Hong
4bada9d663 Merge "Q matrix: use radio.config@1.2::IRadioConfig" into qt-dev
am: 30ecfabab5

Change-Id: I5a137e792b62710ffed7df80a9bd15d3e08416e8
2019-06-28 22:30:04 -07:00
TreeHugger Robot
30ecfabab5 Merge "Q matrix: use radio.config@1.2::IRadioConfig" into qt-dev 2019-06-29 05:06:32 +00:00
Yifan Hong
6da3b83996 Current (5) matrix: use radio.config@1.2::IRadioConfig
1.1 IRadioConfig does not exist. radio.config@1.2 is a
minor version uprev that only updates the sub interfaces,
not the top level interface.

Test: builds

Bug: 135172251
Change-Id: Ia576cea29c63850ddb531f7c972fa4ebaecd20c7
2019-06-28 16:58:21 -07:00
Yifan Hong
7d350fed1e Q matrix: use radio.config@1.2::IRadioConfig
1.1 IRadioConfig does not exist. radio.config@1.2 is a
minor version uprev that only updates the sub interfaces,
not the top level interface.

Test: builds
Test: on device with target-level 4, w/o this change,
      with radio config 1.1, see test failure on deprecated
      radio config HAL
Test: on this device, with this change, with radio config 1.1,
      deprecated radio config HAL failure goes away.

Bug: 135172251
Change-Id: Id51870a8a757af0895577a27723cff8ee3ba0fdd
2019-06-28 16:28:54 -07:00
Ilya Matyukhin
87e8bab583 Update VTS tests to support the latest BiometricsFace.hal
am: 00bc962dea

Change-Id: Id60d66891fe93c719be7a4f6aa009c58475c6ab0
2019-06-28 12:13:02 -07:00
Janis Danisevskis
c329ea5d18 [automerger skipped] Merge "Added HIDL based software implementation of gatekeeper" am: 7350a53137
am: bcb3caa4ae -s ours
am skip reason: change_id I632aeb6677640c133ec1b79e72568840adbc0550 with SHA1 b1d2df1ed0 is in history

Change-Id: Ia6ff8e9a9386344eb607eeb2ba96021c6d6e8dd9
2019-06-27 18:43:08 -07:00
Janis Danisevskis
bcb3caa4ae Merge "Added HIDL based software implementation of gatekeeper"
am: 7350a53137

Change-Id: If9843c296fec40663506f73c84a99ac9a04b665a
2019-06-27 18:15:48 -07:00
Janis Danisevskis
7350a53137 Merge "Added HIDL based software implementation of gatekeeper" 2019-06-28 00:43:10 +00:00
Ilya Matyukhin
00bc962dea Update VTS tests to support the latest BiometricsFace.hal
Bug: 134967390
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Change-Id: Ifbd04d127626315efd8c8ce36636e550cbb843ff
2019-06-27 17:41:36 -07:00
Janis Danisevskis
b1d2df1ed0 Added HIDL based software implementation of gatekeeper
This patch adds a HIDL based software implementation of gatekeeper based
on libgatekeeper.

Also adds OWNER files to the vts test and default implementation
directories.

Test: Manually tested in emulator. Changing passwords and login worked.
      VtsHalGatekeeperV1_0TargetTest
      gatekeeper-software-device-unit-tests
Change-Id: I632aeb6677640c133ec1b79e72568840adbc0550
Merged-In: I632aeb6677640c133ec1b79e72568840adbc0550
2019-06-27 11:32:57 -07:00
Jimmy Chen
d49f3424c5 Merge "p2p: skip MAC randomization vts test if not supported" into qt-dev
am: 33723f56b5

Change-Id: Ib6779515fb13d25b1f712f5bb32981a7980d79f4
2019-06-26 23:11:18 -07:00
Jimmy Chen
33723f56b5 Merge "p2p: skip MAC randomization vts test if not supported" into qt-dev 2019-06-27 05:19:46 +00:00
Steven Moreland
40a81306a4 Merge "VINTF CM: changes from 4 into current." into qt-dev-plus-aosp 2019-06-26 17:30:51 +00:00
Shuzhen Wang
c39db71d53 Merge "Camera: VTS: Allow unsupported logical/physical combination" into qt-dev
am: d4686a1a06

Change-Id: I8f751938b986797c412c1a097d9a4909c8abcffe
2019-06-26 08:58:15 -07:00
TreeHugger Robot
d4686a1a06 Merge "Camera: VTS: Allow unsupported logical/physical combination" into qt-dev 2019-06-26 15:42:57 +00:00
Jimmy Chen
7af5384d2d p2p: skip MAC randomization vts test if not supported
Bug: 135247522
Test: atest VtsHalWifiSupplicantP2pV1_2TargetTest
Change-Id: I1aafcdbe88f93dbf73069d24ae90cad0d395df6e
2019-06-26 14:40:10 +08:00
Garret Kelly
72c4746cda Merge "Increase leniency of attestation record timestamps" into qt-dev
am: 6c4e33d079

Change-Id: I741568f862d553a92344618406f0fb2f7a3d46f5
2019-06-25 23:19:49 -07:00
TreeHugger Robot
6c4e33d079 Merge "Increase leniency of attestation record timestamps" into qt-dev 2019-06-26 06:08:42 +00:00
Steven Moreland
c2be577d25 Merge "compatibility_matrix: specify @1.2::ISap directly" into qt-dev
am: 7a605ba87e

Change-Id: Iecc6ad6d1daf9a7cad5948761efa28a7c42f59ea
2019-06-25 14:05:20 -07:00
Steven Moreland
7a605ba87e Merge "compatibility_matrix: specify @1.2::ISap directly" into qt-dev 2019-06-25 20:15:08 +00:00
Prachi Hande
9eb89bab29 Merge "Updated START_SESSION message interpretation" into qt-dev
am: c6d2640d29

Change-Id: I759e1af718c498d284d9fe9571e10487c2bc78da
2019-06-25 12:06:49 -07:00
Steven Moreland
82205d576c VINTF CM: changes from 4 into current.
compatibility_matrix.4.xml was updated for a late fix in Q, so the
current matrix also needs to be updated.

Bug: 135627722
Test: vts_treble_vintf_test
Change-Id: I0cca7c55007d42ed8e86256b7b280b075378bc40
2019-06-25 11:24:20 -07:00
Prachi Hande
c6d2640d29 Merge "Updated START_SESSION message interpretation" into qt-dev 2019-06-25 18:23:53 +00:00
Steven Moreland
c689517d59 compatibility_matrix: specify @1.2::ISap directly
@1.4::ISap and @1.3::ISap don't exist, so we can't declare a requirement
for them.

Bug: 135627722
Test: reproduce error with vts_treble_vintf_test and then test to see
    this change fixes it.
Change-Id: I8e48fcaf56701087d5720d5133ffa9b23a4ea31e
2019-06-25 18:22:04 +00:00
Prachi Hande
af6af767e7 Updated START_SESSION message interpretation
Removed the dependency on the fact that the core's new ID is always >= existing ID.
New ID and the old ID may not have any such relation.

Bug: 135475397
Fixes: 135475397
Test: Updated unit tests in VmsUtilsTest. Ran the tests on Hawk.

Change-Id: I5a7e72f36a84f5bf2d3c7bf1ccb89d27c5c0da97
2019-06-24 17:47:56 -07:00
Yifan Hong
b8cbd8c13e Merge "health storage hal vts test: add more tolerance." am: 0104792162
am: db166f768d

Change-Id: I382784262b1df5bc079d883936c6f1a59410ee19
2019-06-24 16:42:55 -07:00
Yifan Hong
db166f768d Merge "health storage hal vts test: add more tolerance."
am: 0104792162

Change-Id: I5d9fc1fbbfcd83812e1c8750ccd13126d569644d
2019-06-24 16:38:59 -07:00
Yifan Hong
b0673a3b4b Merge "health storage hal vts test: add more tolerance." into qt-dev
am: 5a58efedd8

Change-Id: I0b45e9bf37b70bb6e4b0e00f2a2597d59d04f8bd
2019-06-24 16:35:39 -07:00
Garret Kelly
9c0a45795f Increase leniency of attestation record timestamps
The TEE keymaster has been seen to be almost a minute out of sync with
the host clock during attestation.  Increase the leniency window to two
minutes.

Bug: 134408892
Bug: 134408367
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: Ic256a939dcd7e7b108099cfcf237cacde8dde059
2019-06-24 23:28:52 +00:00
Yifan Hong
5a58efedd8 Merge "health storage hal vts test: add more tolerance." into qt-dev 2019-06-24 21:54:27 +00:00
Shuzhen Wang
fa2a909836 Camera: VTS: Allow unsupported logical/physical combination
Multi-camera API requirement is relaxed to allow camera device not
support physical stream combinations. Adjust the test accordingly.

Test: processMultiCaptureRequestPreview
Bug: 135688720
Bug: 135728906
Change-Id: I8c5269c5d3fd7f6eef440c818706629af2233196
2019-06-24 11:30:00 -07:00
Treehugger Robot
0104792162 Merge "health storage hal vts test: add more tolerance." 2019-06-24 18:22:38 +00:00
Janis Danisevskis
43773f6c42 Added HIDL based software implementation of gatekeeper
This patch adds a HIDL based software implementation of gatekeeper based
on libgatekeeper.

Also adds OWNER files to the vts test and default implementation
directories.

Test: Manually tested in emulator. Changing passwords and login worked.
      VtsHalGatekeeperV1_0TargetTest
      gatekeeper-software-device-unit-tests
Change-Id: I632aeb6677640c133ec1b79e72568840adbc0550
Merged-In: I632aeb6677640c133ec1b79e72568840adbc0550
2019-06-23 11:15:05 -07:00
Kai Wang
4acdd6621d Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev
am: 130fad824b

Change-Id: I70a2eeb5effd71b3d17b83ea15fd1f36388468bf
2019-06-21 23:10:37 -07:00
Kai Wang
130fad824b Merge "Add Speed_Display_Units property in DefaultHal" into qt-dev 2019-06-22 05:57:33 +00:00
Kai
42a26244ad Add Speed_Display_Units property in DefaultHal
Update properties for DefaultHal and it is also be a code
sample for adding new properties.

Bug: 134988550
Test: flash it and verify property by kitchenSink
Change-Id: Iedf3ea5b288acfe95b3c676d90660435b34ed367
2019-06-22 01:52:02 +00:00
Yifan Hong
6eba01f8f4 health storage hal vts test: add more tolerance.
Test: run on blueline
Bug: 135631007
Change-Id: Ie1770a4a152a045e5f40eaf9cd7b551fe391a0b1
Merged-In: Ie1770a4a152a045e5f40eaf9cd7b551fe391a0b1
(cherry picked from commit ae3d61c2c3)
2019-06-21 15:52:43 -07:00
Yifan Hong
ae3d61c2c3 health storage hal vts test: add more tolerance.
Test: run on blueline
Bug: 135631007
Change-Id: Ie1770a4a152a045e5f40eaf9cd7b551fe391a0b1
2019-06-21 15:51:40 -07:00
Valerie Hau
5cb7cc40a7 Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev
am: d93c9f0c2d

Change-Id: I3bda1337b6c3fdea3c555f3887aa9a88dc04620c
2019-06-21 15:20:16 -07:00
Valerie Hau
d93c9f0c2d Merge "Wait until old ComposerClient is fully destroyed before recreating" into qt-dev 2019-06-21 22:09:02 +00:00
Prachi Hande
a5bd3ffd11 Merge "Updated a method name in VmsUtils." into qt-dev
am: 1f968cd87c

Change-Id: Iaf6cfb281fbdfb786a96ced641017a20da9cd4be
2019-06-21 13:33:58 -07:00
Prachi Hande
1f968cd87c Merge "Updated a method name in VmsUtils." into qt-dev 2019-06-21 20:19:09 +00:00
David Gross
9c59f1d42b Merge "Improve documentation related to execution." am: b575cedd74
am: 3059c66d53

Change-Id: Ie1b4244f9267a96df67f8f64c42b91f3b455f416
2019-06-21 12:11:13 -07:00
David Gross
3059c66d53 Merge "Improve documentation related to execution."
am: b575cedd74

Change-Id: I2a004aae058fc71f95675a9f5e93ece3b206ba5d
2019-06-21 12:07:18 -07:00
David Gross
b575cedd74 Merge "Improve documentation related to execution." 2019-06-21 18:40:03 +00:00
David Gross
f406bf9b1e Improve documentation related to execution.
Bug: 121347610 document that NNAPI Execution inputs/outputs and HAL Request inputs/outputs must not be modified

Test: cd hardware/interfaces/neuralnetworks/1.0/vts/functional ; mma
Test: cd hardware/interfaces/neuralnetworks/1.2/vts/functional ; mma

Change-Id: Iac71d6d5ad92a90afd1b6babb7cfa128d7484c64
2019-06-21 11:28:19 -07:00