Dan Shi
67963dec8b
Convert VtsHalAudioV*_0TargetTest to parameterized gtest
...
For version 2, 4 and 5.
Bug: 150299743
Test: atest VtsHalAudioV2_0TargetTest \
VtsHalAudioV4_0TargetTest \
VtsHalAudioV5_0TargetTest
Change-Id: I09be1dc79b69caadd2a5468c4e6ed9c1efd76ffd
Merged-In: I09be1dc79b69caadd2a5468c4e6ed9c1efd76ffd
2020-04-07 22:06:19 +00:00
Dan Shi
d6fea1eaa1
Convert MediaOmx tests to parameterized gtest
...
Bug: 142950220
Test: atest VtsHalMediaOmxV1_0TargetMasterTest \
VtsHalMediaOmxV1_0TargetComponentTest \
VtsHalMediaOmxV1_0TargetAudioEncTest \
VtsHalMediaOmxV1_0TargetAudioDecTest \
VtsHalMediaOmxV1_0TargetVideoDecTest \
VtsHalMediaOmxV1_0TargetVideoEncTest
Change-Id: Id1b8f6073c98db36c0ac86a881e7220ecfd0a71f
Merged-In: Id1b8f6073c98db36c0ac86a881e7220ecfd0a71f
2020-04-07 21:31:03 +00:00
Dan Shi
f8c91f5855
Convert VtsHalBluetoothA2dpV1_0TargetTest to be parameterized test
...
Bug: 142397658
Test: atest VtsHalBluetoothA2dpV1_0TargetTest
Change-Id: Ib7ba41f4da12c60658e938fa14c53ba37c74bd1a
Merged-In: Ib7ba41f4da12c60658e938fa14c53ba37c74bd1a
2020-04-07 21:28:26 +00:00
TreeHugger Robot
03a34b7964
Merge "Add filegroup for trout project to use VehicleHalProto definition" into rvc-dev
2020-04-07 20:05:47 +00:00
Dan Shi
f956a7ea0a
Push prebuilt libvtswidevine to device for drm HAL tests
...
Bug: 143220441
Test: atest VtsHalDrmV1_0TargetTest \
VtsHalDrmV1_1TargetTest\
VtsHalDrmV1_2TargetTest
Change-Id: I4ad91c99956525120549321d227aaf6864877c76
Merged-In: I4ad91c99956525120549321d227aaf6864877c76
2020-04-07 12:55:00 -07:00
Hayden Gomes
052ccf2b6f
Adding basic lshal support for AudioControl
...
Dumps status of focus listener
Bug: 148098383
Test: adb shell lshal debug
android.hardware.automotive.audiocontrol@2.0::IAudioControl/default
--help
Change-Id: I90d9f2b41bdee704b77457262f23a39d22c38f0a
2020-04-07 12:26:25 -07:00
Dan Shi
ee9f3acae3
Push prebuilt libvtswidevine to device for drm HAL test
...
Bug: 143220441
Test: atest VtsHalDrmV1_3TargetTest
Change-Id: I08af2bf9524b0bbb362c28eceef5e6642545ecc7
(cherry picked from commit d7c88e3e55
)
2020-04-07 18:44:19 +00:00
Amy Zhang
b02198182b
Merge "Add TEST_MAPPING presubmit config for VtsHalTvInputV1_0TargetTest" into rvc-dev
2020-04-07 18:26:10 +00:00
Steven Moreland
f4fbd7db98
Merge "Add VtsHalNeuralnetworksV1_3TargetTest to vts." into rvc-dev
2020-04-07 18:11:38 +00:00
Calvin Huang
0c8803cb75
Merge "Override VHAL property init value with json" into rvc-dev
2020-04-07 18:06:45 +00:00
Nate Jiang
68948013ca
Merge "Make VTS test use the highest supported preamble" into rvc-dev
2020-04-07 15:14:01 +00:00
Rick Chen
cdc9be8c7d
Adds context_hub group to sensors HAL
...
Bug: 152005392
Bug: 152727489
Test: Compile pass. Verify sensor function.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: Ifd7b9239a732619307bbb2e99d37791915fe7dc1
2020-04-07 22:51:13 +08:00
Slava Shklyaev
6a222a3eec
Update loopTimeoutDuration documentation in NNAPI
...
Bug: 149686804
Test: m
Change-Id: I0096a2fc2e579d39a2d59a605a4217d53a381691
2020-04-07 13:24:15 +01:00
Dan Shi
fbf9d924a2
Add libvtswidevine dep to VtsHalDrmV1_3TargetTest
...
Bug: 150468341
Test: atest VtsHalDrmV1_3TargetTest
Change-Id: I3885efd35c97a5451881c2f6dd8fdf86bf12d089
2020-04-07 06:53:28 +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
Calvin Huang
d5608a2d5a
Override VHAL property init value with json
...
Bug: 150978133
Test: Manual
Change-Id: Iaa45adad3712ca3cc325d52433048b3208109402
2020-04-06 22:07:02 -07:00
Robert Shih
bedb2d9ce3
drm 1.3 vts: call signRSA with non-empty args
...
Bug: 153356263
Test: VtsHalDrmV1_3TargetTest
Change-Id: If6c6e9f478458c004063cebc195e7e77084fc11d
2020-04-06 16:53:55 -07:00
Hao Chen
efc31de2b6
Add filegroup for trout project to use VehicleHalProto definition
...
Other virtualization specific definitions and build rules will be moved
to /device/google/trout in the following patches. Keep them for now so
that we will not break the build.
Test: build
Bug: 148816426
Change-Id: I8a579346b55aa812db3dd30a34050c9515f7a68d
2020-04-06 16:27:15 -07:00
Steven Moreland
0304199379
Remove configstore from compatibility_matrix.5.xml
...
To reflect GMS core requirements, which have already been updated.
This HAL is replaced with system properties.
Bug: 124531214
Bug: 149806433
Test: checked by cuttlefish build
Change-Id: Ib710bf39b871365ebced845e3ccec6d333bee630
2020-04-06 14:12:18 -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
Amy Zhang
131c1250cd
Add TEST_MAPPING presubmit config for VtsHalTvInputV1_0TargetTest
...
Test: atest --test-mapping
Bug: 150382976
Change-Id: Icd05fd2aaf1386ed05f8d208988291a1b61e4f35
2020-04-03 13:37:57 -07: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
6ca8276e8b
Add VtsHalNeuralnetworksV1_3TargetTest to vts.
...
Bug: 139438327
Test: N/A
Change-Id: I48342f6e242735e3ee693a7f2bdbe3334a072f81
2020-04-02 14:43:49 -07: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
Shawn Willden
664ff765af
Fixed encoding of device_locked field
...
The attestation code used boringssl's ASN.1 encoding tools
incorrectly, causing it to encode incorrect values in device_locked.
Bug: b/152503089
Test: Build & boot
Change-Id: I3c5352523b2db37d539ad353ac8c48c1585eb08d
2020-04-01 13:54:33 -06: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