Commit Graph

580 Commits

Author SHA1 Message Date
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
Wei Wang
7a7462397a power: bump default example implementation to version 2
Bug: 177492680
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If423a7d0fb800a9528336245c7dbf42689080f0b
2021-04-06 02:57:36 +00:00
Ytai Ben-tsvi
1be7023558 Merge changes from topic "sthal-aidl"
* changes:
  Rearrange soundtrigger3 directory structure
  Update STHAL mock sysprop to integer
  Add sthal_cli_3
  Introduce soundtrigger HAL v3
2021-04-02 17:01:16 +00:00
Tomasz Wasilczyk
b1659864bf Don't limit VHAL instances to just default.
This breaks configurable VHAL instance names (ag/9679700).

Bug: 184056488
Test: build and flash with ProtoCAN enabled
Change-Id: I463bfeb951bb4242dae5fc7f8cc8a8116c4f3570
2021-03-31 11:00:14 -07:00
Ytai Ben-Tsvi
fb55702452 Introduce soundtrigger HAL v3
This is the initial AIDL version of the soundtrigger HAL.
It is functionally equivalent to v2.4 (HIDL), but with a clean-up
interface that removes obsolete / legacy functionality and conforms to
AIDL style.

Test: Mocked the HAL and observed framework logs for basic use-cases.
Change-Id: I4525301ad1205cf41937a98b7b9f67f052cb5bd9
2021-03-30 12:37:29 -07:00
TreeHugger Robot
8e3cefe4fb Merge "Add media.c2@1.2" into sc-dev am: a3434d47f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13698132

Change-Id: I96282cdaeba2bfb454f8d91113255bc91a06675e
2021-03-23 17:11:54 +00:00
Sungtak Lee
aede9615c7 Add media.c2@1.2
Add setOutputSurfaceWithSyncObj() to IComponent.

Test: make vts -j123 && vts-tradefed run commandAndExit vts \
-m VtsHAlMediaC2V1_0Host

Bug: 157111613
Change-Id: I5a52b3d9448ea88681eb9b1b409f89723f732e9b
2021-03-22 15:59:46 -07:00
Yifan Hong
14f7544da8 Merge "Retroactively add identity V2 to 5.xml." am: 98bdd3c979 am: b588fc9f24 am: a0c714760f am: 38dfcf3d65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1606757

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5f9da8bc2890052f01d298741523b45a2c1c4ca
2021-03-09 01:15:06 +00:00
Yifan Hong
38dfcf3d65 Merge "Retroactively add identity V2 to 5.xml." am: 98bdd3c979 am: b588fc9f24 am: a0c714760f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1606757

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia74d2b9c847f168b86fcdf0a3b48208bec271081
2021-03-09 00:43:07 +00:00
Yifan Hong
98bdd3c979 Merge "Retroactively add identity V2 to 5.xml." 2021-03-08 23:01:38 +00:00
Treehugger Robot
3357af0375 Merge "Remove HIDL memtrack hal from compatibility matrix" am: 35d61d4cb1 am: b010404e42 am: bc8ba8512a am: 350f4ac6fd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1619823

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib93c1c88f53b3877c3a62f0b9c160e851aa85df9
2021-03-07 04:16:32 +00:00
TreeHugger Robot
7524fba2b3 Merge "Camera: Add support for multi-resolution input and output streams" into sc-dev am: b9ccda69d1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/13420291

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ifaf666920c7f821f3043c53adce4296220724fd0
2021-03-07 03:57:21 +00:00
Treehugger Robot
350f4ac6fd Merge "Remove HIDL memtrack hal from compatibility matrix" am: 35d61d4cb1 am: b010404e42 am: bc8ba8512a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1619823

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic5b451a0db9573ea665d24b06bf476b21a687c52
2021-03-06 00:13:12 +00:00
Treehugger Robot
35d61d4cb1 Merge "Remove HIDL memtrack hal from compatibility matrix" 2021-03-05 22:20:03 +00:00
Ytai Ben-Tsvi
a2cd51a0b9 STHAL 2.4
This version of the soundtrigger HAL adds support for dynamic resource
management by the HAL, allowing it to refuse to start/load and to
preemptively stop/unload models at its discretion.

This give the HAL more freedom to make resource allocation decisions
and avoids the need to precisely model the various constraints and
have them enforced by the framework.

Bug: 178722883
Change-Id: I58807407417fc099b7538e685309d2c846ed66fd
2021-03-05 12:41:42 -08:00