Commit Graph

492 Commits

Author SHA1 Message Date
Treehugger Robot
b4adbffdc4 Merge "Remove usb HIDL entry in compat matrix." 2022-08-25 20:14:47 +00:00
Treehugger Robot
870d2ac41a Merge "Remove nfc HIDL entry in compat matrix." 2022-08-25 19:43:28 +00:00
Treehugger Robot
a60aa56278 Merge "Remove gnss HIDL entry in compat matrix." 2022-08-25 19:17:27 +00:00
Mikhail Naganov
df5adfde15 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
Merged-In: Ie5d67e9192a598260e762ae9368f99592c8ad97e
Change-Id: Ie5d67e9192a598260e762ae9368f99592c8ad97e
(cherry picked from commit ecdc6ca8e8)
2022-08-20 00:14:53 +00:00
Treehugger Robot
17ca272c5b Merge "Remove keymaster HIDL entry in compat matrix." 2022-08-16 22:32:29 +00:00
Devin Moore
46c44709b7 Remove usb HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Merged-In: Ibe2139b352ebb6bda141f227c1329c3625cc060f
Change-Id: Ibe2139b352ebb6bda141f227c1329c3625cc060f
(cherry picked from commit e3aaf55b87)
2022-08-16 20:00:03 +00:00
Devin Moore
c84280bcef Remove gnss HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Merged-In: Ie50d679d770e56162cd4835ccdd02eda6a4cf7df
Change-Id: Ie50d679d770e56162cd4835ccdd02eda6a4cf7df
2022-08-16 19:53:17 +00:00
Devin Moore
1795df99db Remove keymaster HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Merged-In: Ibd115673d6776c94150dd57afe3e20718bc2ed8f
Change-Id: Ibd115673d6776c94150dd57afe3e20718bc2ed8f
2022-08-16 16:30:48 +00:00
Devin Moore
cb9b12fbc1 Remove biometrics HIDL entry in compat matrix. am: 4b67aa4a1b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182457

Change-Id: I7e805dba464a54d3be84379a717c1db85a9824de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 01:29:50 +00:00
Devin Moore
aecddcad94 Remove nfc HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Merged-In: I17e1afaf834170a4dc8d0c9c2bca3557131a3123
Change-Id: I17e1afaf834170a4dc8d0c9c2bca3557131a3123
2022-08-10 22:54:01 +00:00
Devin Moore
4b67aa4a1b Remove biometrics HIDL entry in compat matrix.
This interface has been converted to AIDL.
Test: TH
Bug: 218588089

Merged-In: Ia3736a7d2a3f6e22dff266b3ee38896de9e0f46e
Change-Id: Ia3736a7d2a3f6e22dff266b3ee38896de9e0f46e
2022-08-10 22:50:01 +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
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
2eab518ff5 Merge "Gralloc: AIDL HAL may replace HIDL HAL." into tm-dev 2022-05-13 19:46:55 +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
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
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
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
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