Commit graph

42936 commits

Author SHA1 Message Date
cmlin0118
5b9ba198ec Fix tunerhal vts feId uninitialized on getFrontendIdByType
Problem: FeId uninitialized on getFrontendIdByType
Solution: Initializ feId
Test: run vts -m VtsHalTvTunerV1_0TargetTest
Bug: 248472007
Change-Id: I373c49cf0a105869743be7f2c0737b4f5b30ae26
2022-10-14 14:52:26 +08:00
Kenn Frankel
2b49939f33 Merge "AOSP counterpart of wifi hal apex" 2022-10-14 01:01:01 +00:00
Devin Moore
e36409e806 Remove OMX from compat matrix
This HAL is being deprecated.

Test: m
Bug: 218588089
Change-Id: Ia6f4f8588ff69c97857b9258937cb8c1a6d719b1
2022-10-13 22:04:02 +00:00
Shunkai Yao
bd9c79cbd8 Remove the absolute path in AIDL EQ Android.bp
Bug: 253474521
Test: m android.hardware.audio.effect.service-aidl.example; m libequalizer
Change-Id: Ic8ce31572e2fc6c566e306c25350680a7d352709
2022-10-13 18:43:53 +00:00
David Drysdale
02abced109 Coalesce OWNERS and add component
Test: TreeHugger
Bug: 237676243
Change-Id: I04f79cfcf3a4a4dd132e17e93b53c2807818d60d
2022-10-13 09:25:48 +01:00
Tri Vo
b13e5b8cdd Merge "IRPC test: use version from RpcHardwareInfo" 2022-10-13 03:21:24 +00:00
Shunkai Yao
bc71b029bf Merge changes from topic "aidl_audio_effect3"
* changes:
  AIDL effect: Add effect AIDL implementationi and vts test
  AIDL effect: Add effect AIDL definition
2022-10-13 02:14:39 +00:00
Shunkai Yao
ea24c1a128 AIDL effect: Add effect AIDL implementationi and vts test
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest; atest VtsHalAudioEffectFactoryTargetTest
Merged-In: If8000b7396360996bdfb8eb269bc3de543871673
Change-Id: If8000b7396360996bdfb8eb269bc3de543871673
2022-10-13 02:14:23 +00:00
Shunkai Yao
0632ae6cd1 AIDL effect: Add effect AIDL definition
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest; atest VtsHalAudioEffectFactoryTargetTest
Merged-In: I8cc902df0a396d0703839b8933318a26aab2e38d
Change-Id: I8cc902df0a396d0703839b8933318a26aab2e38d
2022-10-13 02:13:20 +00:00
Tri Vo
dd12c487d2 IRPC test: use version from RpcHardwareInfo
Check against version of the interface reported by the HAL rather than
the one from generated code.

AIDL interface are meant to be backwards compatible. Having the HAL
report its version dynamically makes it easier to maintain legacy
behavior while evolving the interface, e.g. we bump IRPC to v3
across our codebase, but devices that already shipped may still behave
as v1/2 devices.

Bug: 235265072
Test: VtsHalRemotelyProvisionedComponentTargetTest

Change-Id: I49e3a09723590ac1a7c432b11450c1438563c787
2022-10-12 22:41:33 +00:00
Treehugger Robot
eac52437af Merge "Linking Component Id within the Gatekeeper OWNERS file." 2022-10-12 15:46:45 +00:00
Treehugger Robot
974c3ea1d1 Merge "Add isAidlNativeHandleEmpty to libaidlcommonsupport" 2022-10-12 05:05:25 +00:00
Roman Kiryanov
86338db0b1 Add isAidlNativeHandleEmpty to libaidlcommonsupport
Bug: 251042358
Test: libaidlcommonsupport_test
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I96dc2a39d60f955b8a686adcb7446e1c54747a35
2022-10-11 23:38:48 +00:00
Steven Moreland
29b87463f4 camera aidl: 'empty' native handles not 'null' native handles
Bug: N/A
Change-Id: I789d90e2c3d73a57658fbcc7a87723251f9c9096
Test: N/A
2022-10-11 22:45:18 +00:00
Venkatarama Avadhani
820b548de9 CEC: Add AIDL interface
Split and convert to AIDL the HDMI CEC HAL into two separate HALs -
CEC and HDMI. CEC handles the CEC messages while HDMI handles the
hotplug and physical ports.
Also add the default and VTS for the two HALs.

Bug: 233026642
Test: m android.hardware.tv.cec-update-api
      make
Change-Id: I67c6d7aeea6922f69a1ffa7acb36c811c80afabf
2022-10-11 10:03:02 +05:30
Devin Moore
036a421a3d Merge "Remove confirmationUI HIDL entry from compatibility matrix." 2022-10-10 20:18:51 +00:00
Subrahmanyaman
91f4260801 Linking Component Id within the Gatekeeper OWNERS file.
Bug: b/237676243
Test: run vts -m VtsHalGatekeeperV1_0Target
Change-Id: I248d30f4bcac919f20ac962e088937a510b9dde6
2022-10-10 19:07:36 +00:00
Subrahmanyaman
3ec44dd327 Remove confirmationUI HIDL entry from compatibility matrix.
Bug: b/205760172
Test: run vts -m VtsHalConfirmationUIV1_0Target
Change-Id: If9700c8ece6846e5f0e8960b16ea3db43e802690
2022-10-10 18:08:43 +00:00
Kenn Frankel
e85de1d957 AOSP counterpart of wifi hal apex
Bug: 247018693
Test: CtsWifiTestCases
Change-Id: I5deb95b4cc0c1075f65bc809ca256df91ce9a9bb
2022-10-07 22:13:38 +00:00
Lorena Torres-Huerta
9b7a21dc95 Merge "Add surround sound configuration to the AIDL Audio HAL interface." 2022-10-07 19:40:07 +00:00
Treehugger Robot
ff8f1d6edd Merge "Generalize RKP CDDL schema beyond CSRs" 2022-10-07 18:21:25 +00:00
Peiyong Lin
793bb7f070 Merge "Convert Thermal HIDL to AIDL." 2022-10-07 04:00:18 +00:00
Sandeep Dhavale
c08ca4c8a6 Merge "Fastboot: Add OWNERS" 2022-10-06 21:55:27 +00:00
Sandeep Dhavale
59f7b08bc9 Merge "Fastboot: Convert Fastboot HIDL HAL to AIDL" 2022-10-06 21:55:27 +00:00
Peiyong Lin
56960758ad Convert Thermal HIDL to AIDL.
This patch converts Thermal HIDL to AIDL and adds an empty example
implementation.

Bug: b/205762943
Test: atest VtsHalThermalTargetTest
Change-Id: I0c80ac400cc41f50916dbed58bb48f878dfae17f
2022-10-06 17:13:40 +00:00
David Drysdale
0192979809 Merge "RKP HAL: fix typos" 2022-10-06 05:57:28 +00:00
Lorena Torres-Huerta
0ba91e5759 Add surround sound configuration to the AIDL Audio HAL interface.
Bug: 205884982
Test: m android.hardware.audio.service-aidl.example
Change-Id: Ie8c69c6f0437ba6527c28f525eb06d1e338e3abc
2022-10-06 05:48:22 +00:00
Steven Moreland
6590063e99 Merge "ConfirmationUI AIDL VTS tests fix." 2022-10-05 23:24:33 +00:00
Sandeep Dhavale
e953174164 Fastboot: Add OWNERS
Test: none
Bug: 205760652
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
Change-Id: I29674a545efbaaf2bcedc347be91f579eeae3498
2022-10-05 23:12:01 +00:00
Xin Li
cf2da65bc8 Merge "Merge TP1A.221005.003" 2022-10-05 22:20:14 +00:00
Rajesh Nyamagoud
8040f46a12 ConfirmationUI AIDL VTS tests fix.
Replaced `sizeof` with `strlen` while converting char array to
`vector<uint8_t>`.

Bug: b/205760172
Test: run vts -m VtsHalConfirmationUIV1_0Target
Change-Id: I309f5fdb2088db1293a2278bc4a0518aa12b5601
2022-10-05 20:11:42 +00:00
Sandeep Dhavale
7bc10fb520 Fastboot: Convert Fastboot HIDL HAL to AIDL
Also adds mock implementation based on AIDL.

Bug: 205760652
Test: m
Signed-off-by: Sandeep Dhavale <dhavale@google.com>
Change-Id: Iee32e3e859d90ba494ab41fab739f6317993a3c3
2022-10-05 19:58:06 +00:00
Andrew Scull
bff2cae4f8 Generalize RKP CDDL schema beyond CSRs
The certificate signing request (CSR) CDDL schema comprises and
authentication wrapper and an inner payload containing details of the
request. Seperate these two parts more clearly in the schema with a view
to reusing the authentication wrapper for other messages.

The change of Csr to be defined in terms of the AuthenticatedMessage
generic type has no effective change on the schema.

A version field is added to CsrPayload, formerly SignedDataPayload, so
that the AuthenticatedMessage and CsrPayload schemas can evolve
independently.

The cert_type field of DeviceInfo is moved up a level into CsrPayload.
This means DeviceInfo only contains device information and not other
fields related to the CSR.

The payload of AuthenticatedMessage is not self-describing. The expected
schema of the payload will be inferred from context, for example the
server endpoint the message is sent to.

Bug: 250910137
Test: n/a - comments only
Change-Id: I2c981ec8fe63995779ce119168ad3d9b40d5b8c5
2022-10-05 10:00:52 +00:00
David Drysdale
e6fe69b75d Merge "KeyMint HAL: clarify time-based auth behaviour" 2022-10-05 06:09:40 +00:00
Andrew Scull
6e69625012 Merge "Tweak RKP HAL comments" 2022-10-04 20:20:48 +00:00
Andrew Scull
a4c4a18dc7 Tweak RKP HAL comments
Change the cert_type field from an enum of strings to a tstr type with
the known types documented in comments. The types are part of the
protocol between the HAL implementation and the provisioning server that
is opaque to the Android platform, so there's not need to bump the HAL
version in order to add new certificate types.

Replace the undefined Dcc type/acronym with the term "DICE chain" for
smoother reading.

Make the behaviour of generateCertificateRequest() in the v3 HAL more
explicit by explaining that a ServiceSpecificException should be raised
with the same error code that is currently documented.

Bug: 240312857
Test: n/a - comments only
Change-Id: If5acc388b25fa24d240c936ddefd08943fc6dd8d
2022-10-04 13:12:22 +00:00
Treehugger Robot
481337da0a Merge "Disable some sanitizers on libnlinterceptor targets." 2022-10-03 21:53:33 +00:00
Xin Li
c208de1713 Merge TP1A.221005.003
Merged-In: I1fcfa29d7841a1cb73bafb1ea92f3b1630992ae9
Change-Id: I56a99c984732258849fc58052c65371d5c31e6fc
2022-10-03 13:17:46 -07:00
Steven Moreland
1b7bec0011 Merge changes from topic "hidl2aidl_confirmationui"
* changes:
  hidl2aidl: conversion of vts confirmationui hidl to aidl
  hidl2aidl: conversion of confirmationui hidl to aidl
2022-10-03 19:10:31 +00:00
Peter Collingbourne
f10ee08f84 Disable some sanitizers on libnlinterceptor targets.
ASan is not meant to be enabled in production binaries, and the fuzzer
"sanitizer" is only intended to be used with fuzz targets. So disable
both of them.

Change-Id: Ice7d8d3fd6621077d485b430d9e06fb3ba240e87
2022-09-30 18:08:28 -07:00
Treehugger Robot
59b028b6dc Merge "Build input-related HAL code for host" 2022-09-30 20:40:36 +00:00
Siarhei Vishniakou
a65f581ea3 Build input-related HAL code for host
This would allow to run some of the tests on host, which is sometimes
convenient when a device is not readily available.

Bug: 249591924
Test: atest --host inputflinger_tests
Change-Id: Ide39bc4beb5174191bdc31e0a9b9f905622fcde5
2022-09-30 07:28:53 -07:00
Treehugger Robot
b3d143edc6 Merge "Update Bluetoot Audio HAL Target Test" into android13-tests-dev am: 9604eb65fe
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2237119

Change-Id: Ia92e5cc17a24e60cacae10ccc2c1fa91208d701b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 21:57:37 +00:00
Treehugger Robot
9604eb65fe Merge "Update Bluetoot Audio HAL Target Test" into android13-tests-dev 2022-09-29 21:29:35 +00:00
David Drysdale
a867bc1eb3 KeyMint HAL: clarify time-based auth behaviour
Changes:
- correct the sign of the timestamp comparison text
- make updateAad() and finish() refer to the auth text in begin()
- describe auth flows for keys with AUTH_TIMEOUT on devices without
  a secure time source

Test: none, comment change only
Change-Id: Ia60a4a949e030a7a96772406e3b0f7b3211a0915
2022-09-29 15:56:25 +01:00
Treehugger Robot
3edee2d5cb [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours am: d13527a33e -s ours am: 72bf300aec -s ours
am skip reason: skipped by user quxiangfang

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062

Change-Id: Icb062b716489ad5991e943d0954ace4d880ed432
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 01:56:26 +00:00
Treehugger Robot
72bf300aec [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours am: d13527a33e -s ours
am skip reason: skipped by user quxiangfang

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062

Change-Id: Ib4055077df5e87a74c9ee12dc6b641d4f9d6b8c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 01:38:22 +00:00
Treehugger Robot
d13527a33e [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours am: 4f3ac4267d -s ours
am skip reason: skipped by user quxiangfang

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062

Change-Id: I7a07d40a9febf29eea94761262822916e530ce47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 01:24:02 +00:00
Treehugger Robot
4f3ac4267d [automerger skipped] Merge "tunerhal:set default frontend to DVBS [1/1]" into android11-tests-dev am: 81022732af -s ours
am skip reason: skipped by user quxiangfang

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2159062

Change-Id: I143fbd025bc19d7cb27e7cacc773864d7ae2a8f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 00:54:53 +00:00
Treehugger Robot
34565c65fd Merge "Use latest Identity and KM AIDL API" 2022-09-28 23:17:22 +00:00