Commit graph

22497 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
1136876068 Merge Android R
Bug: 168057903
Merged-In: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
Change-Id: I0586c24e16b7d052b0d209e2dffd6124492fcafa
2020-09-09 20:21:17 -07: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
Xin Li
3211c41054 Merge RP1A.200720.011
Bug: 167588565
Merged-In: If6721904a50f164626d30460a2b13c59ffd2814f
Change-Id: I254b5fef3368a656c3f67cdab85623deb5399c88
2020-09-02 11:55:34 -07:00
Xin Li
380a862b2d Mark RP1A.200720.001 as merged
Bug: 167588565
Merged-In: Ic3b7ee64244f03625af7cd2aea055f31febdb19d
Change-Id: Iabf234ab7f9efb872d572e9a49e386bf5af4df01
2020-09-02 11:44:55 -07:00
Treehugger Robot
c12559f79e Merge "Allowing GSI patch level to be greater than vbmeta SPL" am: b22330e065
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1256345

Change-Id: Ic3b7ee64244f03625af7cd2aea055f31febdb19d
2020-09-02 02:27:02 +00:00
Treehugger Robot
b22330e065 Merge "Allowing GSI patch level to be greater than vbmeta SPL" 2020-09-02 01:57:50 +00:00
Steven Moreland
d4ed520c27 msgq test service: installable by atest
Bug: 127714188
Test: atest -v fmq_test
Change-Id: Icf696763cbcdd458d36ee709ee9640999c9034ab
2020-08-31 22:50:46 +00:00
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Treehugger Robot
18aa69f6b2 Merge "Avoid unnecessary access of BoringSSL structs." am: 12d0f6d9a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1412697

Change-Id: I84154db8f6c9036248cc922b5ea92a724f8f975b
2020-08-26 20:56:07 +00:00
Shuo Qian
9ab2f003ac Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only. am: 721fecbaaf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1412188

Change-Id: I297d1ec9a9ef3e95d6824a9a03ae1e67c677f905
2020-08-26 20:56:01 +00:00
Treehugger Robot
12d0f6d9a1 Merge "Avoid unnecessary access of BoringSSL structs." 2020-08-26 20:48:04 +00:00
David Benjamin
45ff9aa8ff Avoid unnecessary access of BoringSSL structs.
Checking cert_info->key->algor->algorithm is redundant with the checks
following it. If the public key is an EC key, that was the OID. Remove
the check so this code does not break when BoringSSL makes the X509
structures opaque in the future.

While we're not particularly aiming to make ECDSA_SIG opaque, getters
exist, so go ahead and use them.

Test: mm, treehugger
Change-Id: I1b37fef2290b7697a6e821f20ba702b3da5ef18d
2020-08-26 15:38:47 -04:00
Shuo Qian
721fecbaaf Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only.
Test: vts
Bug: 156525817
Change-Id: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
Merged-In: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
(cherry picked from commit 3381ce1f9a2c3ad06b59288e5ba359aa7a89de4e)
2020-08-26 17:00:44 +00:00
Bowgo Tsai
63c0129fa6 Allowing GSI patch level to be greater than vbmeta SPL
The GSI patch level might be greater than the vbmeta SPL, because
GSI system.img might be updated via the DSU flow, where vbmeta.img won't
be updated in this scenario.

  https://developer.android.com/topic/dsu

Allowing GSI patch level to be greater than or equal to the vbmeta SPL,
since Treble allows new system.img works on old vendor images.

Bug: 145377203
Test: atest VtsHalKeymasterV4_0TargetTest
Change-Id: Ib761d80c88695eb2db08b0dc00e30fcdc2788865
2020-08-26 13:16:25 +08:00
Devin Moore
bcf7751dcd Merge "Clean up android.hardware.common types" am: c26ba2dd21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1402395

Change-Id: Ia34d9090ffa262eb2fd71e8b95ab7b66db188ab7
2020-08-25 23:30:54 +00:00
Devin Moore
c26ba2dd21 Merge "Clean up android.hardware.common types" 2020-08-25 22:53:38 +00:00
Treehugger Robot
bf31c055f5 Merge "Disable the test TooManyOperations in keymaster VTS" am: 8a42374ffa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1370458

Change-Id: Icab2fb38b336f693abcc74dae6ff616ad84cb2ea
2020-08-19 19:21:31 +00:00
Treehugger Robot
8a42374ffa Merge "Disable the test TooManyOperations in keymaster VTS" 2020-08-19 19:07:08 +00:00
Sushil Nath
ec1780378b Update language to comply with Android's inclusive language guidance am: 898088df75
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1402272

Change-Id: Ia736bec16457242e20f81a9c9e178c3bd11a8bd7
2020-08-18 18:35:07 +00:00
Sushil Nath
898088df75 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference


BUG=162536543

Change-Id: I360c610e89aea020bbeff89d496fa8033d551916
2020-08-18 01:07:26 +00:00
Devin Moore
f3eaf31e3b Clean up android.hardware.common types
Removed unnecessary 'flags' and 'fdIndex' fields from GrantorDescriptor.
Added additional comments for clarity.

Test: builds
Bug: 142326204
Change-Id: Id818ceb593ba2837d56dbfb3351d2127ec50b7ed
2020-08-17 17:43:32 -07:00