Commit graph

18006 commits

Author SHA1 Message Date
Michele Berionne
81626dc493 Merge "Add SIM Depersonalisation interface" 2020-01-23 01:10:49 +00:00
Stephane Lee
0e7081d5ed Merge "Initialize paths for health 2.1 + batteryCapacityLevelPath + batteryChargeTimeToFullNowPath" 2020-01-23 00:39:07 +00:00
Robert Shih
cf7622ccd6 Merge "misc drm@1.2 vts fixes"
am: 1d85278536

Change-Id: If954db85d1d5b6e8eddbf0b18c382c31ea618ad6
2020-01-22 16:09:02 -08:00
Treehugger Robot
1d85278536 Merge "misc drm@1.2 vts fixes" 2020-01-22 23:46:15 +00:00
Robert Shih
52cb498569 misc drm@1.2 vts fixes
* Add VendorModules::getModuleByName
* Skip unsupported schemes in setup
* Skip non-clearkey instances when running clearkey specific tests
* Don't skip clearkey tests for clearkey instance

Bug: 142397658
Change-Id: I44a6b43dd52fbb48cdbb5a077517e3d96acd0a3d
2020-01-22 21:23:14 +00:00
François Gaffie
eb3c4cbe0b Merge changes from topic "engine_vts"
am: 24a21c1b53

Change-Id: I5d66369c23ae9e146b6b5840f90433c72f6c2d45
2020-01-22 10:28:07 -08:00
Franois Gaffie
45e735733f audio: Add VTS for configurable engine
am: b449cdb228

Change-Id: I3c7f203ff6177fb5fd84905b08785959004c2cd8
2020-01-22 10:27:24 -08:00
Franois Gaffie
bd5f74b53e audio: update XSD for dynamic engine loading support config
am: f282171776

Change-Id: Iad1dae8b30398efd511cb9d1f568b1a65ff869de
2020-01-22 10:26:40 -08:00
Treehugger Robot
24a21c1b53 Merge changes from topic "engine_vts"
* changes:
  audiopolicy: engine: Add VTS for engine configurable configuration
  audio: Add VTS for configurable engine
  audio: update XSD for dynamic engine loading support config
2020-01-22 18:06:28 +00:00
Steven Moreland
29b7493eed identity: regenerate makefiles
These were old, and some things are no longer needed.

Bug: N/A
Test: N/A
Change-Id: I0d5f7bb55f574fa8eb32a4696cfee882fbf0b5e0
2020-01-21 18:32:19 -08:00
Stan Rokita
010c36d22d Fix the format specifier in assert log statements
There are two ALOG_ASSERT calls in the HalProxyCallback::postEvents
method that do not have the correct format specifier types. This causes
a build error if you try to build with debug logs.

Test: Build and load onto device
Change-Id: I793b6fcd72dd13b07422af0e292a373a66b2c200
2020-01-21 15:38:36 -08:00
Xusong Wang
b345a4688f Memory Domain HAL: Define HAL APIs.
- Add and document memory domain HAL APIs.
- Make necessary changes to the existing VTS codes to make them work
  with V1_3::Request.

Bug: 141353602
Bug: 141363565
Test: mma
Test: NNT_static
Test: 1.3 VTS
Change-Id: Ia32555d4fef149fad4a79728981c5d9cca675a1a
Merged-In: Ia32555d4fef149fad4a79728981c5d9cca675a1a
(cherry picked from commit 931d5a18bc)
2020-01-21 15:15:39 -08:00
Shawn Willden
7b1563832e Merge "Updates to KM4.1"
am: 7b37dc5d9c

Change-Id: Id104154ff22b642507fa71d2cd976ca36188c6e9
2020-01-21 13:21:35 -08:00
Shawn Willden
7b37dc5d9c Merge "Updates to KM4.1" 2020-01-21 21:18:21 +00:00
Shawn Willden
e65c023c44 Merge "Update Keymaster support lib OWNERS"
am: f7238c9c01

Change-Id: I25ea9632fa5d85ac198846a78d48d8f9004775af
2020-01-21 09:44:35 -08:00
Shawn Willden
f7238c9c01 Merge "Update Keymaster support lib OWNERS" 2020-01-21 17:40:38 +00:00
Shawn Willden
c0125fb930 Update Keymaster support lib OWNERS
Test:  VtsHalKeymasterV4_0TargetTest && VtsHalKeymasterV4_1TargetTest
Change-Id: Ibc719cdc4bd8821d67659eb6a2cf4d0094322322
Merged-In: Ibc719cdc4bd8821d67659eb6a2cf4d0094322322
2020-01-21 10:30:29 -07:00
François Gaffie
a8cac48d0f audiopolicy: engine: Add VTS for engine configurable configuration
This CL adds VTS test for engine PFW configuration files (Skipped
for default engine, the check is performed by reading the
audio_policy_configuration file AND parameter-framework top configuration
file)

AllSchemas.xsd is made by manual inclusion from all other
xsd files. It is used for API files generation.

Test: build & run vts --module VtsHalAudioPolicyV1_0Target
      atest VtsHalAudioPolicyV1_0TargetTest
Bug: 141989952

Change-Id: I62730caadafdcb5ebb3083d683625424864afe97
Merged-In: I62730caadafdcb5ebb3083d683625424864afe97
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2020-01-17 21:42:55 -08:00
François Gaffie
b449cdb228 audio: Add VTS for configurable engine
This CL adds VTS tests for engine configuration.

Test: atest VtsHalAudioPolicyV1_0TargetTest
Bug: 141989952

Change-Id: Ied37edc5bba29ef461f6b68fa21781d5721b75bf
Merged-In: Ied37edc5bba29ef461f6b68fa21781d5721b75bf
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
Signed-off-by: Mikhail Naganov <mnaganov@google.com>
2020-01-17 21:42:09 -08:00
François Gaffie
f282171776 audio: update XSD for dynamic engine loading support config
Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest

Change-Id: Ic0afc27f09d8387236444901dfddc5f0f074ba1b
Merged-In: Ic0afc27f09d8387236444901dfddc5f0f074ba1b
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2020-01-17 21:33:17 -08:00
Stephane Lee
8bc403e1e2 Initialize paths for health 2.1
+ batteryCapacityLevelPath
+ batteryChargeTimeToFullNowPath

Bug: 137790244
Test: lshal debug (health service)
Change-Id: I219ecc3dc77be70073761d9da5f5ee39ad76387d
2020-01-17 15:57:33 -08:00
Shawn Willden
f3d741744a Updates to KM4.1
This CL adds:

- The IDENTITY_CREDENTIAL_KEY tag.  This new tag is not actually used
  by Keymaster at all.  It's used by the new Identity Credential HAL in
  its key attestations, which use the Keymaster format and the Keymaster
  attestation key.

- A VerificationToken argument to deviceLocked, used for StrongBox
  implementations.

- Some error codes, including one to diagnose unprovisioned
  attestation keys/ids.

- Clarifications in the documentation.

Test: VtsHalKeymasterV41TargetTest
Change-Id: Iae7151e2d9b328dd73e5cd78e59687ef29bab4f0
Merged-In: Iae7151e2d9b328dd73e5cd78e59687ef29bab4f0
2020-01-17 15:52:07 -07:00
Amy
90a2de6c30 Disable Tuner HAL VTS test cases that use un-licensed stream.
Test: atest
Change-Id: I91c27f536bcf589dd605b402a851af14cd2c993f
(cherry picked from commit 342388ac41)
2020-01-17 13:36:17 -08:00
Anthony Stange
b492ac69b5 Merge "Decrement size of pending write queue by correct amount"
am: 79fc8d0212

Change-Id: I4d8f3d5bac10dd7192788cccf47ddcfa6231d7c8
2020-01-17 12:55:11 -08:00
Anthony Stange
79fc8d0212 Merge "Decrement size of pending write queue by correct amount" 2020-01-17 19:41:15 +00:00
Jack Yu
0d914d8c2a Add android.hardware.secure_element@1.2
Test: None
Bug: 142495673
Change-Id: Ie0f3e87d58047b76ea47990a49d3eac745967255
2020-01-17 14:06:27 +00:00
Wei Wang
fd7e72f323 Merge "Power: PowerHAL AIDL interface"
am: 384eb8a2bb

Change-Id: Id759e33d622bae7df8709eae5d9718c2a10f2828
2020-01-16 14:40:03 -08:00
Wei Wang
384eb8a2bb Merge "Power: PowerHAL AIDL interface" 2020-01-16 22:35:42 +00:00
Steven Moreland
d246996124 Merge "Convert VtsHalDrmV1_*TargetTest to be parameterized test"
am: ca61d1a366

Change-Id: Ieff14ff236c884e5611075258695987a2a606256
2020-01-16 10:38:30 -08:00
Steven Moreland
ca61d1a366 Merge "Convert VtsHalDrmV1_*TargetTest to be parameterized test" 2020-01-16 18:35:02 +00:00
TreeHugger Robot
ad45cff8d7 Merge "DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master" into stage-aosp-master 2020-01-16 18:29:18 +00:00
Lev Proleev
cd74885540 Enable QuantizationCouplingTest in NNAPI VTS
am: 3c68b3412f

Change-Id: I44d980101c7e59e9262f2d91a83884c2325fb714
2020-01-16 08:16:51 -08:00
Lev Proleev
3c68b3412f Enable QuantizationCouplingTest in NNAPI VTS
Bug: 137828994
Test: NNTest_static and VtsHalNeuralnetworksV1_3TargetTest
Change-Id: I9b4f20ab0287be9cae9fc1b69a8f64cc8f1996b0
Merged-In: I9b4f20ab0287be9cae9fc1b69a8f64cc8f1996b0
(cherry picked from commit baac15d5fd)
2020-01-16 13:22:33 +00:00
Kai Wang
95568fb9a7 Merge "VHAL: fix CTS CarPropertyManagerTest#testRegisterCallback"
am: 24148274cd

Change-Id: Ib37e2e8f49b8a1253248bacde60b29269e14c681
2020-01-15 17:20:40 -08:00
Wei Wang
61c2a337a9 Power: PowerHAL AIDL interface
Bug: 146453294
Test: build and run VtsHalPowerTargetTest pass
Change-Id: Id2a0194173325015933b0db72067f03a375566ee
2020-01-15 16:51:14 -08:00
Kai Wang
24148274cd Merge "VHAL: fix CTS CarPropertyManagerTest#testRegisterCallback" 2020-01-16 00:36:36 +00:00
Xin Li
7b2064edd5 DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master
Bug: 146167222
Change-Id: I4aec05062d527bd14512c0ef4c74f66d4a4ce431
2020-01-15 15:57:11 -08:00
David Zeuthen
c1e8c37554 Merge "Add Identity Credential HAL, default implementation, and VTS tests."
am: ba60e1fa4a

Change-Id: Ic404209ca7e0b6439f7050e794fe637402c64571
2020-01-15 15:22:01 -08:00
Treehugger Robot
ba60e1fa4a Merge "Add Identity Credential HAL, default implementation, and VTS tests." 2020-01-15 23:19:03 +00:00
Dan Shi
d5f85888fe Convert VtsHalDrmV1_*TargetTest to be parameterized test
Removing dependency from VTS infrastructure so that test can run
standalone, for instance with atest/TEST_MAPPING. Once this is
done for every test, VTS can use the core testing infra.

Bug: 142397658
Test: atest VtsHalDrmV1_0TargetTest VtsHalDrmV1_1TargetTest \
  VtsHalDrmV1_2TargetTest
Change-Id: Ic436d949f5b26087e32c48fac220cd5abad8a443
2020-01-15 20:24:08 +00:00
Jeff Tinker
bebc590eba Merge "Fix tests for devices that don't have drm@1.2 services"
am: ac16446bd2

Change-Id: I09d703a37e4138bc150eb00970e0a279ec6e6e00
2020-01-15 10:33:21 -08:00
Treehugger Robot
ac16446bd2 Merge "Fix tests for devices that don't have drm@1.2 services" 2020-01-15 18:30:36 +00:00
Stan Rokita
bc0b20ad1f Decrement size of pending write queue by correct amount
The pending write events vector is destructed before using its size to
decrement the number of events on the pending write events queue which
may cause the value decrement by 0 instead of the actual number of
events removed.

Bug: 147686560
Test: Build and load onto device with fake subhals
Change-Id: I7b6c6231eacfa89b0dd55bc405b235d34be5ff46
2020-01-15 08:29:17 -08:00
David Zeuthen
c75ac31ec9 Add Identity Credential HAL, default implementation, and VTS tests.
IIdentityCredentialStore provides an interface to a secure store for
user identity documents.  This HAL is deliberately fairly general and
abstract.  To the extent possible, specification of the message
formats and semantics of communication with credential verification
devices and issuing authorities (IAs) is out of scope for this HAL.

It provides the interface with secure storage but a
credential-specific Android application will be required to implement
the presentation and verification protocols and processes appropriate
for the specific credential type.

Bug: 111446262
Test: VtsHalIdentityCredentialTargetTest
Test: android.hardware.identity-support-lib-test
Test: CtsIdentityTestCases
Change-Id: I64eb50114d645dd475012ad1b889d2177aaf1d37
2020-01-15 09:36:12 -05:00
Nazish Tabassum
79f575e679 Add SIM Depersonalisation interface
Add new interface API to perform SIM depersonalisation
for all the supported Perso types.

Bug: 69389695
Change-Id: I1756fc3ce9d49863cb92c82d14aaa1b03efe39ec
2020-01-15 07:10:35 +05:30
Lev Proleev
c9211df376 Merge "Fix quantized LSTM doc"
am: 008e2862d2

Change-Id: I54bfc2f80da6d1b00f109a4ebe7d4f38ca2ebcb1
2020-01-14 12:15:35 -08:00
Treehugger Robot
008e2862d2 Merge "Fix quantized LSTM doc" 2020-01-14 20:13:33 +00:00
Nathan Harold
fa48664be2 Merge "Add an Indication for Barring Info"
am: b89ad206e8

Change-Id: I9ca8e93fceaddf15f76562289a4687ebe83f921d
2020-01-14 11:06:28 -08:00
Nathan Harold
b89ad206e8 Merge "Add an Indication for Barring Info" 2020-01-14 18:53:26 +00:00
Steven Moreland
8679c62cb7 Merge "vibrator vts: use CompositePrimitives enum_range"
am: d895913f1b

Change-Id: I7c8dbfe94c00daf855560b904e443d6bc8ab3522
2020-01-14 09:17:41 -08:00