Commit graph

592 commits

Author SHA1 Message Date
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
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
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
a91cdf4fc1 Merge "Require thermal HAL for all new devices" 2022-01-20 00:28:25 +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
David Zeuthen
2e182eaf1a Merge "identity: Add multi-document presentation support." 2022-01-14 21:07:03 +00: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
Treehugger Robot
e0a7d60db0 Merge "Add new aidl interface for android.hardware.bluetooth.audio" 2022-01-07 13:07:25 +00:00
Alice Kuo
a4dbaffaec Add new aidl interface for android.hardware.bluetooth.audio
Bug: 203490261
Test: m android.hardware.bluetooth.audio-update-api

Change-Id: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
Merged-In: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
2022-01-06 07:26:18 +00:00
Josh Wu
73cddd17b5 audio: Add AIDL definitions for Playback/RecordTrackMetadata
This is a temporary change for unblocking Bluetooth
audio AIDL development. When Audio AIDL gets
released officially, it should be overwritten.

Bug: 198812639
Test: m android.hardware.audio.common
Test: m check-vintf-all
Change-Id: Ia63135da4af4682e471e7de6b191b19e7a326a1e
Merged-In: I7064c3819d4c8e61981542ca2ccc52ca992a4ef8
2022-01-06 06:32:36 +00:00
Devin Moore
ba51f773dc Merge "Convert IR interface to AIDL" 2021-12-22 21:44:17 +00:00
Yifan Hong
199b85ed07 Merge "health: AIDL HAL may replace HIDL HAL." 2021-12-21 23:50:21 +00:00
Yifan Hong
9a3de3ccc0 health: AIDL HAL may replace HIDL HAL.
Relax the requirement on compatibility matrices
that HIDL health HAL must exist on devices with
target level 3~6, because they may have the AIDL
health HAL instead. Use DeviceManifestTest.HealthHal
to enforce the requirement.

Test: TH
Bug: 211518384
Change-Id: I9f82278bd10e2bd775705041630bcb6f421df8b8
2021-12-20 18:00:07 -08:00
Devin Moore
0de7ad674e Convert IR interface to AIDL
Add new default that implements/serves the AIDL interface.
Add new VTS test to test the interface implementation.

Test: atest ConsumerIrTest VtsHalIrTargetTest hal_implementation_test
Bug: 205000342

Change-Id: I52c4b3a70341cf91efc2fd187794e3fd60b9000c
2021-12-16 00:25:59 +00:00
Treehugger Robot
b05a7c1376 Merge "Add android.hardware.security.dice HAL interface." 2021-12-16 00:16:45 +00:00
Gabriel Biren
a798cf2c63 Merge "Add Wifi HAL supplicant AIDL interface definitions." 2021-12-15 21:13:41 +00:00
Janis Danisevskis
c3cc5a0b21 Add android.hardware.security.dice HAL interface.
The dice HAL provides access to the Dice artifacts of the running Android
instance.

Bug: 198197213
Test: VTS test comming in two ...
Change-Id: I6e84f9a9c7153e7a96c06d1d451e658b3f222586
2021-12-15 08:52:07 -08:00
Gabriel Biren
28a4812752 Add Wifi HAL supplicant AIDL interface definitions.
Converted from android.hardware.wifi.supplicant@1.4 HIDL interface.

Bug: 196235436
Test: m android.hardware.wifi.supplicant-update-api
BYPASS_INCLUSIVE_LANGUAGE_REASON=HE refers to High Efficiency

Change-Id: I9872f297450457c347fb5fe8cf4005b01d3ab1f6
2021-12-14 23:45:07 +00:00
Seth Moore
0834ba697f Merge "Revert^2 "KeyMint HAL: add curve 25519, bump version"" 2021-12-14 18:49:58 +00:00
Treehugger Robot
ac7e154391 Merge "Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."" 2021-12-13 21:28:25 +00:00
Seth Moore
d79a0ec9ed Revert^2 "KeyMint HAL: add curve 25519, bump version"
e76045d7b0

Change-Id: Ia167fd45b6e590e34523810ee10118c5c141f538
2021-12-13 20:03:33 +00:00
David Drysdale
e76045d7b0 Revert "KeyMint HAL: add curve 25519, bump version"
Revert "Bump keystore2 AIDL API version 1->2"

Revert "Advertise support of KeyMint V2"

Revert submission 1900930-version-bump

Reason for revert: Broken build on sc-qpr1-dev-plus-aosp, b/210450339
Reverted Changes:
I42a9b854f:keystore2: cope with new curve25519 enum
I167d568d6:Bump keystore2 AIDL API version 1->2
I3a16d072e:Advertise support of KeyMint V2
Ibf2325329:KeyMint HAL: add curve 25519, bump version

Change-Id: I78d4b07c41aa6bfeb367b56a58deeac6adb6ec46
2021-12-13 16:01:21 +00:00
Yifan Hong
e36f3492e9 Revert^2 "health: require AIDL HAL and deprecate HIDL HAL."
c223843fa7

Change-Id: I48d2bc41338dc3d5eb194c6f4e4602af407e3e56
2021-12-10 23:53:47 +00:00
Yifan Hong
c223843fa7 Revert "health: require AIDL HAL and deprecate HIDL HAL."
Revert "Implement health AIDL HAL on cuttlefish."

Revert submission 1891478-health-aidl-cuttlefish

Reason for revert: break db845c build
Reverted Changes:
Ibd4dec0a2:health: require AIDL HAL and deprecate HIDL HAL.
Ic1c753b40:Implement health AIDL HAL on cuttlefish.

Fixes: 210084272

Change-Id: I5ad1bcb788598eb93053c85e5d56f49643ba9037
2021-12-10 20:53:30 +00:00
David Drysdale
c069a75302 KeyMint HAL: add curve 25519, bump version
Marked as required for TRUSTED_ENVIRONMENT impls but not STRONGBOX.

Bump keymint HAL version 1->2 in defaults and in current compatibility
matrix.

Bug: 194358913
Test: build
Change-Id: Ibf2325329f0656a2d1fc416c2f9a74d505d0bf20
2021-12-09 14:07:51 -08:00
Yifan Hong
45f18ec649 health: require AIDL HAL and deprecate HIDL HAL.
Test: builds
Bug: 177269435

Change-Id: Ibd4dec0a2ae324b1207f72a43d08bef3d8abe9f7
2021-12-07 18:01:30 -08:00
Kedar Chitnis
bc09321ae2 dumpstate: Add dumpstate device AIDL HAL
- Add interface AIDL files
- Add default example service. Example service is setup as a
  lazy service.
- Add VTS test having same coverage as dumpstate device HIDL
  1.1 VTS tests

Bug: 205760700
Test: VtsHalDumpstateTargetTest, dumpstate, dumpstate_test, dumpsys
Change-Id: I63f177af5e1e16cad392ce594f1b438e5610d757
2021-11-25 07:44:46 +00:00
David Gross
2edfc467f1 Add NNAPI specification and infrastructure for FL7.
Adds operations MIRROR_PAD and REVERSE.
Extends RSQRT to support QUANT8_ASYMM and QUANT8_ASYMM_SIGNED.

DOES NOT include tests or CPU reference implementation.

Bug: 202280917

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksTargetTest

Merged-In: I0b2133346b996849faac00c46885e3633c78f024
Change-Id: I0b2133346b996849faac00c46885e3633c78f024
(cherry picked from commit 04ed8595b5)
2021-11-22 14:41:51 -08:00
Alistair Delva
0466235d8f Add 5.15 to the current compatibility matrix
Allow devices built with minlts 5.15.0 to be assigned to the current
compatiblity checks.

Change-Id: I6be6334c6ee4feac637384bfa808f1fc57facd47
2021-11-10 14:03:07 -08:00
Treehugger Robot
e1dc0e5365 Merge changes from topic "bluetooth_audio_hidl2.2"
* changes:
  Add bluetooth.audio@2.2 implementation
  Add hidl 2.2 for LE audio support
2021-10-29 21:00:22 +00:00
Alice Kuo
965138aac1 Add hidl 2.2 for LE audio support
1. Add mode and difference config type for the unicast/broadcast
2. Support multiple audio configuration with broadcast
3. Add the streamMap for unicast/broadcast

Bug: 201292721
Bug: 150670922
Bug: 197297498
Test: m android.hardware.bluetooth.audio@2.2
Change-Id: Ib95850a7e56e9a03c5b400acdaf0625f0aa8726f
2021-10-27 22:09:01 +08:00
Steven Moreland
713d22e0f1 Merge changes from topic "health-aidl"
* changes:
  health: Add to compatibility matrix.
  health: separate_platform_variant = false
  health: Convert of health HAL to AIDL
2021-10-26 22:33:31 +00:00
Yifan Hong
21a22cece4 health: Add to compatibility matrix.
For now, add as optional. Once we finished implementing
it on Android T devices, make it required.

Test: pass
Bug: 177269435
Change-Id: I148b7567d8e154cb5e16ec01b547785f90c7a706
2021-10-26 11:03:04 -07:00
Ian Hua
068df81ab6 AIDL interface changes for NNAPI feature level 6.
- Add BATCH_MATMUL operation
- Support TENSOR_INT32 for RESHAPE operation.

Also update "current" version snapshot and use
android.hardware.neuralnetworks-V2-ndk since AIDL v1 has been frozen.

Bug: 193012662
Bug: 200281183
Test: mm
Change-Id: Iabe45c57e2306d61055f711eda03b80b9cbe906d
Merged-In: Iabe45c57e2306d61055f711eda03b80b9cbe906d
2021-10-18 11:38:55 +01:00
Sarah Chin
bd8e476148 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-22 12:57:43 -07:00
Serik Beketayev
92152ac1a1 [IRadioConfig] Generating AIDL definitions
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
Merged-In: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
2021-09-21 04:52:30 +00:00
Sarah Chin
8451a3f334 Create IRadio AIDL
Create IRadio AIDL from HIDL versions 1.0-1.6 using the hidl2aidl tool.
This is just a skeleton implementation to allow 1.7 APIs to be added to
the AIDL interface. Changes to the API surface and modularization to
come after this change is merged.

Test: build
Bug: 198331182
Change-Id: Ice71b7c159b98de8b36124f379167fb579a4ea2f
Merged-In: Ice71b7c159b98de8b36124f379167fb579a4ea2f
2021-09-08 12:05:27 -07:00
Linzhao Ye
279105a643 Merge "Add Wifi HAL hostapd AIDL interface definitions." am: 7218fea0eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1811377

Change-Id: Ib9671d914729a0494d3483e46a47fa79da1fd83e
2021-09-07 17:35:53 +00:00
Chris Ye
d13f7b5495 Add Wifi HAL hostapd AIDL interface definitions.
Add AIDL version of Wifi HAL hostapd interfaces, converted from
android.hardware.wifi.hostapd@1.3 HIDL interfaces.

Bug: 194806512
Test: m android.hardware.wifi.hostapd-update-api
Change-Id: I1035f8bc9171e59967448fa438f2cc79ad53c066
2021-09-01 23:17:16 -07:00
Wei Wang
d242b2be45 Require thermal HAL for all new devices
Bug: 170130175
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If5494482ea07f05d0c62c8d61ce9cb4970c73c56
2021-07-31 00:10:09 +00:00
Alistair Delva
a873ab2d96 Merge changes from topics "drop-4.19-t", "drop-5.4-t" am: 738dd1a9e3 am: a43ab5356b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1750036

Change-Id: I30ac44cef1f276b83d01355dd3107d2d12f70963
2021-07-27 00:26:36 +00:00
Alistair Delva
b6609b4797 Remove 5.4 for T
Unlike 4.19, T can launch with 5.4, but it must be android12-5.4, which
is already covered by the 's' compatibility check, even for launch
devices.

Change-Id: I2a1f85eca2914ccf6e51c6cfa889df0810c9ae20
2021-07-26 12:31:30 -07:00
Alistair Delva
38e7a77009 Remove 4.19 for T
Change-Id: Ib9fb597adb1160901e559fd00d38e009f9de852b
2021-07-26 12:31:15 -07:00
TreeHugger Robot
8fd951e1f8 Merge "ISharedSecret: Add strongbox definition" into sc-dev am: e24eb35f81
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14664575

Change-Id: If314bff5eb395ac43de74e7012149d14e5cd4933
2021-05-27 04:08:01 +00:00
Tommy Chiu
a96ae35fb4 ISharedSecret: Add strongbox definition
Bug: 188728065
Change-Id: I0cbf50f385b00a90c3647e67f34527f21131985a
2021-05-25 17:28:50 +08:00
Steven Moreland
0f7d4e62ba Merge "Revert "Disable current matrix."" into sc-dev-plus-aosp 2021-05-21 23:59:59 +00:00
Steven Moreland
f15d3f4f09 Merge "Fix 'kernel_config' error." am: e19ee04dd6 am: feccaa3297
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1714398

Change-Id: Ic220f58bc79038dc4dd16b1776f5ba7c62c19f23
2021-05-21 23:54:13 +00:00
Steven Moreland
e19ee04dd6 Merge "Fix 'kernel_config' error." 2021-05-21 23:23:47 +00:00
Steven Moreland
3f40b2b624 Fix 'kernel_config' error.
The error is on property kernel_configs, but it is described as being on
kernel_config.

Bug: N/A
Test: N/A
Change-Id: Ifa58ac370775d5b5d01860be446bc961f52f667f
2021-05-21 20:28:03 +00:00