Commit Graph

860 Commits

Author SHA1 Message Date
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
Devin Moore
159e755e50 Merge "No longer allow HIDL tetheroffload for new SoCs" 2023-06-05 18:17:54 +00:00
Treehugger Robot
9ed8fb57fd Merge "No longer allow HIDL bluetooth HAL for new SoCs" 2023-06-05 18:07:05 +00:00
Devin Moore
e48a3a9014 Merge "No longer allow HIDL soundtrigger on new SoCs" 2023-06-05 18:04:49 +00:00
Jooyung Han
d877336391 Merge "Mark fingerprint HAL as updatable-via-apex" 2023-06-05 03:29:44 +00:00
Devin Moore
9bb4a8a98e No longer allow HIDL soundtrigger on new SoCs
Test: m
Bug: 218588089
Change-Id: Ib6a97dfe628a7ac6d4bfb8f23c79f7e47f5afc7d
2023-06-02 19:27:53 +00:00
Devin Moore
f503d8e0e8 No longer allow HIDL tetheroffload for new SoCs
Test: m
Bug: 205762647
Change-Id: I876c5f0f3e346ace129507143fed4f3fd569b223
2023-06-02 18:13:09 +00:00
Devin Moore
f8dc7ee0f4 No longer allow HIDL bluetooth HAL for new SoCs
Test: m
Bug: 205758693
Change-Id: I401a0944540ab77d5f24e95e7c4a157a4fedf16f
2023-06-02 18:02:59 +00:00
Jooyung Han
bf8eae1ac4 Mark Face HAL as updatable-via-apex
Bug: 279674662
Test: VtsHalBiometricsFaceTargetTest
Change-Id: I91c19a4cb1f3791cebcc70827f95e47778592e31
2023-05-31 11:23:10 +09:00
Jooyung Han
822da461a1 Mark fingerprint HAL as updatable-via-apex
This means that the HAL instances can be served by APEX.

Bug: 279674662
Test: m nothing
Merged-In: I76938ffa99d3c518483c022314b3f18749e18deb
Change-Id: I76938ffa99d3c518483c022314b3f18749e18deb
(cherry picked from commit c9b499fd73)
2023-05-31 10:55:00 +09:00
Steven Moreland
064051c782 FCM 9: remove renderscript HAL
Bug: 205762042
Test: N/A
Change-Id: I3ff81b5fb8c01f948fbda2f5fa4a6764ba3c573b
2023-04-21 20:16:36 +00:00
Yifan Hong
ffcf238842 Add compatibility matrix for V.
Test: TH
Bug: 266741352
Change-Id: Id87a43f231c9482a55e61204f9c67c975fff746c
Merged-In: Ic42e51b616782a2763eb80e1cad5ca776cc079d4
2023-04-12 21:54:01 +00:00
Yifan Hong
80aa7b7435 Finalize U kernel requirements.
Test: TH
Change-Id: Ib8805dfe93d22353f17f94c29962f171ad72749f
2023-04-11 11:17:33 -07:00
Yifan Hong
83867895ed All hals are marked optional in compatibility matrices (U)
Requirements are tested separatedly, in vts_treble_vintf_test.

New requirements are reflected in vts_treble_vintf_test. See change
If922f97cbf9fc.

Test: TH
Bug: 247575800

Change-Id: I2ffb16e226a5bcf5166a99fc6199276b9230cf50
Merged-In: I2ffb16e226a5bcf5166a99fc6199276b9230cf50
2023-03-31 14:37:00 -07:00
Yifan Hong
d1129e076c Merge "All hals are marked optional in compatibility matrices (Q~T)" 2023-03-31 19:29:52 +00:00
Yifan Hong
79ed41b0e6 All hals are marked optional in compatibility matrices (Q~T)
Requirements are tested separatedly, in vts_treble_vintf_test.

New requirements are reflected in vts_treble_vintf_test. See change
If922f97cbf9fc.

Test: TH
Bug: 247575800

Change-Id: I6bc267dee4ca6145b9e7b40abde773ce5fc52e8c
2023-03-31 19:29:18 +00:00
Alice Wang
acc1a5bd38 [dice] Remove unused service android.hardware.security.dice
This cl removes the unused service android.hardware.security.dice
together with all its usages (all of them are tests), because the
service is incomplete and not used anywhere for now and in the
near future.

The cl also removes dice from the compat matrix.

This helps us reduce some maintainance burden for the Rust dice
wrapper libraries such as libdiced_open_dice[_nostd],
libdiced_sample_inputs, libdiced_utils and their tests.

Test: atest diced_utils_test diced_sample_inputs_test \
diced_open_dice_cbor_test \
libdiced_open_dice_nostd.integration_test \
libdiced_open_dice.integration_test diced_open_dice_cbor_test
Test: m pvmfw_img microdroid_manager
Bug: 267575445
Bug: 270511529

Change-Id: I3d2497d2e8d3f88c49cae9ae80a6b4f7b652cc4a
2023-02-24 09:03:11 +00:00
Alistair Delva
b5a6aefc11 Add 6.1 kernel to current matrix
..and remove 5.10 kernel.

Bug: 264456132
Change-Id: I4c111d85b70133351d86bc1f000a388207e23b1b
2023-02-22 13:37:55 -08:00