Commit Graph

338 Commits

Author SHA1 Message Date
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
David Zeuthen
0f8e9d1b6e Merge "Identity Credential changes for Android 12" am: ef90842503 am: 409331de91 am: 3b83d41967
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1464242

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib6012072f2682bcb31c5aead9cb8f01e560a3560
2021-01-27 07:54:40 +00:00
David Zeuthen
49f2d2558a Identity Credential changes for Android 12
- Add IIdentityCredential.deleteCredentialWithChallenge()
- Deprecate IIdentityCredential.deleteCredential()
- Add IIdentityCredential.proveOwership()
- Add IIdentityCredential.updateCredential()
- Add ProofOfBinding CBOR to AuthenticationKey X.509 certificate
- Document which API versions new methods/features appeared in.
- Mention need to declare android.hardware.identity_credential system
  feature (w/ feature version number) and do this for the default
  implementation.

Bug: 170146643
Test: atest VtsHalIdentityTargetTest
Change-Id: Ib47c7caa5f3d6fff6919f019eee44a735dba9cf8
2021-01-23 13:35:57 -05:00
Yu-Han Yang
7deb270e39 Merge "Remove GNSS HAL v3.0 (hardware/interfaces)" 2021-01-22 21:58:31 +00:00
Daniel Bright
64f69904ff Merge "Introduce Radio Hal Device Capabilities" 2021-01-22 19:08:21 +00:00
ChengYou Ho
f7cc6e75b4 Add weaver aidl interface am: 10f8a48b64 am: 40c6d690ce am: 6b0cabe09b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1554019

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie7cf56465f490ff05d039965841645c2ed1e0df4
2021-01-22 07:44:08 +00:00
ChengYou Ho
10f8a48b64 Add weaver aidl interface
Bug: 176107318
Change-Id: I4dd064843e3e630b878ff08f89100e1b4303a02c
2021-01-22 06:34:31 +00:00
Yifan Hong
1447d53a60 Merge "Deprecate HIDL health storage HAL." am: 83a5d54dfc am: 98ff64313e am: f4061df070
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1555465

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9f741d8aa7efea585ccb866f096a5d0ed516513c
2021-01-21 23:23:17 +00:00
Daniel Bright
44653cea41 Introduce Radio Hal Device Capabilities
* Asks the device what set of capabilities are supported on the device
  with respect to the Radio Hal
* The capabilities struct is left empty and will be filled
  in once the first set of radio hal capabilities are nailed down later
  in Android S

Test: Added cts, ran cts, and std tests
Bug: 163085807
Merged-In: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
Change-Id: I837d82592e8ddfef5b1ff5eb0dd983a0d13383ed
2021-01-21 14:28:51 -08:00
Yifan Hong
da86cdbf03 Deprecate HIDL health storage HAL.
If a device launching with S VINTF uses health storage HAL,
it must use AIDL. If HIDL health storage HAL is used,
a build error will occur to complain about deprecated HALs.

Test: manual test that if the HIDL HAL is served on cuttlefish, then
      `m check-vintf-all` shows the following error:

android.hardware.health.storage@1.0::IStorage/default is deprecated
in compatibility matrix at FCM Version 6; it should not be served.

Bug: 177470478
Change-Id: I3c28352f5f8d491ed0e1f9292b80d2083699f829
2021-01-20 20:38:12 -08:00