Commit Graph

594 Commits

Author SHA1 Message Date
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
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
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
Tommy Chiu
a96ae35fb4 ISharedSecret: Add strongbox definition
Bug: 188728065
Change-Id: I0cbf50f385b00a90c3647e67f34527f21131985a
2021-05-25 17:28:50 +08:00
Steven Moreland
63fddfce8e Merge "Fix 'kernel_config' error." am: e19ee04dd6 am: feccaa3297 am: f15d3f4f09 am: 963039f741
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1714398

Change-Id: Ic03572357a244fe59fea948af12e05a399b70229
2021-05-22 00:22:51 +00: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
Steven Moreland
e0048c38c3 freeze compat matrix 6 for Android S am: 86a518cfa6 am: 9a39b9193b am: 308d6eff0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14671106

Change-Id: I53944b680553738de1f44ce9e9d500055747cb9e
2021-05-21 19:14:58 +00:00
Steven Moreland
be6a797247 freeze compat matrix 6 for Android S
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 7 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.

WARNING: this is not actually the Android S compatibility matrix in this
CL, but rather the AOSP current matrix copied into
compatibility_matrix.6.xml. The actual S compatibility matrix is not
released on AOSP yet. However, this is the parts of it which are
available on AOSP, added here in order to allow Android T development
in a way that will merge happily downstream.

Bug: 178221726
Test: boot device, vts_treble_vintf_vendor_test
Test: inspect matrix by diffing matrix with old matrix using:
    m analyze_matrix &&
    system/libvintf/analyze_matrix/hals_for_release.py
Change-Id: Id83986fc5089eefc2292f0042753f739f4e01a44
(cherry picked from commit 86a518cfa6)
Merged-In: Id83986fc5089eefc2292f0042753f739f4e01a44
2021-05-21 19:14:28 +00:00
Steven Moreland
96f878f4ee Revert "Disable current matrix."
This reverts commit e0bb84be37.

Reason for revert: needs to be reverted in sc-dev-plus-aosp and below
    to re-enable the T matrix on aosp/master-..->goog/master

Change-Id: I538533d21e624f8ee5a392d0ee7618ee0969ec87
Merged-In: I4525301ad1205cf41937a98b7b9f67f052cb5bd9
2021-05-21 18:22:37 +00:00
Steven Moreland
e0bb84be37 DO NOT MERGE: Disable current matrix.
The current matrix should not be used in Android S. However, it is left
here so that any late fixes to the S 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 S manifest to be frozen in
AOSP, and the current matrix to be enabled from aosp/master -..->
goog/master, this will be reverted in sc-dev-plus-aosp immediately after
it merges.

Bug: 178221726
Test: boot devices and vts_treble_vintf_vendor_test passes
Change-Id: I5716db7cfd629527dd33daac94244e5df41520f5
2021-05-21 00:34:09 +00:00
Steven Moreland
86a518cfa6 freeze compat matrix 6 for Android S
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 7 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: 178221726
Test: boot device, vts_treble_vintf_vendor_test
Test: inspect matrix by diffing matrix with old matrix using:
    m analyze_matrix &&
    system/libvintf/analyze_matrix/hals_for_release.py
Change-Id: Id83986fc5089eefc2292f0042753f739f4e01a44
2021-05-20 23:51:38 +00:00
Shawn Willden
42f2a2c51c Make keymaster optional. am: cc68516bd2 am: d82de97ccf am: e7d8a2a19a am: e4c611ca7a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1693845

Change-Id: I5d6c4da2f25ee6cfbafc5c6418be15b7971508db
2021-05-03 18:02:14 +00:00
Shawn Willden
e4c611ca7a Make keymaster optional. am: cc68516bd2 am: d82de97ccf am: e7d8a2a19a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1693845

Change-Id: I906c62cc63e963d08d4d569019ac44286645000d
2021-05-03 17:41:40 +00:00
Shawn Willden
cc68516bd2 Make keymaster optional.
Keymaster is now optional because KeyMint can be used instead.  This
CL makes this change retroactively back to compatibility matrix v3,
per discussion with the Treble team.

Test: Replace Keymaster with KeyMint & build
Change-Id: Id26d5bac326c494e1810516582fdd56a42c04e0d
2021-05-03 09:08:12 -06:00
Wei Wang
0449bf2fd4 Merge "power: bump default example implementation to version 2" into sc-dev am: 876960ac1c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14098209

Change-Id: Ie0f66f13ffd92d451c1b2259ef83a2b1c96262a4
2021-04-06 19:10:14 +00:00