Commit graph

719 commits

Author SHA1 Message Date
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
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
5ff3b98dc2 Merge "Gralloc: AIDL HAL may replace HIDL HAL." into tm-dev am: 2eab518ff5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18360587

Change-Id: I2541b77963204a723275334be2a6b02ae3f216e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 21:53:42 +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
9e3c151ffb Merge "Add Opus to BT Audio HAL and update version to V2" into tm-dev am: b229ac5fd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18112682

Change-Id: I4f8c6200989e993fca305615c7977870c78ab1c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 17:16:58 +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
Steven Moreland
3f51f6e447 Revert "Disable current matrix."
This reverts commit e7938a23bb.

Reason for revert: re-enable change aosp/master .. goog/master

Change-Id: I9ca426ff3bc8f144e81fb7013102e8b0fa1fb63d
2022-04-29 20:40:41 +00:00
Yifan Hong
2e1716a2f9 Freeze kernel configs for Android T.
Use the frozen kernel configs, not the 'current'
unfrozen kernel configs.

Test: TH
Fixes: 230144764
Change-Id: I2c6b1a1d5ec81acfb60380efeca0e6ee24b33089
Merged-In: I2c6b1a1d5ec81acfb60380efeca0e6ee24b33089
2022-04-27 17:56:21 -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
Steven Moreland
e7938a23bb DO NOT MERGE: Disable current matrix.
The current matrix should not be used in Android T. However, it is left
here so that any late fixes to the T matrix can be made in a way that
will flow downstream.

Reason for 'DO NOT MERGE' - avoid landing this change in goog/master,
since the current matrix has HALs added there, some devices may be
relying on it.

In order to allow the (AOSP subset of) the T manifest to be frozen in
AOSP, and the current matrix to be enabled from aosp/master -..->
goog/master, this will be reverted in tm-dev-plus-aosp immediately after
it merges.

Bug: 203103997
Test: boot devices and vts_treble_vintf_vendor_test passes
Change-Id: I15bacedd0820e0086a742b97ee18e097ef8086e5
2022-04-28 00:38:24 +00:00
Yifan Hong
e8981922a4 Freeze kernel configs for Android T.
Use the frozen kernel configs, not the 'current'
unfrozen kernel configs.

Test: TH
Fixes: 230144764
Change-Id: I2c6b1a1d5ec81acfb60380efeca0e6ee24b33089
2022-04-26 00:55:32 +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
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
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
Alice Kuo
bd95ac34cb Remove bluetooth.audio@2.2 interface am: 13c3701537 am: af1c5194a5 am: 4416aa8071
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1962885

Change-Id: I96cacdc67d76e83bf1d12446c169dc53c27bc994
2022-02-22 12:21:53 +00:00
Alice Kuo
da125c608b Set bluetooth.audio AIDL HAL to mandatory for Android T
Bug: 203490261
Test: make
Change-Id: Ic975290fb3b43ffa3eadc2902f76ee43e8215619
2022-02-21 10:53:18 +08:00
Alice Kuo
13c3701537 Remove bluetooth.audio@2.2 interface
Bug: 204585486
Test: A2dp software/offload, le audio software offload verified pass
Change-Id: Icca0d0e0f5f074fc3f68742722a8c268e8289558
2022-02-21 10:52:20 +08:00
Sarah Chin
f4e067b600 Update compatibility matrices for IRadio AIDL
Test: build
Bug: 205355625
Change-Id: I5fb37f2e05a1b6697eb27e1f3340c7d6b3f409b5
2022-02-16 16:32:34 -08:00
Robert Shih
1bd4fddfb3 Merge "drm hal aidl API cleanup" 2022-02-11 06:41:46 +00:00
Gabriel Biren
477f865b05 Merge "Remove hostapd and supplicant HIDL HALs from the current compatibility matrix." 2022-02-10 20:54:36 +00:00
Gabriel Biren
0142465444 Remove hostapd and supplicant HIDL HALs from
the current compatibility matrix.

Bug: 196235436
Test: Build
Change-Id: Id4cca2932b03023ba45e0a5773bf703dcd78b9f7
2022-02-10 18:16:34 +00:00
Robert Shih
fe6d6b122c drm hal aidl API cleanup
* Merge IDrmFactory / ICryptoFactory
* Simplify isContentTypeSupported / isCryptoSchemeSupported
* Remove requiresSecureDecoderDefault
* DecryptArgs
* DestinationBuffer union
* byte[16] Uuid
* KeyStatusType underscores
* setSharedBufferBase generic buffer type

Bug: 214410088
Test: VtsAidlHalDrmTargetTest
Change-Id: Ic30100af9bdb95aff9d140e093edb083c1b49592
2022-02-09 18:13:45 -08:00
TreeHugger Robot
df8160ff25 Merge "Remove InputClassifier from current compatibility" 2022-02-07 22:02:19 +00:00
Mikhail Naganov
8140f5660a Audio HAL V7.1: Update the default implementation
Split versions of "common" and "core" types from
the version of the interfaces. "Common" and "core"
versions are set to 7.0.

Implemented new methods of V7.1 interfaces.

Bug: 214426419
Test: m android.hardware.audio@7.1-impl
Test: m android.hardware.audio@7.0-impl
Test: m android.hardware.audio.effect@7.0-impl
Test: m android.hardware.audio@6.0-impl
Change-Id: Ic4c44d4ac9bbfa7b62695866b9aa7473658390b2
(cherry picked from commit 7d01538eec)
Merged-In: Ic4c44d4ac9bbfa7b62695866b9aa7473658390b2
2022-02-05 00:44:17 +00:00
TreeHugger Robot
c1671c38c8 Merge changes from topic "aidlCameraHalInterfaces"
* changes:
  Add AIDL interface files for android.hardware.camera.common .
  Add AIDL interfaces for camera device hal functionality.
  Add AIDL interfaces for camera HAL provider.
  Add AIDL interfaces for camera metadata.
2022-02-05 00:06:59 +00:00
Siarhei Vishniakou
cb39dd0514 Remove InputClassifier from current compatibility
We don't need InputClassifier because it was converted to aidl
InputProcessor. New usages should all be on aidl.

Bug: 205761620
Test: tested deep touch on device
Change-Id: Id6b3c1db30f218e4cc1fa1653817a458f5ab56bf
2022-02-04 14:10:53 -08:00
TreeHugger Robot
6f691f1810 Merge "composer: AIDL HAL may replace HIDL HAL." 2022-02-04 21:42:41 +00:00
Jayant Chowdhary
0b0d7332f1 Add AIDL interface files for android.hardware.camera.common .
Bug: 196432585

Test: build; implementation will be submitted later.

Change-Id: Ic7577c557195464d9ef99506d8ceba172db14e0b
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-04 09:47:05 -08:00
Jayant Chowdhary
fd3b3c6c72 Add AIDL interfaces for camera device hal functionality.
Bug: 196432585

Test: build; Implementation will submitted later.

Change-Id: Ibc9477a6b088e85822087776e93e65f3243ea0bb
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-04 09:47:05 -08:00
Jayant Chowdhary
75aec9028a Add AIDL interfaces for camera HAL provider.
Bug: 196432585

Test: build; Implementation will be submitted later.

Change-Id: Ia50fe0502c811dddd706781c653f038e0415eb4d
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-04 09:47:03 -08:00
Evan Severson
ff90be0efa Merge "Add CAMERA in light type for android.hardware.light" 2022-02-04 17:42:41 +00:00
Jayant Chowdhary
33e7fef887 Add AIDL interfaces for camera metadata.
Bug: 196432585

Test: build; Implementation will be submitted later.

Change-Id: I1fe9488bb34ef5c0a755d7bb8f284cc1fbc8f298
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2022-02-04 07:53:30 -08:00
Chungjui Fan
ef2da6da7f Add CAMERA in light type for android.hardware.light
Bug: 199718333
Test: VTS pass
Change-Id: I3c5c30ae557b3e35b2a995bfd9a75a86192651ba
2022-02-03 17:59:05 -08:00
Jason Macnak
50a73bca75 composer: AIDL HAL may replace HIDL HAL.
Relax the requirement on compatibility matrices that the HIDL
composer HAL must exist on devices with target level 7 as they
may have the AIDL composer HAL instead. Use
DeviceManifestTest.ComposerHal to enforce the requirement instead.

Bug: b/216514585
Test: vts_treble_vintf_vendor_test
Change-Id: I7fc85b3c8841d9686863ab52c8b5bb88e1f5ee0a
2022-01-31 11:43:58 -08:00
Wei Wang
795025ebd9 Require Power HAL v2
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ib6c4012afaa1f4544d8c11bc613e9c30adc3398d
2022-01-31 08:47:32 -08:00
Siarhei Vishniakou
88d18bf4bd Convert InputClassifier HAL to AIDL
No changes to the HAL are made in this change, we are only updating the
interface to use AIDL.
At the same time, the HAL is getting renamed to 'InputProcessor', which
will mean that it's more general-purpose than just classification. We
will be adding more stuff to this HAL in the future.

Bug: 167946763
Bug: 205761620
Test: integration tested with other framework changes on top
Change-Id: I8046cd5c74e1b69f85f21b28d5c4c3b88a61bb33
2022-01-28 12:15:47 -08:00
Mikhail Naganov
9b5dcd32aa Merge changes from topic "b-214426419-hal-v7_1"
* changes:
  Audio HAL V7.1: Update VTS
  Audio HAL V7.1: Update the default implementation
  Audio HAL V7.1: Interfaces & types
2022-01-26 18:57:31 +00:00
Mikhail Naganov
7d01538eec Audio HAL V7.1: Update the default implementation
Split versions of "common" and "core" types from
the version of the interfaces. "Common" and "core"
versions are set to 7.0.

Implemented new methods of V7.1 interfaces.

Bug: 214426419
Test: m android.hardware.audio@7.1-impl
Test: m android.hardware.audio@7.0-impl
Test: m android.hardware.audio.effect@7.0-impl
Test: m android.hardware.audio@6.0-impl
Change-Id: Ic4c44d4ac9bbfa7b62695866b9aa7473658390b2
2022-01-25 01:24:52 +00:00
George Chang
803420a309 Merge "Add new aidl interface for android.hardware.nfc" am: d4dcde3bc1 am: 0252bda2b0 am: ddebafd43c am: bea9e2c7a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1878145

Change-Id: Ib6c2df19302a7efcce7f4fa191a9194406d71c2d
2022-01-22 02:57:38 +00:00
Badhri Jagan Sridharan
36675ba54c Merge changes from topics "199357330", "200993386"
* changes:
  Add Vts test for limitPowerTransfer interface
  Add limitPowerTransfer API to IUsb
  VTS tests for USB AIDL interface
  Migrate IUsb to AIDL
2022-01-22 01:20:20 +00:00
Badhri Jagan Sridharan
b9f69ea776 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
2022-01-21 18:49:07 +08:00
John Reck
d126297c23 Merge "Add front buffer usage" 2022-01-20 20:21:52 +00:00
TreeHugger Robot
ba4200fbd8 Merge "Add Stable AIDL version of EVS HAL" 2022-01-20 07:03:07 +00:00
George Chang
dbc36e52e1 Add new aidl interface for android.hardware.nfc
Bug: 204868826
Test: m android.hardware.nfc-update-api
Test: atest VtsAidlHalNfcTargetTest
Change-Id: Ic1dddd8385f8f8e4d6f5f9ed39623d2247f7e7b3
2022-01-20 06:57:46 +00:00