Commit Graph

609 Commits

Author SHA1 Message Date
Chris Weir
8c42fdd095 Merge changes from topic "iinterceptor"
* changes:
  Add VTS for Netlink Interceptor
  Add default implementation for Nlinterceptor
  Move interceptor AIDL definition
2021-12-09 23:30:19 +00:00
Ady Abraham
3192f3dfdb Add Parcelable AidlComposer commands
Change the command interface to use parcelables instead of FMQ.

Bug: 201008710
Test: VTS
Change-Id: Iac67330eb34a5bcf253580e8109a67bd90483d85
2021-12-08 00:19:29 +00:00
TreeHugger Robot
f037121ffc Merge "Add new aidl interface for android.hardware.bluetooth.audio" 2021-12-03 01:11:14 +00:00
Chris Weir
7b1428f3f3 Add default implementation for Nlinterceptor
Add default Netlink Interceptor implementation

Bug: 201467304
Test: atest VtsHalNetlinkInterceptorV1_0Test

Change-Id: I7c765f9528a3d5be85bf5554e22eae51c1607548
2021-12-02 11:02:12 -08:00
Kedar Chitnis
a00b444f5d Merge "dumpstate: Add dumpstate device AIDL HAL" am: 745a344a7c am: e8222cb95a am: 40ae004029 am: 3d3108cdc0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1895055

Change-Id: I06a0a1762b1e4b7303f1f54cc4aae7912cd226f3
2021-12-01 13:12:58 +00:00
Alice Kuo
0fbd060e51 Add new aidl interface for android.hardware.bluetooth.audio
Bug: 203490261
Test: m android.hardware.bluetooth.audio-update-api

Change-Id: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
2021-11-30 13:20:03 +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
David Gross
04ed8595b5 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

Change-Id: I0b2133346b996849faac00c46885e3633c78f024
2021-11-22 11:15:01 -08:00
Treehugger Robot
d9fc15b91d Merge "Add 5.15 to the current compatibility matrix" am: 20d4bc2d00 am: bd2c32ba66 am: 718caac9a2 am: 52ddca8bdb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1887616

Change-Id: I35502e598066793ab85ee012f6fda0a8b17b6f38
2021-11-16 23:50:20 +00: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
Yu-Han Yang
75eefcda05 Merge "Add GnssBatching AIDL HAL (hardware/interfaces)" 2021-11-04 23:22:42 +00:00
Joe Bolinger
0f412c7b31 Merge "Update fingerprint AIDL with additional display id field." 2021-11-03 01:30:57 +00:00
Treehugger Robot
c1bfa2db2c Merge changes from topic "bluetooth_audio_hidl2.2" am: e1dc0e5365 am: 96f10677b9 am: 75f1728617 am: e2030a9129 am: b9af723682
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1872877

Change-Id: Iebea54346fae9a35def17c3160e617834a63de7d
2021-10-29 22:25:24 +00: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
TreeHugger Robot
1a639e6a84 Merge "audio: Add AIDL definitions for Playback/RecordTrackMetadata" 2021-10-28 18:15:10 +00:00
Mikhail Naganov
32a8ef3d8e audio: Add AIDL definitions for Playback/RecordTrackMetadata
These types are used by I/O streams of the Audio HAL and
also by other HALs, so they are placed into 'a.h.audio.common'
types-only package.

Bug: 198812639
Test: m android.hardware.audio.common
Test: m check-vintf-all
Change-Id: I7064c3819d4c8e61981542ca2ccc52ca992a4ef8
2021-10-27 14:10:37 -07: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
95f138eec0 Merge changes from topic "health-aidl" am: 713d22e0f1 am: f802438361 am: 54a25b2d7c am: 8f89dcc1be am: b78eba6435
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1861824

Change-Id: I1f00338e3ee33d246e1d8c013cff628ec5053270
2021-10-26 23:58:27 +00: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
Joe Bolinger
ce02213c6a Update fingerprint AIDL with additional display id field.
This enables the HAL to use stable display ids (i.e. config_displayUniqueIdArray).

Bug: 174868353
Test: builds
Change-Id: Ib02e9d026d116df3f9acadf6c083f44b37b4169c
2021-10-25 20:48:04 +00:00
Roshan Pius
e4790c346b Merge "uwb(interface): Add a package for Android specific params in UCI" 2021-10-18 20:27:27 +00: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
Ian Hua
a7adbcc630 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: NeuralNetworksTest_static,VtsHalNeuralnetworksTargetTest
Change-Id: Iabe45c57e2306d61055f711eda03b80b9cbe906d
2021-10-15 13:59:53 +01:00
Roshan Pius
f527f8f774 uwb(interface): Add a package for Android specific params in UCI
Along with the FIRA standard defined UCI specification, Android needs to
support some Android specific commands/params (uses vendor carve-outs in
the specifications). Use this new package to explicitly specify these
Android specific commands/params.

Note: This package is not tied to main UWB HAL interface and should be
updatable between dessert releases (infra changes needed to support
this still needs to be figured out).

Bug: 197886322
Test: Compiles
Change-Id: Id8b50a84cec40f80389cef3a7bfad920a3e07446
2021-10-13 17:15:05 -07:00
Yu-Han Yang
3a75dc0cf0 Add GnssBatching AIDL HAL (hardware/interfaces)
Bug: 201253590
Test: atest VtsHalGnssTargetTest
Change-Id: Ied71c609dff714de06e2792f51d54a2dbddbb9d8
2021-09-28 18:31:40 -07:00
Ady Abraham
3ae4dec2b3 Merge "Add composer3 AIDL" 2021-09-28 17:06:36 +00:00
Ady Abraham
fd549c90db Add composer3 AIDL
This is the initial AIDL interface based on the HIDL interface
android.hardware.graphics.composer@2.4.

Test: Build
Bug: 198690211
Change-Id: I385ea8084f9a33c2b6dd79bb9a376692fec4a399
2021-09-23 14:33:27 -07:00
Sarah Chin
a9f3345d12 Merge "Create IRadio modules" into stage-aosp-master am: 959467e980 am: 3dc1e6221d am: 1030d53880 am: 29456f53a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15883304

Change-Id: I702b6afb1519719dbc6ee0cfce3cd8f74dca04ee
2021-09-23 03:57:07 +00: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
Serik Beketayev
ce2e1e20e0 [IRadioConfig] Generating AIDL definitions
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
2021-09-20 14:45:29 -07: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
0428039269 Merge "Add Wifi HAL hostapd AIDL interface definitions." am: 7218fea0eb am: 279105a643 am: 0eba61dbbb am: 9672ab0f81 am: a775e19bd8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1811377

Change-Id: I00db67d57a342a09c67c1f1f1b1dc18a1528430e
2021-09-07 18:50:54 +00: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
Sarah Chin
4e5a846681 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
2021-09-02 23:42:58 -07: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
Ytai Ben-Tsvi
3f1c392d7e Remove STHAL 2.4
This version was only created as an intermediate version for
development and was never intended for release. STHAL 3 (AIDL) has
feature-parity with this one and is intended for release.

Bug: 181996624
Test: Manual verification of soundtrigger use-cases.
Change-Id: Ic490bbd0501ec593d741cf612f8fd995b7bb9c4e
2021-08-25 13:59:20 -07:00
Arthur Ishiguro
a257b78f60 Creates Context Hub AIDL
Bug: 194285834
Test: TreeHugger
Change-Id: Icc1e126816e2f8a11a9ef964d6889955d7827180
2021-08-19 09:47:17 -07:00
sreenivasaiah
ef861b7654 HAL implementation for UWB HAL
Bug: 195308730
Test: Compiles
Change-Id: Idae467bc435394a840cdec7dce30d0016c790a21
2021-08-11 14:26:33 -07:00
Alistair Delva
7917626e62 Merge changes from topics "drop-4.19-t", "drop-5.4-t" am: 738dd1a9e3 am: a43ab5356b am: a873ab2d96 am: f696907318
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1750036

Change-Id: I255139a5984b7887b48333a474d32d5d63e81356
2021-07-27 01:01:54 +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
Hongguang
6ee5dc3327 Convert Tuner 1.1 HIDL HAL to AIDL
Bug: 191825295
Test: make and run VtsHalTvTunerTargetTest
Change-Id: I0c346c2c2d58fd6319d0310013da4d4c00ea2b50
2021-07-23 13:48:30 -07:00
Keun young Park
7339375409 Add AIDL version of vehicle hal
- This is still under development but will replace HIDL version later.
- It will become stable later when all necessary features are ready.
- This CL translated HIDL into AIDL as it is. More changes will be added later.
- Most code was generate from hidl2aidl:
  $ hidl2aidl -o tmp android.hardware.automotive.vehicle@2.0
- translate_vehicle_props.py types.hal to generate VehicleProperty enum.
- added @utf8InCpp for all String

Bug: 148703287
Test: build, make -j android.hardware.automotive.vehicle-cpp android.hardware.automotive.vehicle-java
Change-Id: I7a7f1c0c0751ad0101958d56db939324c05400b5
2021-06-08 16:41:07 +00:00
TreeHugger Robot
53a9b25190 Merge "ISharedSecret: Add strongbox definition" into sc-dev am: e24eb35f81 am: 26f8d9982f am: 4c57f2f5f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14664575

Change-Id: I5a67cee9c294c18fa65a4464f04a84de495cbabe
2021-05-27 04:57:13 +00:00
TreeHugger Robot
4c57f2f5f0 Merge "ISharedSecret: Add strongbox definition" into sc-dev am: e24eb35f81 am: 26f8d9982f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14664575

Change-Id: Ia9a6a4bdbc2db4c96869d80cd14587128dd670a3
2021-05-27 04:35:22 +00: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