Commit graph

1192 commits

Author SHA1 Message Date
William McVicker
1ba87c3848 Merge "Update Android V compatibility matrix" into main 2023-12-04 17:48:03 +00:00
Ted Wang
2865f1ec72 Merge changes from topic "bluetooth_finder_hal" into main
* changes:
  Bluetooth Finder: Add Vts and AIDL default implement
  Bluetooth Finder: Interface for Bluetooth Finder
2023-12-01 17:41:04 +00:00
Ted Wang
36556927b1 Bluetooth Finder: Interface for Bluetooth Finder
Bug: 307897939
Test: m android.hardware.bluetooth.finder-update-api
Change-Id: I111b9e20831c094dcb42432e9d83f9fd326ff953
2023-12-01 03:49:04 +00:00
Will McVicker
01c01c11a4 Update Android V compatibility matrix
...to drop 5.15 and add 6.6.

Bug: 311450232
Change-Id: I5743f9fb403c3d1aa2d97f74f37d7ea61fe8b359
2023-11-30 18:14:38 -08:00
Yifan Hong
15d61f73d2 Merge changes from topic "revert-2652627-vintf_compatibility_matrix_core_hals-DWOQPAPLXM" into main
* changes:
  Revert "compatibility_matrices: add vintf_compatibility_matrix.c..."
  Revert "compatibility_matrices: Only allow core HALs for system FCMs."
2023-11-28 23:51:37 +00:00
Yifan Hong
f4e2519fff Revert "compatibility_matrices: add vintf_compatibility_matrix.c..."
Revert submission 2652627-vintf_compatibility_matrix_core_hals

Reason for revert: core HALs on product/system_ext FCMs are okay, just
  not deprecated versions.

Reverted changes: /q/submissionid:2652627-vintf_compatibility_matrix_core_hals

Bug: 290408770
Change-Id: I72480d05ac9efc101c7045820d1a0ef10f191f80
2023-11-17 19:24:01 +00:00
Yifan Hong
ddfa614de3 Revert "compatibility_matrices: Only allow core HALs for system FCMs."
This reverts commit 42d17688d4.

Reason for revert: core HALs on product/system_ext FCMs are okay, just
  not deprecated versions.
Bug: 290408770

Change-Id: I1d9387b10b8a20151745eec0d662454bcdcaeb95
2023-11-17 19:22:25 +00:00
Shikha Panwar
eb223ba883 Secretkeeper implementation: in-HAL/nonsecure impl
Create the default/reference implementation of Secretkeeper HAL. Status
quo, this is non-secure implementation. In reality, the HAL should be
backed by a privileged component such a trusted app.

Bug: 291224769
Test: Topic includes VTS
Change-Id: I6a4ad50482d537f5438de6201275f4020cd827df
2023-11-17 18:21:35 +00:00
Devin Moore
bafcb977b5 Merge changes from topic "upstream_next_vintf_v1" into main
* changes:
  Remove compatibility_matrix.9.xml from 'next' builds
  Mark some HALs as updatable-via-apex retroactively
2023-11-10 21:13:06 +00:00
Devin Moore
f45d423af2 Remove compatibility_matrix.9.xml from 'next' builds
This compatibility matrix has not be finalized or released yet, so it's
very important that releasing devices in the 'next' configuration don't
use its contents.

Test: m
Bug: 296930312
Change-Id: I843a24308a1653bff0b4842ff71e657304bea2c8
Merged-In: I843a24308a1653bff0b4842ff71e657304bea2c8
2023-11-09 21:39:32 +00:00
Devin Moore
2f0b6a3aea Mark some HALs as updatable-via-apex retroactively
These are all marked updatable-via-apex in compatibility_matrix.9.xml.
Adding them to compatibility_matrix.8.xml to allow Cuttlefish to build
with the apexes on 'next'

Test: m
Bug: 296930312
Change-Id: I2910695dbb7a79ca7164f7ed69437f9636d4135b
Merged-In: I2910695dbb7a79ca7164f7ed69437f9636d4135b
2023-11-09 21:39:15 +00:00
Shunkai Yao
195d3d6915 Add defaults for audio AIDL interfaces
- with defaults user don't have to change their Android.bp when there is
  a update
- update AIDL audio interfaces with android.media.audio.common.types
- update Spatialization and HeadTracking AIDL usage

Bug: 273373363
Bug: 293370815
Test: m
Test: lunch panther-trunk_staging-userdebug; m; test Bluetooth Audio
Change-Id: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
Merged-In: Ic9d8afc1d4e19e4243c66065b0a5d29156632851
2023-11-06 19:14:32 +00:00
David Drysdale
7fd838c0fe Add (nonsecure) default AuthGraph impl
Add an implementation for the AuthGraph key exchange HAL, to allow
testing and policy compliance.

In real use, IAuthGraphKeyExchange instances are expected to be
retrieved from some other HAL, allowing the AuthGraph instance to be
specifically correlated with the component that uses it.

Bug: 284470121
Bug: 291228560
Test: hal_implementation_test
Test: VtsAidlAuthGraphSessionTest
Change-Id: Ib064292d60bead663af7721fd1406f2a9b5d8ecd
2023-10-31 23:18:56 +00:00
Hasini Gunasinghe
0e2495f107 Define the AIDL interface for AuthGraph key exchange.
Introduce the AIDL methods for key exchange and the CDDLs for
the relevant input/output types that are CBOR encoded.

Use a standard comment format in CDDL files to indicate where additional
structure definitions can be found, in the hope that one day tooling
will be available to automatically check schema syntax.

Add authgraph to compatibility matrix

This CL merges the CLs: aosp/2750484, aosp/2750485, aosp/2750486 by
drysdale@google.com

Co-authored-by: David Drysdale <drysdale@google.com>

Bug: 284470121
Test: validate schemas with https://cddl.anweiss.tech/
Test: VtsAidlAuthGraphSessionTest (with nonsecure default impl)
Change-Id: I2793666ede028f8abe91569587c09dcac21c67e0
2023-10-31 23:18:56 +00:00
Steven Moreland
47b0223eaa OMX: allow in 8
Bug: 293538526
Change-Id: Ieda8e14d23c367c18537d79c28aeea8a9efbec53
Test: N/A
(cherry picked from commit ab586ba7d3)
2023-10-13 22:16:25 +00:00
Devin Moore
331cdf4127 Add the "virtual" instance for face HAL retroactively am: f426201991
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2751164

Change-Id: I0b9ddad3b8c1e53c947d6f2fbd9add87879b66a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 01:32:54 +00:00
Devin Moore
f426201991 Add the "virtual" instance for face HAL retroactively
Test: m
Bug: 300320120
Change-Id: I395865e9af3679d8cb6cd888dfc3438fa3389f95
2023-09-13 22:19:54 +00:00
Treehugger Robot
ba3c28f471 Merge "Add OWNERS files to support dirs" into main am: ab20a682ca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747142

Change-Id: Icafea03bdb30c02fcc90f44d24fe29dd04c7e0ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-13 19:39:24 +00:00
Treehugger Robot
ab20a682ca Merge "Add OWNERS files to support dirs" into main 2023-09-13 18:35:37 +00:00
Jeongik Cha
c6c7ad81e9 Merge "Define POLICYVERS" into main am: 761e419f0e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747394

Change-Id: Ibe04ae51bf90c5ba1e7670835e424771bd5d37a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 23:40:16 +00:00
Jeongik Cha
761e419f0e Merge "Define POLICYVERS" into main 2023-09-12 23:04:34 +00:00
Jeongik Cha
05f5dc325c Define POLICYVERS
Bug: 296875906
Bug: 289368466
Test: check kernel-sepolicy-version field in
  system/etc/vintf/compatibility_matrix.device.xml
Change-Id: I9b769db3649885a7b602c8ce9351b86472c84936
2023-09-12 22:10:00 +09:00
Devin Moore
a13506d7cf Add OWNERS files to support dirs
These aren't HALs and don't really have owners, but adding the OWNERS
files here to be explicit and stick to the pattern used in all the other
subdirectories.

Test: none
Bug: 296950573
Change-Id: I7cd157c79965ca40eec9bfe80d3c8dfa4c460d58
2023-09-11 17:03:06 +00:00
Yifan Hong
38aa4e9234 Merge "compatibility_matrices: T launching devices allow to use light V1 AIDL." into main am: 8b7b91080c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2746178

Change-Id: I37f3f44a93a67749053374356894b3ffbcbb9409
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 20:30:33 +00:00
Yifan Hong
8b7b91080c Merge "compatibility_matrices: T launching devices allow to use light V1 AIDL." into main 2023-09-08 20:08:25 +00:00
Yifan Hong
a06efe1543 compatibility_matrices: T launching devices allow to use light V1 AIDL.
AIDL deprecation checks are only implemented in U,
so the existing V2 requirement on the T matrix
did not take effect on T branches. Hence, we
shouldn't add requirements retroactively.

Test: TH
Bug: 298318354
Change-Id: Iaf38c6d6270f4aa9c7163540a396045be9d7865a
2023-09-08 18:37:45 +00:00
Jooyung Han
bb1e84f27f Merge "Mark neuralnetworks HAL as updatable-via-apex" into main 2023-09-01 08:47:22 +00:00
Jooyung Han
b0b30b84c1 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Merged-In: I80eb731040d23371886213941138bc73c033bb1f
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-30 03:43:40 +00:00
Jooyung Han
41b170f736 Mark neuralnetworks HAL as updatable-via-apex
Bug: 297786849
Test: m
Merged-In: I80eb731040d23371886213941138bc73c033bb1f
Change-Id: I80eb731040d23371886213941138bc73c033bb1f
2023-08-29 18:16:18 +09:00
Zhanglong Xia
0fb67b5250 Merge "order the instance android.hardware.threadnetwork in the matrix XML" into main am: bdf2b0e9ec
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2721514

Change-Id: Ib5f4d1936a7a09cd1779ce6948b186484aa923cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 02:41:50 +00:00
Zhanglong Xia
f52d91b132 order the instance android.hardware.threadnetwork in the matrix XML
Bug: 296965759
Test: m
Change-Id: I1cec104ba851d4ed8684e4c805ac71959eac8b4a
2023-08-28 10:47:56 +08:00
Xin Li
879960bdce Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I7b6fffac2ada0e039f79bad8cc9b4d954e9c3460
Change-Id: I9466127d8d0fa38df36ca99f704853b2db871e67
2023-08-25 13:29:30 -07:00
Jooyung Han
3d9a2543f4 Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: Ia6abf433be42e602b77c42c5e67eaea6cb9bd883
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:06:57 +00:00
Jooyung Han
de60dd2ae5 Merge changes from topic "threadnetwork-apex" into main
* changes:
  Move threadnetwork HAL to VAPEX
  Mark threadnetwork HAL as updatable-via-apex
  Add apexkey "com.android.hardware"
2023-08-25 07:17:09 +00:00
Jooyung Han
868b8968bf Mark threadnetwork HAL as updatable-via-apex
Since it's not available in U, we don't have to mark it in 8.xml

Bug: 296966113
Test: m
Change-Id: I5ba313208c4c43c270fd4507f3e92cea6a62dc5e
2023-08-24 16:49:25 +09:00
Jooyung Han
b5cae6c04a Mark nfc HAL as updatable-via-apex
Mark it in both 8.xml and 9.xml. 8.xml for -next configuration.

Bug: 296529752
Test: n/a
Change-Id: Ie96c38e30618cc343586f429a5d48e7108f90614
2023-08-24 14:18:57 +09:00
Jooyung Han
c589bee5ff Merge "Put authsecret example in VAPEX" into main 2023-08-23 01:16:06 +00:00
Treehugger Robot
6b25d47137 Merge "matrices: Delete gnss.*." into main 2023-08-22 21:40:00 +00:00
Yifan Hong
8446d62580 matrices: Delete gnss.*.
These aren't top-level interfaces.

Bug: 255383566
Test: TH
Change-Id: I6a9c84b735bd2e233c2976211aa1ec79cd7b609c
Merged-In: I6a9c84b735bd2e233c2976211aa1ec79cd7b609c
2023-08-22 21:03:14 +00:00
Jooyung Han
6dfa3ce49d Put authsecret example in VAPEX
authsecret example instance is put in APEX.

Bug: 296522705
Test: authsecret HAL starts from APEX in cuttlefish/goldfish
Merged-In: I226fd57fb1ec5c8da98c07292431df055e6078d7
Change-Id: I226fd57fb1ec5c8da98c07292431df055e6078d7
2023-08-21 22:54:48 +00:00
Jooyung Han
eb10186f70 Mark uwb HAL as updatable-via-apex
The AOSP implementation of UWB HAL will be packaged in APEX.

Bug: 296487624
Test: m
Merged-In: I89004f6064fdd3ffae13e64b051208e136a03ac1
Change-Id: I89004f6064fdd3ffae13e64b051208e136a03ac1
(cherry picked from commit f019dd3d145434992b5ccb61c6892186abfabdd8)
2023-08-21 15:15:42 +09:00
Jooyung Han
49e6433617 Mark keymint HAL and its friends as updatable-via-apex
Cuttlefish implementation for these HALs are moved into an APEX along
with VINTF fragments. Hence we need to mark them so in FCM.

Bug: 197988234
Test: aosp_cf_x64_64_phone boots
  keymint service starts from apex
Change-Id: I669ef4e215abc203f51bb21b7251aff601531ac7
2023-08-11 16:34:14 +09:00
Yifan Hong
19d015a45e fcm_exclude: mark bluetooth.audio@1 as deprecated.
It never shows up in any matrices. Only bluetooth.audio@2
and beyond are accepted.

Test: TH
Bug: 255383566
Change-Id: I110b73b2ed610d86aa351216fe46d9f803f8c3cf
2023-08-08 13:32:19 -07:00
Yifan Hong
a3975a563f matrices: Add gnss.* to fcm_exclude.
They aren't top level interfaces.

Test: TH
Bug: 255383566
Change-Id: I8265f531880d1dcff1bf7edfd035a25f9e2a4d70
2023-08-08 13:32:12 -07:00
Yifan Hong
68ed69dd7c fcm_exclude: Aidl HALs contains versions.
ShouldCheckMissingAidlHalsInFcm now accepts arguments of
the format android.hardware.foo@1.

Test: TH
Bug: 255383566
Change-Id: I891f749190a8db8725ec1e05b190e73ab4468254
2023-08-08 13:32:11 -07:00
Terry Guan
b324444c8a Update version for audiocontrol
Bug: 255369346
Bug: 255383566
Test: atest vts_treble_vintf_vendor_test
Change-Id: I17000be75963e511d2a56583be0f619a3dee66f1
Merged-In: I17000be75963e511d2a56583be0f619a3dee66f1
Merged-In: Ic42e51b616782a2763eb80e1cad5ca776cc079d4
2023-08-04 16:50:58 -07:00
Yifan Hong
966a4f13a5 matrices: automotive.audiocontrol in 7.xml has max version
Updates version from 1 to 1-2 to reflect the fact
that version 2 is released in Android 13.

Test: TH
Bug: 255383566
Change-Id: I290aefb51fcc54d5e5a02f8c7da5876e86f61cd9
2023-08-04 16:47:29 -07:00
Yifan Hong
23847d4411 Merge "fcm_exclude: split HIDL and AIDL predicate." into main 2023-08-04 23:16:13 +00:00
Devin Moore
aa8b667844 Remove authsecret HIDL entry in compat matrix.
This interface has been converted to AIDL.

Test: TH
Bug: 218588089
Change-Id: I091ff4acb38c42821e99f785404e922d7b71ffa2
Merged-In: I091ff4acb38c42821e99f785404e922d7b71ffa2
2023-08-02 20:02:33 +00:00
Yifan Hong
32f40c34ef fcm_exclude: split HIDL and AIDL predicate.
AIDL is going to have a new format in fcm_exclude:
android.hardware.foo@1. This cannot be excluded
properly when mixing with HIDL, so split.

Test: TH
Bug: 255383566
Change-Id: I3df9517f12b62f5112df307528d5c3deab12cfa0
2023-08-01 16:05:40 -07:00