Commit graph

877 commits

Author SHA1 Message Date
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
ab20a682ca Merge "Add OWNERS files to support dirs" into main 2023-09-13 18:35:37 +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
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
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
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
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
Ryan Prichard
e5896f0fea Merge "Include <functional> for std::function and std::placeholders" into main 2023-07-25 20:17:01 +00:00
Ryan Prichard
c8fc80c47b Include <functional> for std::function and std::placeholders
Bug: b/175635923
Test: treehugger
Change-Id: I3dabb8c44334713be9e461dd81f437c3da1ea936
2023-07-21 16:18:11 -07:00
Treehugger Robot
75275ce51e Merge "FCM: add c2 software, IConfigurable instances" into main 2023-07-21 20:46:08 +00:00
Eric Biggers
2a5366d850 Merge changes from topic "weaver-vts-fix" into main
* changes:
  Don't overwrite in-use Weaver slots during VTS
  Simplify Weaver VTS test
  Remove redundant HIDL Weaver VTS test
  Move VtsHalWeaverTargetTest to common directory
  Make VtsHalWeaverTargetTest test both HIDL and AIDL services
  Clarify the Weaver documentation
  Update weaver AIDL default to use V2
  Add WeaverReadStatus to WeaverReadResponse
2023-07-20 16:53:13 +00:00
Steven Moreland
72f588429a FCM: add c2 software, IConfigurable instances
These instances were previously added manually
on a device-by-device basis. Adding them explicitly
here now.

Bug: 290408770
Test: N/A
Change-Id: Ibc1470aae02d2b1172ea62efeb5af31224b80c45
2023-07-19 21:22:38 +00:00
Treehugger Robot
1da295ca82 Merge "Require mapper4" into main 2023-07-19 18:20:57 +00:00
John Reck
34412e26a6 Require mapper4
Bug: 280901110
Test: make

Change-Id: I49fa786957716d896b5476eac32b4c6d9077fe80
2023-07-19 11:29:56 -04:00
Devin Moore
316cf58d49 Update weaver AIDL default to use V2
Test: VtsHalWeaverTargetTest
Bug: 259556049
Change-Id: Id6aa9316a20541bf2c9a7cc53345a5010a188d00
(cherry picked from commit daf12d9440)
Merged-In: Id6aa9316a20541bf2c9a7cc53345a5010a188d00
2023-07-19 04:08:53 +00:00
Steven Moreland
031aeee88c Merge "compat matrix: add ISap slot2" into main 2023-07-17 23:42:51 +00:00
Steven Moreland
477673de32 compat matrix: add ISap slot2
The framework supports this, but devices copied its support
into each of their compat matrices instead of adding it once
here.

Bug: 290408770
Test: build
Change-Id: I2de4f1365a6981a0a2ef7165c916fba91a340799
Merged-In: I2de4f1365a6981a0a2ef7165c916fba91a340799
2023-07-12 23:16:15 +00:00
Yifan Hong
42d17688d4 compatibility_matrices: Only allow core HALs for system FCMs.
For system FCMs (except device-specific
system FCM), only allow android.* and
mapper HALs.

Test: TH
Bug: 290408770
Change-Id: I4c3908911440a3c154200a6c7b338f92bd724a68
2023-07-10 17:48:37 -07:00
Yifan Hong
9fb9ff77b1 compatibility_matrices: add vintf_compatibility_matrix.core_hals.
Add core_hals attribute to the vintf_compatibility_matrix
rule. Its value is passed to assemble_vintf directly.

Test: TH
Bug: 290408770
Change-Id: Ie5e3363f0039f032033cbc2889b1bbbb0a5a56a7
2023-07-10 17:48:36 -07:00
Yifan Hong
ace13dee65 compatibility_matrices: Add script to create the next.
Add a `bump.py` script that does the following:
- Create a commit in kernel/configs with the new versions
- Copy the latest compatibility matrix to a new compatibility matrix
- Fix Android.bp and Android.mk

Prerequisite:
- libvintf/Level.h must contain the mapping for the next release.

Test: bump.py 9 10
Bug: 279809082

Change-Id: I4520a128b39f66a03f22d24218348f5fff92e9cd
2023-07-10 12:37:27 -07:00
Treehugger Robot
099240ae66 Merge "Allow face HAL to be updated via apex in U" into main 2023-07-06 22:06:52 +00:00
Nataniel Borges
d74d81bf6e Merge changes from topic "revert-2649121-cm_vintf_workaround-PMVOGMKMBW"
* changes:
  Revert "Only allow cuttlefish to use FCM 9 HALs"
  Revert "Allow fingerprint HAL to be updated via apex in U"
2023-07-06 11:41:24 +00:00
Nataniel Borges
7202c60c3a Revert "Only allow cuttlefish to use FCM 9 HALs"
Revert submission 2649121-cm_vintf_workaround

Reason for revert: b/290154726

Reverted changes: /q/submissionid:2649121-cm_vintf_workaround

Change-Id: Ied04c3892a4a00ef75f92e1f89ba38cada2f8293
2023-07-06 10:08:24 +00:00
Nataniel Borges
e42c161bcd Revert "Allow fingerprint HAL to be updated via apex in U"
Revert submission 2649121-cm_vintf_workaround

Reason for revert: b/290154726

Reverted changes: /q/submissionid:2649121-cm_vintf_workaround

Change-Id: I39d65f3a675a3616401411076a4eade403917707
2023-07-06 10:08:24 +00:00
Jooyung Han
6942901f5c Allow face HAL to be updated via apex in U
Bug: 290142180
Test: m check-vintf-all (with -next- pixel targets)
Merged-In: Ia3b15f669219a0941498b90a76b42d5f2f5ac80b
Change-Id: Ia3b15f669219a0941498b90a76b42d5f2f5ac80b
(cherry picked from commit dcd2ae7c29)
2023-07-06 17:13:41 +09:00
Treehugger Robot
8c45f4ab87 Merge changes from topic "cm_vintf_workaround"
* changes:
  Allow fingerprint HAL to be updated via apex in U
  Only allow cuttlefish to use FCM 9 HALs
2023-07-05 21:33:49 +00:00
Devin Moore
4b5d155a40 Allow fingerprint HAL to be updated via apex in U
Test: m
Bug: none
Change-Id: I7449380005bc3e0da8adcd45319ed239c004dfcc
2023-07-05 18:31:34 +00:00
Devin Moore
92aebeae51 Only allow cuttlefish to use FCM 9 HALs
In preperation for trunk stable, we need to limit all current devices to
using only frozen interfaces.

Test: m
Bug: none
Change-Id: Ifdb8bbd79fc651cb62836b6876aa39a94187a546
2023-07-05 18:31:24 +00:00
Zhanglong Xia
5c027015c3 add fuzz test and fix the Thread network HAL compile errors
Bug: 288825495
Test: Build and run fuzz test in cuttlefish

Change-Id: If14bd95657d6a71737a348ccbc6d1b05bbcc1f4c
2023-06-26 17:55:39 +08:00
Zhanglong Xia
24e527475f Add Thread network HAL
Bug: b/203492431
Test: Build and run the VTS test and run otbr-agent on Android emulator.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b82b0478059dd6203f43d5917558e34fd4ed44d5)
Merged-In: If58b5a8c75e40376ae6c6e93554afe750496308b
Change-Id: If58b5a8c75e40376ae6c6e93554afe750496308b
2023-06-14 22:24:24 +08:00