Commit Graph

515 Commits

Author SHA1 Message Date
Shunkai Yao
e4bab46e14 AIDL effect: Initial IEffect interface implementationi and vts test
Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest
Change-Id: Id64d28af9122e82acd96e3349cf37c3d9728069a
2022-09-06 21:32:00 +00:00
Yixiao Luo
29b6721e15 Merge "TV Input HAL 2.0 AIDL interface" 2022-08-26 23:19:47 +00:00
Yixiao Luo
2b41ee5263 TV Input HAL 2.0 AIDL interface
Initial version, fixed tabs.
Addressed comments.

Bug: 227673740
Test: atest VtsHalTvInputTargetTest
Change-Id: Id4bc501c4898239bd9325c8688687d95db74cf1d
2022-08-23 17:17:22 -07:00
Shunkai Yao
8a0ae5430f AIDL effect: Minimal example implementation
Add effect factory placeholder implementation.
Update android.hardware.audio.service-aidl.example to include effects.

Bug: 238913361
Test: atest VtsHalAudioEffectTargetTest

Change-Id: I88266b509a03ee336e22be460580c5b22123659e
2022-08-23 01:02:42 +00:00
TreeHugger Robot
c2127539d8 Merge "Remove drm HIDL entry in compat matrix." 2022-08-16 22:34:23 +00:00
TreeHugger Robot
3dca21f0de Merge "Remove usb HIDL entry in compat matrix." 2022-08-16 19:32:06 +00:00
TreeHugger Robot
f800ae86b2 Merge "Remove gnss HIDL entry in compat matrix." 2022-08-16 18:42:45 +00:00
TreeHugger Robot
30b8ef62be Merge "Remove tv.tuner HIDL entry in compat matrix." 2022-08-16 18:28:07 +00:00
Devin Moore
96d97d650c Merge "Remove keymaster HIDL entry in compat matrix." 2022-08-15 15:13:02 +00:00
Devin Moore
547817a1b7 Remove sensors HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: I68265bee97e1bf43f1cb28fcf66b7c8bedbeeffb
2022-08-10 23:24:01 +00:00
Devin Moore
2bb50a60d7 Merge "Remove automotive.vehicle HIDL entry in compat matrix." 2022-08-08 18:14:53 +00:00
Devin Moore
0d942d682e Merge "Remove graphics.allocator and .composer HIDL entries in compat matrix." 2022-08-03 21:57:34 +00:00
Devin Moore
edc438b363 Remove automotive.vehicle HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: I04af2db10ee4afbd5cd128a4bbb60ff603cd62d2
2022-08-03 16:11:27 +00:00
Kelvin Zhang
6749d73a02 Remove HIDL IBootControl from compatibility matrix am: f09f633336 am: 64db0db96b am: d44843b368 am: 2a28a1c53f am: c67d6a9f4c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2166410

Change-Id: I89e200addeaa2f502d4c3fcc41c3963a8453e2b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-03 00:19:05 +00:00
Kelvin Zhang
64db0db96b Remove HIDL IBootControl from compatibility matrix am: f09f633336
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2166410

Change-Id: I427289f1d7de6fb9389054fa0830ba5aaef144a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 22:30:10 +00:00
Kelvin Zhang
f09f633336 Remove HIDL IBootControl from compatibility matrix
Test: th
Bug: 227536004
Change-Id: I004d7c9835e8fc116fa6e40f080a9523f2275cc1
2022-08-02 09:39:39 -07:00
Devin Moore
a5a641050a Merge "Remove nfc HIDL entry in compat matrix." 2022-08-02 15:24:41 +00:00
Devin Moore
6c8991d36f Merge "Remove soundtrigger HIDL entry in compat matrix." 2022-08-01 21:27:31 +00:00
Devin Moore
e3aaf55b87 Remove usb HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: Ibe2139b352ebb6bda141f227c1329c3625cc060f
2022-07-29 22:56:26 +00:00
Devin Moore
d73ea21fcb Remove tv.tuner HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: Ia133521c5612c2af165cc1926fd9263718252f96
2022-07-29 22:55:28 +00:00
Devin Moore
f38eae91fc Remove soundtrigger HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: Ie4c0f6eaefec7b99cda4de519298dc7f8720ff3d
2022-07-29 22:54:28 +00:00
Devin Moore
7b2d27a90d Remove nfc HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: I17e1afaf834170a4dc8d0c9c2bca3557131a3123
2022-07-29 22:50:20 +00:00
Devin Moore
98e5f9a308 Remove keymaster HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: Ibd115673d6776c94150dd57afe3e20718bc2ed8f
2022-07-29 22:45:15 +00:00
Devin Moore
f6e7b0d284 Remove graphics.allocator and .composer HIDL entries in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: I99931d95165af3ffd1bb144716327291267692b9
2022-07-29 22:42:06 +00:00
Devin Moore
463a21ef0d Remove gnss HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: Ie50d679d770e56162cd4835ccdd02eda6a4cf7df
2022-07-29 22:34:01 +00:00
Devin Moore
5ac980095a Remove drm HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: I5dc9aac2d2a289cb7dbe1903b3e74553dd234fac
2022-07-29 22:32:57 +00:00
Devin Moore
ab540a18ea Remove biometrics HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Change-Id: Ia3736a7d2a3f6e22dff266b3ee38896de9e0f46e
2022-07-29 22:26:06 +00:00
Gabriel Biren
23ffe48a55 Merge "Add WiFi Vendor HAL AIDL interface definitions." am: 1bdfe39266 am: c75dd7f4bb am: f657125ec7 am: 35d8198274 am: 3c1e51ebd3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2078202

Change-Id: Iced875c4506795405bcc5353def89711185c45b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 17:58:39 +00:00
Gabriel Biren
c75dd7f4bb Merge "Add WiFi Vendor HAL AIDL interface definitions." am: 1bdfe39266
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2078202

Change-Id: Icf2fb7abdd0cb0fe825e70ea03fcd51686bf2c09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 16:27:09 +00:00
Gabriel Biren
910d5df56b Add WiFi Vendor HAL AIDL interface definitions.
Bug: 205044134
Test: mm -j
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to high-efficiency.

Change-Id: I757f36feca9f30ad5e04204b7b0fd4caee63cabc
2022-07-08 18:15:00 +00:00
Subrahmanyaman
53fd32d845 Add strongbox definition for IRemotelyProvisionedComponent in
compatibility matrix.

Test: run vts -m VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I9824d4eb776f38bfbc73e539f801105ba6f8c30f
2022-06-28 00:43:28 +00:00
Kelvin Zhang
facd31e987 Add AIDL definitions for IBootControl am: c056242bdf am: 4a77acb781 am: 901e88654e am: 3170e0164c am: be26b4d78b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2050941

Change-Id: Ie41f2c6080d4652a53660e419a6c581dedb5e835
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 12:08:54 +00:00
Kelvin Zhang
901e88654e Add AIDL definitions for IBootControl am: c056242bdf am: 4a77acb781
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2050941

Change-Id: I4a001a1e7001edaaef3249fafdc69459539fd236
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 10:32:28 +00:00
Kelvin Zhang
c056242bdf Add AIDL definitions for IBootControl
Test: th
Bug: 227536004

Change-Id: Ic27f41e640927639bf5b901c2b592224f9d8308b
2022-06-06 16:09:03 -07:00
Yifan Hong
ba60032249 Merge "Gralloc: AIDL HAL may replace HIDL HAL." into tm-dev am: 2eab518ff5 am: 631c5fdd47
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18360587

Change-Id: I51f1d4332ae7ccbd1738fe8429a7a9beb4c56a89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 21:18:40 +00:00
Yifan Hong
2eab518ff5 Merge "Gralloc: AIDL HAL may replace HIDL HAL." into tm-dev 2022-05-13 19:46:55 +00:00
Omer Osman
110224e97c Merge "Add Opus to BT Audio HAL and update version to V2" into tm-dev am: b229ac5fd1 am: 4d8bfe8fb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18112682

Change-Id: I5e42c51b4f53ea568022b6ee068e543d6f00ccfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 17:53:31 +00:00
Yifan Hong
2f5764315b Gralloc: AIDL HAL may replace HIDL HAL.
Relax the requirement on compatibility matrices
that HIDL allocator HAL must exist on devices with
target level 3~6, because they may have the AIDL
Gralloc HAL instead. Use DeviceManifestTest.GrallocHal
to enforce the requirement.

Also fix comments.

Bug: 232003062
Test: TH
Change-Id: Ia00a9bdb15a39ebeb1ad74f3c922fe7923d7542d
2022-05-12 15:53:48 -07:00
Omer Osman
a2587da5b2 Add Opus to BT Audio HAL and update version to V2
This CL adds Opus as a supported A2DP codec to the BT Audio HAL and
updates HAL compatibility matrix.

Bug: 226441860
Test: A2DP sink device using bds-dev
Change-Id: I21249e3e7e76412af7ed62a3fc9ec133434cf963
2022-05-12 05:56:08 +00:00
Joe Bolinger
938c07ce5a Merge "Declare example HAL as virtual instance." 2022-04-29 00:03:46 +00:00
Joe Bolinger
3041e526de Declare example HAL as virtual instance.
Bug: 228638448
Test: manual (see README.md)
Change-Id: I4c00b9e394eb7863416b61662528869f7e70c09d
2022-04-28 11:24:30 -07:00
Steven Moreland
d901ed003e Freeze compat matrix 7 for Android T
This CL is modified by downstream, so that only the HALs which are
on AOSP are included in the manifest.

Bug: 203103997
Test: boot, vts_treble_vintf_vendor_test
Change-Id: I5c04d26e2b4dd0aac6e7d6ce3c72496081e9539d
Merged-In: I5c04d26e2b4dd0aac6e7d6ce3c72496081e9539d
2022-04-27 17:56:21 -07:00
TreeHugger Robot
54dab564b1 Merge "Freeze compat matrix 7 for Android T" into tm-dev am: af5938dfb8 am: 58e48e7f23
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17920398

Change-Id: I238c5a696b5f4de290279c80ed60dd880e3a54b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 20:01:10 +00:00
Steven Moreland
953448bb3b Freeze compat matrix 7 for Android T
The current matrix is left in this same CL because this way, downstream
modifications to the current CL will automatically get absorbed into the
level 8 compatibility matrix. A CL on top of this will disable the 7
matrix and then get reverted in the aosp/master..goog/master merge
path.

Bug: 203103997
Test: boot, vts_treble_vintf_vendor_test
Change-Id: I5c04d26e2b4dd0aac6e7d6ce3c72496081e9539d
2022-04-25 18:16:42 +00:00
Badhri Jagan Sridharan
99ecbd7b81 Migrate IUsb to AIDL
This change migrates android.hardware.usb.IUsb to AIDL and
adds the default implementation.

Compared to the HIDL interface, AIDL based interface adds
transactionId argument to each of the interface method which
is used while invoking the corresponding callback.

Bug: 200993386
Bug: 199357330
Test: Ran new hal implementation on Pixel. Yet to run VTS.
Change-Id: Id8aa40682d4c4b435c63b3ae249b176276dbb31d
Merged-In: Id8aa40682d4c4b435c63b3ae249b176276dbb31d
(cherry picked from commit b9f69ea776)
2022-04-25 05:24:33 +00:00
Devin Moore
955d1880fa Merge "Make graphics.allocator HIDL service optional" into tm-dev am: 77e15d0ef6 am: 578f43c267
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17726257

Change-Id: I60128a1e98c88fd2c5d84c060bafcc6cd233fa2f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-15 23:59:11 +00:00
Devin Moore
95a32bcde4 Make graphics.allocator HIDL service optional
This allows the use of the AIDL graphics.allocator AIDL service by
itself.

Bug: 205761012
Test: atest hal_implementation_test
Test: Build and boot cuttlefish without the HIDL service
Change-Id: Ief394181ab2193c56e05c406ca5ba120a988835c
2022-04-13 23:41:34 +00:00
Mikhail Naganov
ecdc6ca8e8 audio HAL: Minimal example implementation
Implements basic functionality for enumerating
capabilities of an audio module, audio patches
creation, and opening of I/O streams.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Ie5d67e9192a598260e762ae9368f99592c8ad97e
2022-03-23 19:40:55 +00:00
Sarah Chin
9101327a27 Update compatibility matrices for IRadio AIDL
Test: build
Bug: 205355625
Change-Id: I5fb37f2e05a1b6697eb27e1f3340c7d6b3f409b5
Merged-In: I5fb37f2e05a1b6697eb27e1f3340c7d6b3f409b5
2022-03-18 13:10:45 -07:00
Alice Kuo
b3a4a1b11e Merge "Set bluetooth.audio AIDL HAL to mandatory for Android T" am: 53b601d590 am: c6e816aad8 am: 31a9f2280c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1977705

Change-Id: I5eb69face96919e1397aaf668b138b92b1f39d6d
2022-02-23 17:25:11 +00:00