Commit Graph

24830 Commits

Author SHA1 Message Date
Dan Shi
412837cfb7 Merge "Fix bad test config for VtsHalRadioV1_4TargetTest" am: 2fbbdd9548
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427534

Change-Id: Ia1cad09b09712af8a78250bb7434796004b6b37c
2020-09-15 22:42:50 +00:00
Dan Shi
acfabe652f Merge "Suppress gtest error for tests without any instance" am: de3f15adc0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425889

Change-Id: Id0144e356c05ed0a321347ccefa7b84e1a1ed86f
2020-09-15 22:41:54 +00:00
Dan Shi
2fbbdd9548 Merge "Fix bad test config for VtsHalRadioV1_4TargetTest" 2020-09-15 22:07:00 +00:00
Dan Shi
de3f15adc0 Merge "Suppress gtest error for tests without any instance" 2020-09-15 21:53:54 +00:00
Yifan Hong
4c00d8eaec Add libvintf_fcm_exclude
Move exclude list from check_vintf to hardware/interfaces.
This is closer to the HALs. A HAL must either be declared
in hardware/interfaces/compatibility_matrices or be exempted
in hardware/interfaces/compatibility_matrices/exclude.

Test: builds
Bug: 110261831
Change-Id: I2437d92a97505ab66e47425ac17aa58319702685
2020-09-15 14:31:00 -07:00
Treehugger Robot
b509618efb Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a am: 00b1b980be am: 3eb011c487
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: I6cc330c1c16086c8102b1307cf8edb623d194b9a
2020-09-15 18:59:56 +00:00
Treehugger Robot
3eb011c487 Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a am: 00b1b980be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: Ic3bb9e351347dbc9abc5211efc0e7b98bdc415d2
2020-09-15 18:32:06 +00:00
Treehugger Robot
00b1b980be Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" am: 01695e087a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1426945

Change-Id: I66366b29dbddaed9c31fd4bf13b1843de4ccb7a8
2020-09-15 17:58:31 +00:00
Amy Zhang
6ec20d27f7 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated
parameterized tests.

This test can be disabled on the phone target once there is
a cuttlefish tv target enabled to run the test continuously.

The test will be removed from the exception list afterwards.

Test: make VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I7a2ad0e8a43c6262628354be316c530ab00ac520
Merged-In: I7a2ad0e8a43c6262628354be316c530ab00ac520
2020-09-15 17:42:33 +00:00
Treehugger Robot
01695e087a Merge "Add Tuner HAL VTS tests into the exception list of the uninstantiated parameterized tests" 2020-09-15 17:34:58 +00:00
Lakshman Annadorai
0c0666c756 Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9 am: bde59e03ef am: 924ebf2d26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: Ie93723dbedd717524fe87ce8468c6079de92808a
2020-09-15 08:41:02 +00:00
Lakshman Annadorai
924ebf2d26 Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9 am: bde59e03ef
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: Iff961af8b7358d4fb274f2c0d45f753c48273a5e
2020-09-15 07:49:08 +00:00
Lakshman Annadorai
bde59e03ef Update EmulatedUserHal to use UserHalHelper native library. am: 8eb03223e9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425312

Change-Id: Ifbdbedbccafe23bf9f4c4b257310c6038d341b2a
2020-09-15 07:24:42 +00:00
felipeal
4b5417906b Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1 am: 645bd8a6fa am: d4918ea194
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425311

Change-Id: I48a33bd0033c9d3c133fcdcbc026f53a957e94ac
2020-09-15 04:32:04 +00:00
felipeal
d4918ea194 Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1 am: 645bd8a6fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425311

Change-Id: Ic828eb136b8f686ada88166a56695c78d336d520
2020-09-15 04:04:42 +00:00
felipeal
645bd8a6fa Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST am: 5d40b783d1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425311

Change-Id: Ie0e3affd1fd6865fe3b19bbb961494c4322e5785
2020-09-15 03:24:28 +00:00
Lakshman Annadorai
8eb03223e9 Update EmulatedUserHal to use UserHalHelper native library.
Bug: 150409377
Fixes: 167588307
Test: Tested using lshal commands in go/user-hal-emulation.

Change-Id: I79486a715c92111d3d6f5c011b7e1cd8c5501c25
Merged-In: I4ba2202e28ef9260b38ebbf21083d55d7aa07fc9
(cherry picked from commit 92ad8215e7)
2020-09-15 02:54:35 +00:00
Dan Shi
ea77824cce Fix bad test config for VtsHalRadioV1_4TargetTest
Bug: none
Test: build
Change-Id: Ie0c4895dd201735cc3a441e2e9bd3ac2290833b0
2020-09-14 15:58:10 -07:00
Bill Yi
653a02f03d [automerger skipped] Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE am: 10d58f6f16 -s ours am: dab2441bcb -s ours
am skip reason: Change-Id I0d1d88bf6aca3324e8348642aa7e77aa663ba806 with SHA-1 c9a594fc65 is in history

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

Change-Id: I4cd7529156eebf8d9feb136ae6853e296b3f91f8
2020-09-14 21:50:59 +00:00
Bill Yi
dab2441bcb [automerger skipped] Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE am: 10d58f6f16 -s ours
am skip reason: Change-Id I0d1d88bf6aca3324e8348642aa7e77aa663ba806 with SHA-1 c9a594fc65 is in history

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

Change-Id: Id7e2f311521a3ed67faabaf926052425792b8823
2020-09-14 21:18:57 +00:00
Amy Zhang
a5207dcde7 Add Tuner HAL VTS tests into the exception list of the uninstantiated
parameterized tests

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 168345664
Change-Id: I1fabb01ea308c286d2b3f29d520afc7518bb2d8a
2020-09-14 12:03:24 -07:00
Bill Yi
10d58f6f16 Merge mainline-release 6664920 to stage-aosp-master - DO NOT MERGE
Merged-In: I0d1d88bf6aca3324e8348642aa7e77aa663ba806
Change-Id: I4fadc5d63b6b32afd9addf930af287ec91ea9722
2020-09-13 07:58:49 -07:00
Felipe Leme
e14c0eae69 Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: Idc8205b9d413b273b857fe7c50e4b91b345f0c41
2020-09-11 19:51:22 +00:00
Felipe Leme
48d15fb914 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: Ib81bae18c93f3d5e4c212d7ee3ed3820b1977375
2020-09-11 19:51:06 +00:00
Felipe Leme
c9a594fc65 Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I0d1d88bf6aca3324e8348642aa7e77aa663ba806
2020-09-11 19:09:16 +00:00
Felipe Leme
67a276e764 Merge "Add a native UserHalHelper library." am: 82120a8ce4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I65b9541fee41d161c416b2dd401d962e4fdecf69
2020-09-11 18:58:13 +00:00
Felipe Leme
cfecfdd960 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: Id007bb0e4d2ea99283f23f65e1d9f05138870854
2020-09-11 18:56:42 +00:00
Felipe Leme
cbae7c852b Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I0108032854cff71fc68c59f7207c38ab33f443c4
2020-09-11 18:33:12 +00:00
Dan Shi
ac9cf4482b Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
Merged-In: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
2020-09-11 11:02:25 -07:00
felipeal
5d40b783d1 Fixed EmulatedUserHal so it supports SwitchUserMessageType::VEHICLE_REQUEST
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896584 a 1 i -42 i 4 i 11
Fixes: 161574356
Bug: 167588307

Change-Id: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
Merged-In: Iaf5d8e35f556c72350cdb9b6665adb31fca26871
(cherry picked from commit 3e9d442fa1)
2020-09-11 17:43:34 +00:00
Felipe Leme
82120a8ce4 Merge "Add a native UserHalHelper library." 2020-09-11 17:43:04 +00:00
Felipe Leme
3e15feb00f Added myself (A.K.A felipeal@) to OWNERS.
Test: N/A
Bug: N/A

Change-Id: Ic5921afceecb1869fcfeda5670b2465a85202cfc
2020-09-11 09:59:11 -07:00
Lakshman Annadorai
3568c5c3b7 Add a native UserHalHelper library.
This library contains helper functions to convert the User HAL reponse
structs to VehiclePropValues and request VehiclePropValues to HAL
structs.

Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 150409377
Bug: 167588307

Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
Merged-In: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
(cherry picked from commit b33e2abbfe)
2020-09-11 16:06:42 +00:00
Xin Li
10f108d342 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I1cf1d9c821c764166cd807a90ead1345dbbe339c
2020-09-11 03:33:32 +00:00
Xin Li
2c7b6e54c3 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I229165230cd1f6597b8126cb4f941dc8b47437ed
2020-09-11 02:02:41 +00:00
Xin Li
e8d98e4d14 [automerger skipped] Merge Android R am: 1136876068 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

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

Change-Id: I68e800f6febbf808fc3e3f6117cf3abed5090c30
2020-09-11 00:40:12 +00:00
Xin Li
1136876068 Merge Android R
Bug: 168057903
Merged-In: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
Change-Id: I0586c24e16b7d052b0d209e2dffd6124492fcafa
2020-09-09 20:21:17 -07:00
Xusong Wang
46d169d055 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e am: aab6678cb4 am: 86de7e8cb4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: Ic0d9348652fe2d4b49092137af6b559d65721366
2020-09-10 02:07:05 +00:00
Xusong Wang
86de7e8cb4 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e am: aab6678cb4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: I3ea2766b17de82073ab2811e3c7b3ea08fbd0347
2020-09-10 01:49:59 +00:00
Xusong Wang
aab6678cb4 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: I17f3ca8aeaa66e2bcc6a1b0613e76230faea2a9a
2020-09-10 01:36:11 +00:00
Henry Fang
4c9990a390 [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours am: f9d897c0ce -s ours am: 13fd251180 -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

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

Change-Id: Ifa0ba89f34c14abbc011b3dd9afbdd1a42b83680
2020-09-10 01:14:47 +00:00
Xusong Wang
e551cc102e Merge "Increase NNAPI VTS single-test timeout to 20m." 2020-09-10 00:58:28 +00:00
Xusong Wang
7a8a6dd5af Increase NNAPI VTS single-test timeout to 20m.
SaveToCache_TOCTOU/PrepareFromCache_TOCTOU loops 100 times to generate
and reload compilation cache. Some drivers may hit the 60-second
timeout.

Bug: 160197150
Test: Add a test sleeping for 2min to NNAPI 1.2/1.3 VTS
      and run with vts-tradefed
Change-Id: Id232f4954180d8d7a9b91f8d2e4e6f2ee4640ed7
2020-09-10 00:58:10 +00:00
Henry Fang
13fd251180 [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours am: f9d897c0ce -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

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

Change-Id: Icb78348b3986ccd374f5a799f7c4534c4fc97f5b
2020-09-10 00:45:49 +00:00
Henry Fang
f9d897c0ce [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

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

Change-Id: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
2020-09-10 00:31:04 +00:00
Henry Fang
20e36cf74a Add cas@1.2 to compatibility matrix
Test: m check-vintf-all
Bug: 141783130
Bug: 110261831

Change-Id: Ie8fda69f5552e4e9d92262695884e0de0097fe76
Merged-In: I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7
2020-09-09 14:44:46 -07:00
Bowgo Tsai
366bd0e11e [automerger skipped] Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016 am: e42109b559 -s ours am: 2896be9a3b -s ours
am skip reason: Change-Id Ib761d80c88695eb2db08b0dc00e30fcdc2788865 with SHA-1 2c94e43016 is in history

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

Change-Id: Id5abe40568f261aab48c7161a7d28f7d9e2c5aeb
2020-09-03 02:34:52 +00:00
Bowgo Tsai
7baf3e3310 [automerger skipped] Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016 am: e42109b559 am: cb6cd0c1bc -s ours
am skip reason: Change-Id Ib761d80c88695eb2db08b0dc00e30fcdc2788865 with SHA-1 63c0129fa6 is in history

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

Change-Id: Iec45843f4f8c8683fd04810afe0e7e18e1d5f103
2020-09-03 02:34:18 +00:00
Bowgo Tsai
2896be9a3b [automerger skipped] Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016 am: e42109b559 -s ours
am skip reason: Change-Id Ib761d80c88695eb2db08b0dc00e30fcdc2788865 with SHA-1 63c0129fa6 is in history

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

Change-Id: I82823b3842e5f4c4b2f17a64b8cfd3330740d5e5
2020-09-03 01:45:07 +00:00
Bowgo Tsai
cb6cd0c1bc Allowing GSI patch level to be greater than vbmeta SPL am: 2c94e43016 am: e42109b559
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12501703

Change-Id: I390c90dedb8b60be331bb83e8d035e5a52f55610
2020-09-03 01:44:52 +00:00