Commit Graph

23439 Commits

Author SHA1 Message Date
Dan Shi
f2b950f470 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-26 04:11:28 +00:00
Steven Moreland
a9f240232d Merge "tests.baz@1.0: changes for symmetric tests" 2020-09-25 20:16:29 +00:00
Treehugger Robot
80c84717d8 Merge "Clarify Health 2.1 design capacity type ranges" 2020-09-25 17:32:03 +00:00
Treehugger Robot
2be786937c Merge "Allow batteryFullChargeDesignCapacityUah to be 0" 2020-09-25 17:24:54 +00:00
Treehugger Robot
77c3b52888 Merge "vts: Use global hostapd_ since teardown will call terminate function" 2020-09-25 05:01:41 +00:00
Steven Moreland
ffb6a481c7 tests.baz@1.0: changes for symmetric tests
Changes to make hidl_test_java symmetric (this implementation mirrors
one in system/tools/hidl).

Bug: 168152294
Test: atest hidl_test_java
Change-Id: I29a468d1804ba494bfe5ca59d68b3ab2581eb9b4
2020-09-25 00:41:32 +00:00
Stephane Lee
086a33b39d Clarify Health 2.1 design capacity type ranges
Bug: 166841711
Test: Compile
Change-Id: Iee623638dfb606df55a6e13bd58e58ae2e8dd305
2020-09-24 12:20:18 -07:00
Stephane Lee
6bed2f3207 Allow batteryFullChargeDesignCapacityUah to be 0
Bug: 166841711
Test: Run VtsHalHealthV2_1TargetTest with a battery design capacity of 0
Change-Id: I48bea0e2a8e4f8eeba8874e44a9bf6aa00bfd637
2020-09-24 12:19:52 -07:00
Yifan Hong
4e2d45ba53 Merge "Allow batteryChargeTimeToFullNowSeconds to be -1" 2020-09-24 17:30:37 +00:00
lesl
b688ea7e73 vts: Use global hostapd_ since teardown will call terminate function
aosp/1427815 add invoke terminate function in teardown function.
It will cause Create Test case fail since Create killed global hostapd_
service to re-generate the local one.
Use global hostapd_ to replace local variable to make teardown function
work normally.

Bug: 169248773
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I6300a626db76e68873bbc34c489a9a8ee2d55e7a
2020-09-24 08:17:34 +00:00
Stephane Lee
c2dc510a0a Allow batteryChargeTimeToFullNowSeconds to be -1
Test: Run the test under an implementation that doesn't support
  batteryChargeTimeToFullNowSeconds
Bug: 166841711
Change-Id: I18fb11bb0a2233a9a89183a5f9ecf597e7719172
2020-09-23 14:27:53 -07:00
Devin Moore
51dc008bd3 Merge changes from topic "revert-1433252-revert-1431616-thirtytwo-QKCUUIXLZL-QJYJJALHBY"
* changes:
  Reland "Add template parameters to MQDescriptor"
  Reland "Change HIDL fmq tests to use int32_t for payload"
2020-09-22 20:06:31 +00:00
Devin Moore
dd61a8901d Reland "Add template parameters to MQDescriptor"
b26628ac32

Bug: 142326204

Change-Id: I78d08f84231ca19905f51b0520ede1b71df34365
2020-09-22 17:33:14 +00:00
Devin Moore
7a26802481 Reland "Change HIDL fmq tests to use int32_t for payload"
9719e2d984

Bug: 142326204

Change-Id: I0914f7612bcd227f9a4cabbe2818de7d9999a3d3
2020-09-22 17:32:22 +00:00
Treehugger Robot
2b3810aa3a Merge "remove 4.14 kernels for Android S" 2020-09-21 22:33:56 +00:00
Steve Muckle
5eb1a2c121 remove 4.14 kernels for Android S
Android S will not support 4.14 on launch devices.

Bug: 168921549
Change-Id: Ia3c3d1481919a9534c84ad41f307742d0d29587e
2020-09-21 13:38:14 -07:00
Yifan Hong
4b7cc14a88 Merge "Add TV CEC to Q+ compatibility matrices." 2020-09-21 20:28:30 +00:00
Diego Wilson
4737502679 Merge changes from topic "revert-1431616-thirtytwo-QKCUUIXLZL"
* changes:
  Revert "Change HIDL fmq tests to use int32_t for payload"
  Revert "Add template parameters to MQDescriptor"
2020-09-21 19:44:34 +00:00
Diego Wilson
9719e2d984 Revert "Change HIDL fmq tests to use int32_t for payload"
Revert "Change payload type to int32_t for fmq device tests"

Revert submission 1431616-thirtytwo

Reason for revert: This topic broke the aosp_x86-userdebug target. Details at http://b/169077648

Reverted Changes:
If736389eb:Add template parameters to MQDescriptor
Ice9c28c3d:Change HIDL fmq tests to use int32_t for payload
Ia18d8459b:Add template arguments to MQDescriptor for AIDL
I95586cc83:Change payload type to int32_t for fmq device test...

Change-Id: Iaf37a5dca7a915f098e49ecb076c0932eb60e0c3
2020-09-21 19:36:49 +00:00
Diego Wilson
b26628ac32 Revert "Add template parameters to MQDescriptor"
Revert "Change payload type to int32_t for fmq device tests"

Revert submission 1431616-thirtytwo

Reason for revert: This topic broke the aosp_x86-userdebug target. Details at http://b/169077648

Reverted Changes:
If736389eb:Add template parameters to MQDescriptor
Ice9c28c3d:Change HIDL fmq tests to use int32_t for payload
Ia18d8459b:Add template arguments to MQDescriptor for AIDL
I95586cc83:Change payload type to int32_t for fmq device test...

Change-Id: Ib7c409b164c76517d642a415cdfc2406e4f2f351
2020-09-21 19:36:49 +00:00
Devin Moore
ab05f6310d Merge changes from topic "thirtytwo"
* changes:
  Add template parameters to MQDescriptor
  Change HIDL fmq tests to use int32_t for payload
2020-09-21 16:18:51 +00:00
Bill Yi
7a7e6e5ace Merge "Merge mainline-release 6664920 to master - DO NOT MERGE" 2020-09-18 18:47:48 +00:00
Devin Moore
340f895d30 Add template parameters to MQDescriptor
First parameter is used to determine the type of the payload, and the
second parameter is used to determine the type of queue.
Added two types to be use in that second parameter.
SynchronizedReadWrite and UnsynchronizedWrite.

Test: atest fmq_unit_tests fmq_test
Bug: 142326204

Change-Id: If736389ebecd02b87879850714606523e5145579
2020-09-18 10:55:15 -07:00
Devin Moore
0a10d6918c Change HIDL fmq tests to use int32_t for payload
This is in preperation for more AIDL fmq testing. The types need to be
the same and AIDL does not support unit16_t.

Test: atest fmq_test fmq_unit_tests
Bug: 142326204
Change-Id: Ice9c28c3d0df064ea43c31950b3438d2e0d19063
2020-09-18 09:29:01 -07:00
Treehugger Robot
d56db87577 Merge "camera vts: fix CameraHidlTest::isSecureOnly for HAL1 Device" 2020-09-18 15:19:25 +00:00
Bill Yi
da6ac34b4c Merge mainline-release 6664920 to master - DO NOT MERGE
Merged-In: I115103a3400648975f1ec13f1616cc05ef205679
Change-Id: I853d3172cf4703b56bfce403d5018c403b38abef
2020-09-17 21:57:06 -07:00
Yifan Hong
ccf77dc5b7 Add TV CEC to Q+ compatibility matrices.
No requirement has changed because TV HALs are optional.

Also remove TV CEC and tuner from fcm_exclude list.
Bug: 110261831
Test: m check-vintf-all

Change-Id: Ia41575f97d9e81fcc4279d8b274e626a33fc9c60
2020-09-17 12:21:37 -07:00
Yifan Hong
e2ed8135cd Merge "Reorder/cleanup FCM exempt list #4 (media bufferpool)" 2020-09-17 19:10:24 +00:00
Treehugger Robot
226727ca88 Merge "wifi: Call terminate in VTS teardown" 2020-09-17 08:28:14 +00:00
Treehugger Robot
08c0142b21 Merge "wifi: Added capability check in RTT tests" 2020-09-17 06:13:34 +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
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
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
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