Commit Graph

20532 Commits

Author SHA1 Message Date
Anthony Stange
cd4d9abdcc Don't modify -1 sensorHandle value
A -1 sensorHandle value is used to denote all active sensors should be
stopped for a given channel. Make sure the multi-HAL code doesn't modify
handles of this value or it'll corrupt them before passing to the direct
channel sub-HAL.

Bug: 153413565
Test: atest VtsHalSensorsV2_0Target
Change-Id: I3fe9cbf4661aa3db4ff534765d5112a193b7bf4a
2020-04-09 11:07:56 -04:00
Nate Jiang
68948013ca Merge "Make VTS test use the highest supported preamble" into rvc-dev 2020-04-07 15:14:01 +00:00
Nate Jiang
eb9d19960e Make VTS test use the highest supported preamble
VTS should use the highest supported preamble.
If preamble is not support by device, LOWI will return unknow error.

Bug: 152440187
Test: atest VtsHalWifiApV1_4TargetTest
Change-Id: I972377a526c5d62a733878df5fd80d4af17e37ff
2020-04-06 23:32:34 -07:00
TreeHugger Robot
a2d2482aa1 Merge "Convert VtsHalBroadcastradioV1_0/1TargetTest to parameterized gtest" into rvc-dev 2020-04-06 20:09:34 +00:00
TreeHugger Robot
cebc574331 Merge "Convert VtsHalAudioControlV1_0TargetTest to parameterized gtest" into rvc-dev 2020-04-06 19:01:20 +00:00
TreeHugger Robot
60851ab6c6 Merge "Convert VtsHalUsbV1_2TargetTest to parameterized gtest" into rvc-dev 2020-04-06 18:50:53 +00:00
Dan Shi
170a44526c Convert VtsHalBroadcastradioV1_0/1TargetTest to parameterized gtest
Bug: 142397658
Test: atest VtsHalBroadcastradioV1_0TargetTest \
  VtsHalBroadcastradioV1_1TargetTest
Change-Id: I41329305c4c7da117cd6e76cd3950fa38d9db5c2
2020-04-06 10:54:28 -07:00
Dan Shi
5cd54b5b0d Convert VtsHalAudioControlV1_0TargetTest to parameterized gtest
Bug: 150383827
Bug: 150381814
Test: atest VtsHalAudioControlV1_0TargetTest
Change-Id: I900f6a540c44d13f5f8a8882b573fa5669c1732f
2020-04-06 15:58:59 +00:00
Steven Moreland
ad5bf6f522 Merge "Add VtsCan* to vts." into rvc-dev 2020-04-03 22:31:05 +00:00
Steven Moreland
3ed1b829f5 Merge "Add VtsHalBootV1_1TargetTest to VTS." into rvc-dev 2020-04-03 22:31:04 +00:00
Hayden Gomes
b3bdf80113 Merge "Fixing AudioFocusChange to be signed int" into rvc-dev 2020-04-03 21:59:30 +00:00
Xiangyu/Malcolm Chen
03725802fe Merge "Skip enableModem vts if in single SIM mode." into rvc-dev 2020-04-03 20:59:24 +00:00
Dan Shi
f15bd2d959 Convert VtsHalUsbV1_2TargetTest to parameterized gtest
Bug: 150383827
Test: atest VtsHalUsbV1_2TargetTest
Change-Id: I5728bbe76b4dda32eab67535f4726131dee152c3
2020-04-03 13:04:36 -07:00
Steven Moreland
6b2eaec3a6 Merge "graphics.composer@2.2 rc remove interface decls" into rvc-dev 2020-04-03 19:29:45 +00:00
Malcolm Chen
b4de0a94a2 Skip enableModem vts if in single SIM mode.
Due to modem issue, enableModem only works in dual-SIM mode.
And we only use that in dual-SIM mode. So skipping testing in
in single SIM mode.

Bug: 152557383
Test: vts
Change-Id: I41f200317eaf9be0613f92e5bff9a3ee8a98ef15
2020-04-03 18:30:30 +00:00
Steven Moreland
36f210147d graphics.composer@2.2 rc remove interface decls
Since vendors here add additional services to this service,
vts_ibase_test fails on some devices. This test, for sanity,
requires that if a service has any interface declaration, it has
all relevant interface declarations. These interface entries are
declared but unused here.

Fixes: 152375928
Test: vts_ibase_test on sargo
Change-Id: I2d3225b42824f0befb55d8c93a578e910a05e4a1
2020-04-03 15:58:29 +00:00
Changyeon Jo
ce6f4b0676 Merge changes from topic "evs_memory_management" into rvc-dev
* changes:
  Add CameraStreamExternalBuffering test case
  User allocated EVS camera capture buffers
2020-04-03 00:20:48 +00:00
Steven Moreland
852fc3ba4e Add VtsCan* to vts.
Bug: 139438327
Test: N/A
Change-Id: I73447a6a0b891adc9fbb0d931ae517e99f141c64
2020-04-02 14:38:19 -07:00
Steven Moreland
003b231944 Add VtsHalBootV1_1TargetTest to VTS.
Bug: 139438327
Test: N/A
Change-Id: I72a6b3f60c861d4cda5f3a5fb56e15d4bbe7bc41
2020-04-02 14:34:36 -07:00
Hayden Gomes
23f48e01b5 Fixing AudioFocusChange to be signed int
AudioFocusChange is expected to have negative values, but was originally
defined to be an unsigned int.

Bug: 153090512
Test: make -j
Change-Id: I27cd8134f9fe19fbefc788e5c2498947dc52967e
2020-04-02 14:13:40 -07:00
Changyeon Jo
8b06871849 Add CameraStreamExternalBuffering test case
This change adds a VTS test case to validate a new
IEvsCamera::importExtenralBuffers() API.  New test case allocates
graphic buffers and passes them via a new API call.

Bug: 152493110
Test: vts-tradefed VtsHalEvsV1_1_TargetTest
Change-Id: I157f3cf45092a9a4ca8bf5bf9ea54aa62d15225c
2020-04-01 10:54:45 -07:00
TreeHugger Robot
ec78149a5c Merge "Remove dependency on VtsHalHidlTargetTestEnvBase" into rvc-dev 2020-04-01 07:05:39 +00:00
TreeHugger Robot
a826b0139d Merge "Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things." into rvc-dev 2020-04-01 04:19:37 +00:00
Shuo Qian
872ffc262f Starting from Android 11, VTS will use "DISABLE_" prefix to disable tests instead of the .xml file. We need to migrate these things.
Test: Treehugger; GoogleTest knowledge; VTS team confirmation
Bug: 152813990
Change-Id: I92616557ae44c2a421ee687d0420f7b7901ba5a9
2020-04-01 02:32:11 +00:00
Changyeon Jo
3e69744f0f User allocated EVS camera capture buffers
This change introduces a new API to import frame capture buffers
allocated by the clients.

Bug: 152493110
Test: m -j and run /system/bin/evs_app --test --extmem
Change-Id: I679c61719e4d0e3a7d0c41110afe66e0a4ccb305
2020-03-31 17:45:22 -07:00
Amy Zhang
704ada8dc2 Merge "Convert VtsHalTvInputV1_0TargetTest to parameterized gtest" into rvc-dev 2020-04-01 00:12:30 +00:00
Valerie Hau
28fcdf27e4 Merge "Relax constraints on getting PlaneLayouts" into rvc-dev 2020-03-31 22:59:27 +00:00
Nicholas Ambur
8438a18c57 Merge changes from topic "soundtrigger-vts-tech-debt" into rvc-dev
* changes:
  remove stopAllRecognitions VTS test
  remove duplicate soundtrigger VTS tests
2020-03-31 22:05:11 +00:00
Valerie Hau
2229623f1f Relax constraints on getting PlaneLayouts
PlaneLayouts may only be known at allocation time.

Bug: 152806713
Test: build, boot
Change-Id: Ic878943b405469a70a685a895c04a1d4e2678686
2020-03-31 13:47:54 -07:00
Dan Shi
86b285465f Remove dependency on VtsHalHidlTargetTestEnvBase
Bug: 143892896
Test: atest VtsHalWifiApV1_0TargetTest \
  VtsHalWifiNanV1_0TargetTest \
  VtsHalWifiV1_0TargetTest \
  VtsHalWifiV1_1TargetTest \
  VtsHalWifiV1_2TargetTest \
  VtsHalWifiNanV1_2TargetTest \
  VtsHalWifiV1_3TargetTest \
  VtsHalWifiApV1_4TargetTest \
  VtsHalWifiHostapdV1_0TargetTest \
  VtsHalWifiHostapdV1_1TargetTest \
  VtsHalWifiHostapdV1_2TargetTest \
  VtsHalWifiSupplicantV1_0TargetTest \
  VtsHalWifiSupplicantP2pV1_0TargetTest \
  VtsHalWifiSupplicantV1_1TargetTest \
  VtsHalWifiSupplicantV1_2TargetTest \
  VtsHalWifiSupplicantP2pV1_2TargetTest

Change-Id: I8a18f18f3aaa497642f380fea43517ec14554993
2020-03-31 11:34:32 -07:00
Nicholas Ambur
34de57d194 remove stopAllRecognitions VTS test
The stopAllRecognitions API is not used at the layers above the HAL, and
it requires the HAL to own the state of all active recognitions. This
API causes discontinuity with the upper layers also maintaining state
information.

The VTS requirement is being removed.

Bug: 151281377
Test: atest VtsHalSoundtriggerV2_0TargetTest
&& atest VtsHalSoundtriggerV2_1TargetTest

Change-Id: If14ed8177e0ff2730d2ed78ba8fbbbd058c4d57a
2020-03-31 09:41:14 -07:00
Nicholas Ambur
8ea56db2af remove duplicate soundtrigger VTS tests
SoundTrigger VTS tests were duplicated in minor version updates.
This is not required and thus removed.

Bug: 151281377
Test: atest VtsHalSoundtriggerV2_0TargetTest
&& atest VtsHalSoundtriggerV2_1TargetTest

Change-Id: I60cfbe664cf7c38b2894d3e5f0df824737854c82
2020-03-31 09:37:08 -07:00
Siarhei Vishniakou
0a51242abc Convert InputClassifierTest to parametrized test
The test is currently based on old vts harness and not in vts suite.

Bug: 150383004
Test: atest VtsHalInputClassifierV1_0TargetTest
Change-Id: I5df4eff845fd49b8663d1589c5314d5acf4b5057
Merged-In: I5df4eff845fd49b8663d1589c5314d5acf4b5057
(cherry picked from commit 25a866eecc)
2020-03-31 06:18:34 +00:00
Amy Zhang
2a95706150 Convert VtsHalTvInputV1_0TargetTest to parameterized gtest
Test: atest VtsHalTvInputV1_0TargetTest
Bug: 150382976
Change-Id: I6a7bd522ac10f4462d187d3d6261e523c1b73bd0
2020-03-30 21:35:49 -07:00
TreeHugger Robot
fa8e5f931a Merge "gralloc4-vts: fix Lock_YCBCR_420_888 test" into rvc-dev 2020-03-31 03:57:42 +00:00
TreeHugger Robot
09b85ff4de Merge "Update the current API dump" into rvc-dev 2020-03-31 01:32:33 +00:00
TreeHugger Robot
5091835258 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:03:36 +00:00
TreeHugger Robot
40f678fe23 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:36 +00:00
TreeHugger Robot
2e152113d3 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:26 +00:00
TreeHugger Robot
55632d323b Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:16 +00:00
TreeHugger Robot
eb4c2de355 Merge "Update the current API dump" into rvc-dev 2020-03-31 01:00:06 +00:00
TreeHugger Robot
87a7e48db3 Merge "Update the current API dump" into rvc-dev 2020-03-31 00:59:56 +00:00
TreeHugger Robot
27c43358c0 Merge "Update the current API dump" into rvc-dev 2020-03-31 00:59:46 +00:00
TreeHugger Robot
f1c873e7d9 Merge "Update the current API dump" into rvc-dev 2020-03-31 00:56:19 +00:00
TreeHugger Robot
5a8697164d Merge "Implemented SWITCH_USER in the emulated User HAL." into rvc-dev 2020-03-30 23:35:33 +00:00
Chris Weir
7ae041932d Merge "Remove completed TODO" into rvc-dev 2020-03-30 22:45:02 +00:00
Ahmed ElArabawy
2ce146de16 Merge "Wifi: Fix vts tests error handling" into rvc-dev 2020-03-30 22:31:13 +00:00
Hayden Gomes
2b6950c40b Merge "Adding IAudioControl@2.0 to compatibility matrix" into rvc-dev 2020-03-30 20:17:55 +00:00
chrisweir
c8716aebfc Remove completed TODO
TODO for serial number support should be removed now that the feature is
implemented and merged.

Bug: 142654031
Test: Manual - comment only change
Change-Id: Ib733e71840e82e5cd9c47825a53f804f9c296a3d
2020-03-30 13:12:30 -07:00
Chris Weir
ee08459e45 Merge "Clean up errno logs and sto* conversions" into rvc-dev 2020-03-30 20:00:09 +00:00