Commit graph

20165 commits

Author SHA1 Message Date
Shawn Willden
d6afe21ccd Change finish input test to avoid large sizes.
We'll add a large-size test to the Keymaster 4.1 VTS tests.

Test: VtsHalKeymasterV4_0TargetTest
Change-Id: I2460106cf918e44ea5eeac5c518a89c311756eb3
Merged-In: I2460106cf918e44ea5eeac5c518a89c311756eb3
2020-02-11 15:51:03 -07:00
Shawn Willden
ef28554d35 Update Keymaster 4.0 VTS to use parameterized tests.
Bug: 139437880
Test: VtsHalKeyamsterV4_0TargetTest
Change-Id: I487000cc19fe355fdef88f1561a38b2cbfd3c3c3
Merged-In: I487000cc19fe355fdef88f1561a38b2cbfd3c3c3
2020-02-11 15:51:03 -07:00
Wei Wang
0cbdab785a power: add more modes into into power hal
Doze and display state modes can be useful for device level
power/perf optimization for inactive device state.
Right now setInteractive is coupled with display setting
config_powerDecoupleInteractiveModeFromDisplay so this CL introduces
2 more mores to expose device idle and display state to device
explicitly.

Bug: 140148621
Test: Build
Change-Id: Id1d15750ec0a3c6f7be400bda9ec771cd5a90341
2020-02-11 14:32:52 -08:00
Sasha Kuznetsov
5a832bc323 Merge "Revert^2 "Add GnssAntennaInfo to HAL"" 2020-02-11 22:29:32 +00:00
Miao Wang
aaa3c24f10 Update VTS tests for executeFenced
- Remove the DEVICE_UNAVAILABLE check
 - Pass deadline down to the driver.

Bug: 148979873
Test: mm
Test: VtsHalNeuralnetworksV1_3TargetTest
Change-Id: If90a0dce8c8907a2f8f806455074fa27e3f397ef
Merged-In: If90a0dce8c8907a2f8f806455074fa27e3f397ef
(cherry picked from commit 15a25f6ec1)
2020-02-11 12:37:36 -08:00
Miao Wang
cc18d3fede Add a VTS test to validate NNAPI driver name string.
Bug: 134755158
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Iead93f0a251fdbbf94df6dfdf27919d3f6fd71a8
Merged-In: Iead93f0a251fdbbf94df6dfdf27919d3f6fd71a8
(cherry picked from commit 2729d825cb)
2020-02-11 12:37:20 -08:00
Automerger Merge Worker
c231f0be30 Merge "Revert "Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suite"" am: 20a5d89241 am: 3251b30fb2 am: 38d5f26305
Change-Id: I0db62643a33ad66d76da15455afc7a4e35efd895
2020-02-11 19:27:18 +00:00
Automerger Merge Worker
38d5f26305 Merge "Revert "Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suite"" am: 20a5d89241 am: 3251b30fb2
Change-Id: Iee13c0a820485833c9c9366d3a120323f339dc4f
2020-02-11 19:16:35 +00:00
Automerger Merge Worker
3251b30fb2 Merge "Revert "Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suite"" am: 20a5d89241
Change-Id: Icf2aef7d900275e8294a5ccd01beba245287ac7f
2020-02-11 19:00:43 +00:00
Treehugger Robot
20a5d89241 Merge "Revert "Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suite"" 2020-02-11 18:48:38 +00:00
TreeHugger Robot
9246557927 Merge "gralloc4: fix SetConstantMetadata and SetBadMetadata" 2020-02-11 17:23:53 +00:00
TreeHugger Robot
d48a7be8a3 Merge "gralloc4: move crop to seperate metadata type" 2020-02-11 17:20:06 +00:00
Lev Proleev
188a8f90f0 NNAPI: Add state outputs for {UNI|BI}DIRECTIONAL_SEQUENCE_{RNN|LSTM}
Fix: 138443991
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I0a3af22826d438f6f38de1f64042a50f98265e2d
2020-02-11 11:05:48 +00:00
Sasha Kuznetsov
768de57e4c Revert^2 "Add GnssAntennaInfo to HAL"
ce414351c5

Change-Id: I791dcf8c26f3ed51c07987e79752ff3ce165fcbf
2020-02-11 06:00:10 +00:00
Yu-Han Yang
0615053089 Merge "Revert "Add GnssAntennaInfo to HAL"" 2020-02-11 04:16:46 +00:00
Yu-Han Yang
ce414351c5 Revert "Add GnssAntennaInfo to HAL"
Revert "Add GnssAntennaInfo framework APIs"

Revert "Add GnssAntennaInfo tests"

Revert submission 10111057-pco_pcv

Reason for revert: Build breakage
Reverted Changes:
I70e4014dd:Add GnssAntennaInfo framework APIs
I072958ecb:Add GnssAntennaInfo tests
Ia63a1f502:Add GnssAntennaInfo to HAL

Change-Id: I567fb52ca6c881f2e4c3c95c589bb4288f82becf
2020-02-11 04:02:18 +00:00
Amy
00e6671d5a Add an xsd and a sample xml to take vendor Tuner Resource Manager use case
priority hint

Test: xmllint --noout --schema tunerResourceManagerUseCaseConfig.xsd tunerResourceManagerUseCaseConfigSample.xml
Bug:
Change-Id: If32019a96a4b0e84f91d628e0e95158d7330037e
2020-02-11 03:21:52 +00:00
Jimmy Chen
cd92c8328e wifi: skip p2p vts tests if p2p is not supported
Bug: 149053982
Test: * remove wifi direct featuer in device.mk
      * flash build
      * atest VtsHalWifiSupplicantP2pV1_2Target

Change-Id: I9d8a41e4d1f2cde9d311481d285be448583b8d9e
2020-02-11 10:57:59 +08:00
Sasha Kuznetsov
08dec500f7 Merge "Add GnssAntennaInfo to HAL" 2020-02-11 02:54:40 +00:00
Enrico Granata
52d6e032af Move the virtualized vehicle hal code into the trout tree
AAOS virtualization work is happening under the trout tree, and
we should be building reference HAL implementations for the
virtualized deployment under that tree

Bug: 148816426
Test: build
Change-Id: I90fd2bc4191f8076475e034c7feb07b2664e63c8
2020-02-10 17:42:53 -08:00
Automerger Merge Worker
d227f17c74 Merge "Add definitions of GMOCK_RESULT_ and GMOCK_ARG_" am: 71650dd6ba am: ce49c1fe76 am: 9b7e4b1ebe
Change-Id: I995439ed2dce974e6f0d93ae416a2ba42ee12b3f
2020-02-11 01:31:19 +00:00
Automerger Merge Worker
9b7e4b1ebe Merge "Add definitions of GMOCK_RESULT_ and GMOCK_ARG_" am: 71650dd6ba am: ce49c1fe76
Change-Id: I2d999ea397101315068ac1c63dff9a7ec6445453
2020-02-11 01:21:54 +00:00
Automerger Merge Worker
ce49c1fe76 Merge "Add definitions of GMOCK_RESULT_ and GMOCK_ARG_" am: 71650dd6ba
Change-Id: Idfe0937e899a366d04871145fde88429feb458cf
2020-02-11 01:08:31 +00:00
Dan Shi
6e48bde237 Revert "Remove VtsHalNeuralnetworksV1_2TargetTest from vts-core suite"
This reverts commit 07f4235b53.

Reason for revert: b/144527956

Change-Id: I70c3e99689901556e279200751a90e77fb4fd840
2020-02-11 01:04:07 +00:00
Haibo Huang
71650dd6ba Merge "Add definitions of GMOCK_RESULT_ and GMOCK_ARG_" 2020-02-11 00:56:13 +00:00
Automerger Merge Worker
294e681ded Merge "Update copyHAL.sh after changes in libaudiohal" am: f2212ca85c am: 2bd5e654fb am: 981837366e
Change-Id: Idde37ba245a46a265a3697b14c3f0a90cc956d43
2020-02-10 23:09:41 +00:00
Automerger Merge Worker
981837366e Merge "Update copyHAL.sh after changes in libaudiohal" am: f2212ca85c am: 2bd5e654fb
Change-Id: Ied67aafb6e84507a11a738b7c1c099be72893e67
2020-02-10 22:55:08 +00:00
Automerger Merge Worker
2bd5e654fb Merge "Update copyHAL.sh after changes in libaudiohal" am: f2212ca85c
Change-Id: I88c12a5ddacd2092d81fba81cdb1a974382b7bde
2020-02-10 22:39:23 +00:00
Treehugger Robot
f2212ca85c Merge "Update copyHAL.sh after changes in libaudiohal" 2020-02-10 22:32:44 +00:00
Haibo Huang
2d2ca3ca41 Add definitions of GMOCK_RESULT_ and GMOCK_ARG_
These two definitions are removed in new googletest. Copy them here.

(Ideally we should not depend on googletest internal.

Change-Id: I399549dc33dce7a464e81978e0697fc649ff01b0
2020-02-10 22:09:18 +00:00
Miao Wang
78743e19b2 Merge "Update VTS tests for executeFenced" 2020-02-10 21:51:45 +00:00
TreeHugger Robot
722fab775f Merge "composer: add TestCommandReader to 2.4" 2020-02-10 21:36:04 +00:00
Automerger Merge Worker
127f33b71f [automerger skipped] Merge "IDumpstateDevice@1.1 polish" am: d05efa2c1f am: 74f96cef00 am: 09dfc33ae7 -s ours
am skip reason: Change-Id I505c2a790dc28ddce9b6f5b674394ef65b31c80c with SHA-1 6e278a3798 is in history

Change-Id: Ieed0f265919aaf6734108faadc5302ac6d433143
2020-02-10 21:17:53 +00:00
Automerger Merge Worker
09dfc33ae7 Merge "IDumpstateDevice@1.1 polish" am: d05efa2c1f am: 74f96cef00
Change-Id: I9ea93003480f2b119f378452fa72c243405cb67d
2020-02-10 21:05:18 +00:00
Automerger Merge Worker
74f96cef00 Merge "IDumpstateDevice@1.1 polish" am: d05efa2c1f
Change-Id: Ib2fb4c0749f96fcfea01ab957f5da1bded3dd852
2020-02-10 20:53:37 +00:00
Mikhail Naganov
d432d51627 Update copyHAL.sh after changes in libaudiohal
Bug: 148118201
Test: copyHAL.sh 5.0 6.0
Change-Id: I7cb2f7c5216c4095fa36c2c96ebbe2a2255b0691
2020-02-10 12:46:23 -08:00
Treehugger Robot
d05efa2c1f Merge "IDumpstateDevice@1.1 polish" 2020-02-10 20:38:39 +00:00
Marissa Wall
8d05644989 gralloc4: fix SetConstantMetadata and SetBadMetadata
SetConstantMetadata was trying to set constant metadata
with bad values. SetBadMetadata was also trying to set
constant metadata with bad values. Update SetConstantMetadata
to set constant metadata with good values. Remove constant
metadata from the SetBadMetadata test.

Bug: 149004202
Test: VtsHalGraphicsMapperV4_0

Change-Id: I6816fca64c7ac89e457628e94bc06bc1b05c916f
2020-02-10 12:37:35 -08:00
Sasha Kuznetsov
44d2b0a75b Add GnssAntennaInfo to HAL
Test: End to end test: run "atest GnssAntennaInfoRegistrationTest" on cuttlefish and watch "adb logcat | grep -i GnssAntennaInfo". Other tests:  atest GnssAntennaInfoTest, atest GnssAntennaInfoProviderTest, atest GnssManagerServiceTest, atest VtsHalGnssV2_1TargetTest, atest LocationManagerFineTest.
Bug: 124556515
Change-Id: Ia63a1f5022efdda52ed583a56a50f32807e83130
2020-02-10 12:29:20 -08:00
Marissa Wall
b0923641d6 gralloc4: move crop to seperate metadata type
Move crop out of PlaneLayout so it can be set and get independently
from PlaneLayout.

Bug: 141632767
Test: atest VtsHalGraphicsMapperV4_0

Change-Id: Ib685c0a065754e3e3bd697d3518b03b4c76d447e
2020-02-10 11:45:21 -08:00
Ady Abraham
f6820b2b44 composer: add TestCommandReader to 2.4
Add a TestCommandReader to composer 2.4 VTS to parse correctly the
new commands introduced in 2.4.

Test: adb shell /data/nativetest64/VtsHalGraphicsComposerV2_4TargetTest/VtsHalGraphicsComposerV2_4TargetTest
Bug: 149124892
Change-Id: Ide4f98fa3bfc771e4095cc672f59b87e1aa03427
2020-02-10 11:24:04 -08:00
Automerger Merge Worker
f45be12513 Merge "Fix health.storage test" am: 5adcaebd8c am: 2b59db2ca7 am: d4cd7c3769
Change-Id: I35d8c615ed3ccb600dd5a6e7d4ffca31f1193ae2
2020-02-09 04:26:16 +00:00
Automerger Merge Worker
d4cd7c3769 Merge "Fix health.storage test" am: 5adcaebd8c am: 2b59db2ca7
Change-Id: I9e318844e2c78e80d9fe7e0a53b1ca6f751758de
2020-02-09 04:10:41 +00:00
Automerger Merge Worker
2b59db2ca7 Merge "Fix health.storage test" am: 5adcaebd8c
Change-Id: I98bb28cff68ea4a25e81e236cd577fa79d5dc7e5
2020-02-09 03:54:52 +00:00
Treehugger Robot
5adcaebd8c Merge "Fix health.storage test" 2020-02-09 03:47:37 +00:00
TreeHugger Robot
ee4f121bcb Merge "Add a metadata field to BufferDesc" 2020-02-08 19:22:28 +00:00
Automerger Merge Worker
b7e8a1a39e [automerger skipped] Merge "Add a few type for Analog frontend" am: 69459316b8 am: 2d42961f91 am: f211478dfe -s ours
am skip reason: Change-Id Ib0dbd610620682854f8c2b421285da39233cec01 with SHA-1 d13c298ff5 is in history

Change-Id: Ic811ba669e745815d43568435200b00334e48b43
2020-02-08 03:00:12 +00:00
Automerger Merge Worker
f211478dfe Merge "Add a few type for Analog frontend" am: 69459316b8 am: 2d42961f91
Change-Id: I29b7207d83fd2fe6f6ca1d5e12e6f9e12d70c9eb
2020-02-08 02:44:19 +00:00
Automerger Merge Worker
b7059058aa [automerger skipped] Merge "Add @export to frontend scan enums" am: 76c90b21cc am: cc5bbb2b38 am: 4856554a5c -s ours
am skip reason: Change-Id I9489ae28722e73de0aba7e83b115935546e8e357 with SHA-1 efb7ffa6ca is in history

Change-Id: I123cf1b66436ce4f98c3e9997da8160d70b9ed6a
2020-02-08 02:28:55 +00:00
Automerger Merge Worker
ec7ac79b7a [automerger skipped] Merge "Export FrontendDvbtPlpMode" am: 4556d59c3a am: c61fdd1fb4 am: 178eaca229 -s ours
am skip reason: Change-Id I3d4c0667ba1251b3038681759c50b453cd40a8ca with SHA-1 e266073ed6 is in history

Change-Id: I048fb1a3f0ee5edf63a78e3b764046d019bb9cb9
2020-02-08 02:28:36 +00:00