Commit Graph

347 Commits

Author SHA1 Message Date
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
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
Tommy Chiu
a96ae35fb4 ISharedSecret: Add strongbox definition
Bug: 188728065
Change-Id: I0cbf50f385b00a90c3647e67f34527f21131985a
2021-05-25 17:28:50 +08: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
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
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
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
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
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
Kalesh Singh
0cb82f7db8 Remove HIDL memtrack hal from compatibility matrix
Bug: 181892710
Test: N/A
Change-Id: Ic5ce43065121706de1d4e4a0f7c1c2881147ee46
2021-03-04 16:17:41 -05:00
Shuzhen Wang
25d67108b7 Camera: Add support for multi-resolution input and output streams
- Multi-resolution output streams allow for variable output sizes for
logical multi-camera.
- Multi-resolution reprocessing allows for reprocessing of
variable size images.

Test: Camera CTS, VTS
Bug: 156254356
Change-Id: I4e8b14a4d6aabdb4b194483d93af53e033c08e28
2021-03-04 13:09:32 -08:00
Yifan Hong
f40d4899b4 Revert "Add default implementation for biometrics.face@1.1"
This reverts commit 366cc53714.

Reason for revert: b/179207135.  I1aa682644b9 is not a full revert
of the original CL, so properly revert the rest.

Bug: 179207135
Test: pass

Change-Id: Id81783c9e67e63c8717fcb216e52d0d6da203c60
Merged-In: Id81783c9e67e63c8717fcb216e52d0d6da203c60
2021-02-18 14:29:36 -08:00
Yifan Hong
513ef09a21 Revert "Add default implementation for biometrics.face@1.1"
This reverts commit 366cc53714.

Reason for revert: b/179207135.  I1aa682644b9 is not a full revert
of the original CL, so properly revert the rest.

Bug: 179207135
Test: pass

Change-Id: Id81783c9e67e63c8717fcb216e52d0d6da203c60
2021-02-17 23:59:49 +00:00
TreeHugger Robot
74dab96aa8 Merge changes from topic "cec_hal_11" into sc-dev
* changes:
  Add VTS for tv.cec@1.1
  Add default implementation for tv.cec@1.1
  Add CEC HAL v1.1 to compatibility matrix
  Add TV CEC HAL v1.1
2021-02-17 09:06:39 +00:00
Treehugger Robot
7810998b01 Merge "Add RemotelyProvisionedComponent HAL." am: 0ace84a193 am: 2a325dff91 am: cb8d07c4ae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1367566

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9c8c926f99792d0d2bbc59f5c165478ae305b152
2021-02-17 01:38:12 +00:00
Shawn Willden
274bb55f10 Add RemotelyProvisionedComponent HAL.
Test: VtsHalRemotelyProvisionedComponentTargetTest
Change-Id: I51fb01f4c52949c81f3ad2d694a4afdf0fa67788
2021-02-16 07:40:59 -08:00
Albert Wang
292336884e USB HAL 1.3 interface
Supports to enable/disable USB data signaling

Bug: 142105910
Bug: 161414036

Test: USB HAL V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I55ac262dbcdd89ab039193ed467b94f80664c9ba
Merged-In: I55ac262dbcdd89ab039193ed467b94f80664c9ba
(cherry picked from commit 64bd20e416)
2021-02-16 15:26:19 +00:00
TreeHugger Robot
223dc6579b Merge "Deprecate old Contexthub HAL versions" into sc-dev 2021-02-15 23:19:24 +00:00
Anthony Stange
e5b120f096 Deprecate old Contexthub HAL versions
The latest HAL allows the Contexthub service to enforce and attribute
permissions usage when using nanoapps which must be supported on
devices launching with S+

Fixes: 180100226
Test: compile
Change-Id: Ifff454b0757abe190b22089cb7de37204ee05ce7
2021-02-12 19:25:49 +00:00
Treehugger Robot
543cc64e29 Merge "Remove stale TODOs about audio HALs" am: 1d926594bd am: b03f1398d5 am: 33820212e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1582549

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5a9000b7430b7dbef633827d7286d7876a313214
2021-02-10 22:24:33 +00:00
Treehugger Robot
1d926594bd Merge "Remove stale TODOs about audio HALs" 2021-02-10 20:56:46 +00:00
Lev Proleev
7bea57b671 Create first version of NNAPI AIDL interface am: bfd12c66e4 am: 6d928349cf am: ed6bd4d0ad
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f8d490b701a1e4fb9a4953fd9664f0e973ed9c4
2021-02-10 18:34:06 +00:00
Mikhail Naganov
7c95c4b535 Remove stale TODOs about audio HALs
Both 6.0 and 7.0 can be used for launching new
devices on S due to large amount of refactorings
in the interfaces. Vendors who don't need
the new features added in V7 are free to continue
using V6.

Bug: 142480271
Test: N/A
Change-Id: I133348b9a0a1a200ba28b2d67cac92f1962a3e09
2021-02-10 10:33:23 -08:00
Lev Proleev
6d928349cf Create first version of NNAPI AIDL interface am: bfd12c66e4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1556224

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iae3e7ff8cfecde9162c981da577e4bb9d0a87464
2021-02-10 17:09:48 +00:00
Lev Proleev
9b2940dbce Merge changes from topic "nnapi_aidl_interface"
* changes:
  Implement VTS tests for NNAPI AIDL interface
  Add utils for AIDL types conversions
  Create first version of NNAPI AIDL interface
  Add dynamic interface casting to NN utility code
2021-02-10 16:45:19 +00:00
Marvin Ramin
001be94c10 Add CEC HAL v1.1 to compatibility matrix
HAL v1.1 introduces new constants in types enums to support the new
version of the HDMI CEC specification. The interfaces remain unchanged.

Bug: 169121290
Test: make -j
Change-Id: I535099c80f56d4c8ab4f5c725b83db33a9666359
2021-02-10 11:36:39 +01:00
Lev Proleev
bfd12c66e4 Create first version of NNAPI AIDL interface
Bug: 161428342
Test: m android.hardware.neuralnetworks-update-api && m
Change-Id: Icf8123746def6f4c654dc3e413e5169ab020c8b4
Merged-In: Icf8123746def6f4c654dc3e413e5169ab020c8b4
(cherry picked from commit 8090245174)
2021-02-09 15:28:19 +00:00
Benjamin Schwartz
020ab65095 Add power.stats to compatibility matrix
Bug: 169864180
Test: m
Change-Id: I67d6d1496b663e41ac519621ef71ba957db0154c
Merged-In: I6abacd82d9bcbc5957dcad891ae5c742bc307316
2021-02-04 20:58:27 -08:00
Ytai Ben-Tsvi
6300039f3e Deprecate old soundtrigger HAL versions
This will give us an eventual path for dropping support for those old
versions, with minimal consequences, since upgrading those HAL
implementations is trivial.

Fixes: 179307730
Test: Compile
Change-Id: I9d8981126ef7be2acb9aca182de595a78630053b
2021-02-04 00:38:28 +00:00
Treehugger Robot
6f5430adcb Merge "Remove TV CEC HAL v2.0 from compatibility matrices" am: 67555a295f am: 1cb74b555c am: 2004520833
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1567420

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iad61c57303b9779f69399eb50c94e7addbe0ad55
2021-02-03 17:15:11 +00:00
Treehugger Robot
67555a295f Merge "Remove TV CEC HAL v2.0 from compatibility matrices" 2021-02-03 14:39:09 +00:00
Yifan Hong
6e1aecab64 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" am: 4213f692b4 am: cf083dcb55 am: fc54253528
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568874

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iec55b8cf92418f5b5936031ce97c51a308724075
2021-02-03 03:30:42 +00:00
Yifan Hong
4213f692b4 Merge "matrix: Add version 1 to AIDL HALs (AOSP)" 2021-02-03 02:25:41 +00:00
Marvin Ramin
1e6de22b79 Remove TV CEC HAL v2.0 from compatibility matrices
This HAL is not supported by the framework. It was confirmed that
no devices were using this HAL version and it will be removed
following this change.

Bug: 178772241
Test: make
Change-Id: Ie73e78ffde79345331753eb9ed4616653616ddf3
2021-02-02 07:10:04 +00:00
Yifan Hong
b0b0665f22 matrix: ISurroundView -> ISurroundViewService am: 5061cb62b4 am: 1a165a9eb4 am: 0da71ea7fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1568872

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I55e96503ae14c5f88722d6ee0038ff6452948950
2021-02-02 05:09:58 +00:00
Yifan Hong
5061cb62b4 matrix: ISurroundView -> ISurroundViewService
Test: none
Change-Id: I7103917ef8e48cec41d6673d825a3e5d858e9d03
2021-02-02 03:42:22 +00:00
Yifan Hong
fcd565628c matrix: Add version 1 to AIDL HALs (AOSP)
AIDL HALs declare version 1 by default when it is
missing. Make it explicit

Test: TH
Change-Id: Ia5020600eb6ee07cdcdbced16dc80da52d736269
2021-02-01 17:59:20 -08:00
junyulai
a6f6be0116 [SP14] Add HAL to set warning quota to tehtering offload hardware am: 4011f47ad6 am: d5ae08299a am: 56f2a7b3a5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1212191

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I553929b66d568e08ed9acb0ad2a217d4ae25d876
2021-01-29 22:23:59 +00:00
junyulai
4011f47ad6 [SP14] Add HAL to set warning quota to tehtering offload hardware
With current setDataLimit API, tethering offload hardware will
stop offload and trigger callback when the given limit bytes is
reached.

However, for data usage warning to work, an API that allows
tethering offload hardware to report event without stopping
offload hardware is needed.

Test: hidl-gen -Lformat android.hardware.tetheroffload.control@1.1
Bug: 149467454
Bug: 170699770
Bug: 170179169
Change-Id: I804d15f92251ef902dd2e1ff1c31ba157fa91067
2021-01-28 14:21:42 +08:00