Commit graph

848 commits

Author SHA1 Message Date
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
Treehugger Robot
abe7b164e4 Merge "Marking HIDL version of gatekeeper as optional." 2023-02-14 17:48:17 +00:00
Rongxuan Liu
6945dd3bb3 Update android.hardware.bluetooth.audio to V3
Tag: #feature
Bug: 266740545
Test: m android.hardware.bluetooth.audio-update-api &&
      atest VtsHalBluetoothAudioTargetTest
Change-Id: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
Merged-In: Ia92043aeedf12a8c68d7f4ee18a1dd52ac5a252f
2023-02-10 04:11:44 +00:00
Subrahmanyaman
85d9c3a81d Marking HIDL version of gatekeeper as optional.
To avoid incompatibility errors marking the hidl version of
gatekeeper as optional.

Bug: 268342724
Test: VtsHalGatekeeperTargetTest
Change-Id: Id9546844998ce88ed597eaae0c05a119fb9322c9
2023-02-08 18:36:19 +00:00
Treehugger Robot
d26180e5ff Merge "Remove the HIDL usb.gadget interface from the compat matrix" 2023-02-04 03:10:54 +00:00
Devin Moore
10ff4a1fc3 Remove the HIDL usb.gadget interface from the compat matrix
This has been deprecated in level 8. Use the AIDL interface instead.

Test: none
Bug: 205764057

Change-Id: I5c7ca0dc26b5dd14daceb5a31d1040f59d1421e3
2023-02-03 22:29:27 +00:00
Treehugger Robot
8c91779b64 Merge "powerstats: bump version of PowerStats HAL to V2" 2023-02-02 01:21:00 +00:00
Yifan Hong
ae32aaeedf Merge "Deprecate Android P VINTF." 2023-02-01 21:57:44 +00:00
Yifan Hong
909db8a309 Deprecate Android P VINTF.
Devices launching with P VINTF requirements
(including HALs and kernels) will
not be able to update to Android U.

If a device wish to do so, it must update the
vendor / odm partitions to match newer VINTF
requirements.

The list in fcm_execlude is generated with:

  system/libvintf/analyze_matrix/hals_for_release.py  -d -j --package-only | python3 -m json.tool

in the 3~4 section.

Test: TH
Bug: 205175891
Change-Id: I0f3584f461f9545ca9d3a508baa1e2fc562eabd3
2023-01-31 15:21:56 -08:00
Darren Hsu
c4fad13c9b powerstats: bump version of PowerStats HAL to V2
Bug: 264669398
Bug: 258321000
Bug: 266943256
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I009c09e4cd7e27250266cc7b2c1596df6fee95fe
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-01-31 14:16:23 +08:00
Treehugger Robot
9113258fe0 Merge "wifi: put vintf fragment into wifi apex" 2023-01-31 02:57:52 +00:00
Devin Moore
adf99047d5 Merge "Change optional="false" to "true" in compat matrix 7" 2023-01-30 17:55:31 +00:00
Jooyung Han
caad2b9831 wifi: put vintf fragment into wifi apex
The AOSP-version of wifi hal apex now contains the VINTF fragment in it.

Bug: 247018693
Bug: 266885060
Test: atest CtsWifiTestCases
Merged-In: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
Change-Id: Id8f196386967c3023cb5ee308d31b8cdeed7df0b
2023-01-30 11:27:22 +09:00