Commit graph

24849 commits

Author SHA1 Message Date
Treehugger Robot
08c0142b21 Merge "wifi: Added capability check in RTT tests" 2020-09-17 06:13:34 +00:00
Les Lee
5679f91584 Merge "vts: Fix incorrect instance name in Teardown" am: 19cc21ea41
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427816

Change-Id: I5f2b582c23a3de99fe0ae00e8222b1e08449b9ec
2020-09-17 01:13:29 +00:00
Yifan Hong
d0fd20654c Merge changes I267b3ae9,Ic14d2257 am: a2f5b0bc51
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427726

Change-Id: Ibde5dde9c389f615719e6dff2d61aa37792c205f
2020-09-17 01:04:07 +00:00
lesl
0a43f6dc11 wifi: Call terminate in VTS teardown
When OEM register different hostapd instance without update the StopHostapd.
It will cause VTS clean fail because hostapd process name is the new
one.
Call terminate to request clean HAL state.

Bug: 161682236
Bug: 167636313
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: If56e5b5351abd31865150bdf97d27674dbbc4257
2020-09-17 00:57:17 +00:00
Les Lee
19cc21ea41 Merge "vts: Fix incorrect instance name in Teardown" 2020-09-17 00:56:50 +00:00
Yifan Hong
a2f5b0bc51 Merge changes I267b3ae9,Ic14d2257
* changes:
  Reorder/cleanup FCM exempt list #3 (fastboot)
  Reorder/cleanup FCM exempt list #2 (audio)
2020-09-17 00:22:01 +00:00
NukemZHYu
5508e51c5c camera vts: fix CameraHidlTest::isSecureOnly for HAL1 Device
change (getCameraDeviceVersion(mProviderType, name) to (getCameraDeviceVersion(name, mProviderType)
Avoid Camera HAL 1 Device fail on Status(EX_TRANSACTION_FAILED): 'BAD_TYPE:

Bug: 168676352
Test: run commandAndExit vts -m VtsHalCameraProviderV2_5Target

Change-Id: Icb164538bbc357e22412a7320bb721c220c24a4c
2020-09-16 21:00:33 +00:00
Treehugger Robot
59c180354a Merge "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated parameterized tests." am: c9e5075d36
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1428008

Change-Id: I60c76b20de5f80a79d8ad3ec671a97ce4bde27d0
2020-09-16 19:28:50 +00:00
Treehugger Robot
c9e5075d36 Merge "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated parameterized tests." 2020-09-16 19:07:33 +00:00
Sunil Ravi
bd5a47d5dd wifi: Added capability check in RTT tests
Added test for 2 sided RTT.
Added RTT measurement type capability check in range request tests.

Bug: 163327074
Test: vts test - VtsHalWifiRttV1_4TargetTest
Change-Id: I546806605b6b3ecd124068fc81b9fb275b745f45
(cherry picked from commit d85edb7f66)
2020-09-16 10:09:41 -07:00
Yifan Hong
7380d36ae3 Merge "Reorder/cleanup FCM exempt list #1" am: ef85febe6a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427724

Change-Id: I67239a91d68560abdbb3b2d2fe565a4854828913
2020-09-16 16:43:33 +00:00
Yifan Hong
b7d29eeae3 Reorder/cleanup FCM exempt list #4 (media bufferpool)
Test: m check-vintf-all
Bug: 110261831
Change-Id: Id9b3369070ca24cc344ea15099e9a0e159be2c29
2020-09-16 09:22:15 -07:00
Yifan Hong
cd3d7cce0f Reorder/cleanup FCM exempt list #3 (fastboot)
Test: m check-vintf-all
Bug: 110261831
Change-Id: I267b3ae9980d72e63187058a5bef8e4b44a2314c
2020-09-16 09:22:15 -07:00
Yifan Hong
1cfd94a8cf Reorder/cleanup FCM exempt list #2 (audio)
Test: m check-vintf-all
Bug: 110261831
Change-Id: Ic14d22572a28b1e483d3c907657f22393be37132
2020-09-16 09:22:14 -07:00
Yifan Hong
ef85febe6a Merge "Reorder/cleanup FCM exempt list #1" 2020-09-16 16:09:33 +00:00
Yifan Hong
1d782f0e45 Merge "Add libvintf_fcm_exclude" am: a35d1c374b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1424937

Change-Id: I2e06cf5e7495e50c74d3115b3a6082ba6a4eac63
2020-09-16 02:26:54 +00:00
lesl
bc86698c89 vts: Fix incorrect instance name in Teardown
The stopHostapd uses vendor HAL HIDL interface.
The interface name should use wifi_instance.

Bug: 161682236
Test: atest VtsHalWifiHostapdV1_2TargetTest
Change-Id: I8215cba3e2a36f48863f57e199684c7446e20692
Merged-In: I8215cba3e2a36f48863f57e199684c7446e20692
2020-09-16 09:38:21 +08:00
Yifan Hong
a35d1c374b Merge "Add libvintf_fcm_exclude" 2020-09-16 01:28:38 +00:00
Yifan Hong
113c60b1c3 Reorder/cleanup FCM exempt list #1
Test: m check-vintf-all
Bug: 110261831
Change-Id: I710d5e72279cafa6c680d13a10ffffb520418d69
2020-09-15 16:56:26 -07:00
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot
5b0fb0dc5f Merge "Merge RP1A.200720.011" into stage-aosp-master 2020-09-02 22:29:52 +00:00
Steven Moreland
b793e77b3d Merge "msgq test service: installable by atest" am: f74120b1fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1313073

Change-Id: Ia3f23b103e165c03a9fc97673ac2240796bbdf0d
2020-09-02 20:32:54 +00:00
Steven Moreland
f74120b1fb Merge "msgq test service: installable by atest" 2020-09-02 19:42:58 +00:00