Commit Graph

469 Commits

Author SHA1 Message Date
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
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
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
Treehugger Robot
c03d837c6e Merge "Require thermal HAL for all new devices" am: a91cdf4fc1 am: de0757c51a am: cf92f0c313 am: 99f60d35df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1763487

Change-Id: Iefa06dc3b78ad36b9cb2413551706b0c58c989b6
2022-01-20 01:35:40 +00:00
Treehugger Robot
a91cdf4fc1 Merge "Require thermal HAL for all new devices" 2022-01-20 00:28:25 +00:00
Edwin Tung
bbf7fb9322 Add MeasurementCorrections AIDL HAL (hardware/interfaces)
Bug: 208728105
Test: atest VtsHalGnssTargetTest
Change-Id: I2192670951a517bd229535a083997cc9bab31287
2022-01-19 16:50:58 +08:00
Tanmay Patil
0edb613b01 Merge "Remove SurroundView HAL from compatibility_matrix.current" 2022-01-19 00:13:33 +00:00
Xusong Wang
018fc3cac8 Define AIDL reusable execution interface.
This CL defines the AIDL interface for reusable execution.

This CL also fixes a stale statement in IBurst about deadlineNs:
boot_clock should be used rather than steady_clock.

Bug: 202405342
Bug: 202431255
Test: NNT_static
Test: VtsHalNeuralnetworksTargetTest
Change-Id: I07d26909081018ffd92264d76109a66d4a0de3bd
Merged-In: I07d26909081018ffd92264d76109a66d4a0de3bd
(cherry picked from commit 0d9b1a9d28)
2022-01-18 10:49:42 -08:00
Xusong Wang
571fe74987 Merge changes from topic "nnapi-reusable-execution-hal"
* changes:
  Reusable execution at HAL level -- HAL.
  Define AIDL reusable execution interface.
2022-01-18 17:46:51 +00:00
Changyeon Jo
80189011ca Add Stable AIDL version of EVS HAL
This CL add a new set of EVS APIs written in Stable AIDL with an empty
IEvsEnumerator implementation.

Bug: 170401743
Bug: 195672428
Bug: 202031799
Bug: 202669715
Test: m -j
Change-Id: I28ff4391ba51b72299ebfae801d21a8ab0e37917
2022-01-18 08:59:19 -08:00
Ahmed ElArabawy
640c82d41c Merge "Wifi: Uprev wifi HAL to 1.6" 2022-01-15 18:52:02 +00:00
Tanmay Patil
cf9779659c Remove SurroundView HAL from compatibility_matrix.current
This will depreciate the SV HAL from Android T onwards.

Refer go/aaos-sv-hal-depreciate for details on reason

Bug: 213898970

Test: Verfied with presubmit
Change-Id: I5decd4fcf4a3ac4abc3b2229894f015ee506c03e
2022-01-15 00:30:07 +00:00
Xusong Wang
0d9b1a9d28 Define AIDL reusable execution interface.
This CL defines the AIDL interface for reusable execution.

This CL also fixes a stale statement in IBurst about deadlineNs:
boot_clock should be used rather than steady_clock.

Bug: 202405342
Bug: 202431255
Test: NNT_static
Test: VtsHalNeuralnetworksTargetTest
Change-Id: I07d26909081018ffd92264d76109a66d4a0de3bd
2022-01-14 14:58:24 -08:00
Joe Bolinger
2f382da026 Merge changes from topic "hal-logs"
* changes:
  Update common and face AIDL for session logging.
  Update common and fingerprint AIDL for session logging.
2022-01-14 22:39:44 +00:00
David Zeuthen
93b11325d3 Merge "identity: Add multi-document presentation support." am: 2e182eaf1a am: 0e7c06f8f4 am: 86b0e740e7 am: 77e54da1da
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1824772

Change-Id: I50729a1e8f29cc71966cda82092635a6c652186f
2022-01-14 22:14:16 +00:00
David Zeuthen
2e182eaf1a Merge "identity: Add multi-document presentation support." 2022-01-14 21:07:03 +00:00
John Reck
ef1d9b6f8f Add front buffer usage
Test: Builds & boots
Bug: 193558894

Change-Id: I5e6aa11b47272d9d8aa8a8bac256861f7a0629cb
2022-01-13 16:09:54 -05:00
Joe Bolinger
7bd42e1b14 Update common and face AIDL for session logging.
Bug: 204585936
Bug: 204584403
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Icba064c5c48f808327323ab64b7b63f68737a2f8
2022-01-12 16:29:35 -08:00
Ahmed ElArabawy
687ce13059 Wifi: Uprev wifi HAL to 1.6
This commit uprevs the Wifi vendor HAL to 1.6

Bug: 214108561
Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \
            VtsHalWifiV1_1TargetTest \
            VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \
            VtsHalWifiV1_3TargetTest \
            VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest \
            VtsHalWifiV1_5TargetTest VtsHalWifiNanV1_5TargetTest VtsHalWifiApV1_5TargetTest
Change-Id: I059a5de346e353f7fba1e008ecd9fb4611e66880
2022-01-12 15:10:45 -08:00
David Zeuthen
1eb12b2972 identity: Add multi-document presentation support.
This new IPresentationSession interface enables an application to do a
multi-document presentation, something which isn't possible with the
existing API. As a practical example of this consider presenting both
your Mobile Driving License and your Vaccination Certificate in a single
transaction.

Bug: 197965513
Test: New CTS tests and new screen in CtsVerifier
Change-Id: I11712dca35df7f1224debf454731bc17ea9bfb37
2022-01-10 15:12:33 -05:00
Edwin Wong
60d02cd8f7 Merge "Add Stable AIDL interface for DRM service" 2022-01-07 19:07:08 +00:00
Robert Shih
8ee98880ef Add Stable AIDL interface for DRM service
Test: m -j128 android.hardware.drm-update-api

Bug: 200055138
Bug: 170964303
Change-Id: I091d839cd94075bf36670a9494aa99f7b6c97365
2022-01-06 15:40:25 -08:00