Commit graph

1220 commits

Author SHA1 Message Date
Jooyung Han
04b6f562c6 Mark uwb HAL as updatable-via-apex am: ada622499b am: d4cdef4d69 am: b56904b72f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24483305

Change-Id: I71bbe54387cf4344193f35fcf3845e9d07edc3c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-21 17:12:07 +00:00
Jooyung Han
ada622499b Mark uwb HAL as updatable-via-apex
The AOSP implementation of UWB HAL will be packaged in APEX.

Bug: 296487624
Test: m
Change-Id: I89004f6064fdd3ffae13e64b051208e136a03ac1
2023-08-21 06:07:04 +00:00
Matt Buckley
91b86549f8 Merge "Add plumbing for ADPF Power Efficiency hint" into main 2023-08-14 21:48:42 +00:00
Jooyung Han
671f4036cb Mark keymint HAL and its friends as updatable-via-apex am: 49e6433617 am: 08b0be5b4e am: 670dcc0af3 am: 998037a733 am: 6d84158410
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2704374

Change-Id: I733cb88925b9ae994aa5f2c084076d0724131971
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-12 03:13:46 +00:00
Jooyung Han
670dcc0af3 Mark keymint HAL and its friends as updatable-via-apex am: 49e6433617 am: 08b0be5b4e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2704374

Change-Id: I1444f400cb8912c9e053d97f76c1838460cb993c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-12 00:37:54 +00:00
Treehugger Robot
ae6f8752b5 Merge "matrices: Delete gnss.*." into udc-dev-plus-aosp am: 22004d86fd am: 254912d162 am: 33f2ece12e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24377534

Change-Id: If8beef3a46f414c5a93e748e440962e9bba98cbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-11 20:51:07 +00: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
1ef2f14aa8 Merge changes from topic "fcm_exclude_aidl_version" into main am: 76d87305d5 am: 74e0c01e15 am: fa24ef60cb am: d9a5e4104f am: 29e9b28719
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2688568

Change-Id: I59e322e9b0b1534628fbc0e49ac9b11e55c81ac7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-10 02:35:18 +00:00
Yifan Hong
2cfbbf09de matrices: Delete gnss.*.
These aren't top-level interfaces.

Bug: 255383566
Test: TH
Change-Id: I6a9c84b735bd2e233c2976211aa1ec79cd7b609c
(cherry picked from commit 28630885a035ef61bc06240801858689e73648a9)
2023-08-09 15:41:12 -07:00
Yifan Hong
fa24ef60cb Merge changes from topic "fcm_exclude_aidl_version" into main am: 76d87305d5 am: 74e0c01e15
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2688568

Change-Id: Icc68b709220dff71e7ecfcf37c5ccb0bf6622ffc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-09 21:35:38 +00:00
Matt Buckley
1fde90c153 Add plumbing for ADPF Power Efficiency hint
These patches introduce a new power efficiency mode for hint sessions
to the public API, and internally expose a new setMode API for hint
sessions that resembles the setMode API for iPower, to control
different session operating modes.

This set of patches:
 - Updates the PowerHAL AIDL to version 5, and updates relevant bp files
 - Exposes new setPreferPowerEfficiency(bool enabled) method from the
 SDK and NDK
 - Exposes new setMode(int mode, bool enabled) method from PowerHAL AIDL
 and HintManagerService
 - Adds support for new setMode call in PowerHAL

Bug: b/288117936
Test: manual
Change-Id: Id006341b5ab0ae6fadd975d740d2fcf89f0636e4
2023-08-08 22:09:14 +00: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
Yifan Hong
a0dff6551e matrices: automotive.audiocontrol in 7.xml has max version am: 966a4f13a5 am: 980a0781a7 am: 5902a1fa71 am: 703091afe7 am: 4bb205239d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2688072

Change-Id: I5427f9069a5157a4aa7f0d20b539d7994ed6e13b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 04:59:46 +00:00
Yifan Hong
5902a1fa71 matrices: automotive.audiocontrol in 7.xml has max version am: 966a4f13a5 am: 980a0781a7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2688072

Change-Id: Ie9032fec537abe6040c502c4329db8c45607710b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 02:43:37 +00:00
Yifan Hong
0a928b1718 Merge "fcm_exclude: split HIDL and AIDL predicate." into main am: 23847d4411 am: a2f7b02a8c am: 01a3afed45 am: 8bcce246a2 am: 7725da1b9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2688566

Change-Id: I619b1a183cdac9b2d754bfd889ab9b82d143ed87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 02:22:43 +00:00
Yifan Hong
01a3afed45 Merge "fcm_exclude: split HIDL and AIDL predicate." into main am: 23847d4411 am: a2f7b02a8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2688566

Change-Id: If04f6ddb0dd26467344c569918996e3fe13e6444
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-05 00:53:47 +00: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
3fd7e5c17d threadnetwork: declare in V matrix. am: 36c440a4b3 am: accfbc2c06 am: d60ca5d34e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24289189

Change-Id: I221564888cfaa8945a1bdd4a76dea2751c6b18b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-02 17:52:36 +00:00
Yifan Hong
36c440a4b3 threadnetwork: declare in V matrix.
... instead of specifying in fcm_exclude.cpp.

Test: TH
Bug: 255383566
Change-Id: I5aa1f654ef8cdfd37737f045854a87d33c36b70b
2023-08-01 16:34:47 -07: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
45d6657f8f Merge "Include <functional> for std::function and std::placeholders" into main am: e5896f0fea am: 073c14a320 am: ce87f3a63d am: bc5e1931d8 am: afa3d1a2cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2674342

Change-Id: Iaf5083189f9d9faf5f97b07bafc56d59a2750b4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-26 00:35:13 +00:00
Ryan Prichard
ce87f3a63d Merge "Include <functional> for std::function and std::placeholders" into main am: e5896f0fea am: 073c14a320
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2674342

Change-Id: I6af09129d24876e8582ab2121512dd16b1ec3492
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-25 22:12:55 +00:00
Ryan Prichard
e5896f0fea Merge "Include <functional> for std::function and std::placeholders" into main 2023-07-25 20:17:01 +00:00
Treehugger Robot
d8b137e8ad Merge "FCM: add c2 software, IConfigurable instances" into main am: 75275ce51e am: 33fcf56f2c am: 3da1fa5fa1 am: 3390e26143 am: 5c6efdebe4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2666395

Change-Id: Iabc11c68bf41ab7f4c9b5421f7ad94b1e2f66504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-22 00:29:38 +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
3da1fa5fa1 Merge "FCM: add c2 software, IConfigurable instances" into main am: 75275ce51e am: 33fcf56f2c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2666395

Change-Id: Ia81a3e1b894fbb55c01387a54ed65de3a0a25758
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 22:14:40 +00: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
Treehugger Robot
cc6c59afae Merge "Require mapper4" into main am: 1da295ca82 am: 1a72ce6fca am: b5d9f4483a am: b607ed9013 am: abb9754df8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665655

Change-Id: Id000da5e5849300f3adbca1869ac250963ac2ad5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-19 22:50:46 +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
b5d9f4483a Merge "Require mapper4" into main am: 1da295ca82 am: 1a72ce6fca
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2665655

Change-Id: I1aeb2f2d0a98f872c8f0b746c72495c3ee591ee4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-19 20:40:09 +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
Ram Indani
4a97f080ed Merge changes from topic "HWC3-V3" into main
* changes:
  [Composer VTS] Adds VTS for getDisplayConfigurations
  Upgrade Composer interface version
  [Composer-HAL-AIDL] Interface changes with getDisplayConfigurations
2023-07-15 03:51:04 +00:00
Treehugger Robot
5a51b7973a Merge "compatibility_matrices: Only allow core HALs for system FCMs." into main am: 00e273d023 am: f06a9bc431 am: 609c5af5df am: c44a6c1b4d am: 025d18a0c8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2652625

Change-Id: I6321f9038d0f9ba7fc3aeca558465587241c3293
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-15 00:33:48 +00:00
Treehugger Robot
609c5af5df Merge "compatibility_matrices: Only allow core HALs for system FCMs." into main am: 00e273d023 am: f06a9bc431
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2652625

Change-Id: Id4a89277236909e76b8af9bebdb8948d21766775
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 23:02:33 +00:00
Yifan Hong
9608b8a7ec Merge "compatibility_matrices: add vintf_compatibility_matrix.core_hals." into main am: 7066d3369a am: c06ac12354 am: a31a6d0c74 am: 2171ca5bfc am: 68781db031 am: de71948c67
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2652627

Change-Id: Ia15df7f37d53136e236c5efa3923037683b9b4ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 00:53:45 +00:00
Steven Moreland
c0b1114f0b Merge "compat matrix: add ISap slot2" into udc-dev-plus-aosp am: c4f6ec1887 am: 4416477947 am: 9f92f8eedc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24047365

Change-Id: Id4874da954d5b60a16bcff138dc1d6322df3f178
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14 00:53:22 +00:00
Yifan Hong
2171ca5bfc Merge "compatibility_matrices: add vintf_compatibility_matrix.core_hals." into main am: 7066d3369a am: c06ac12354 am: a31a6d0c74
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2652627

Change-Id: I2a10c3727080b77f92eff9093f24d0b7e83d797e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-13 21:59:00 +00:00
ramindani
e50ed5d4e6 Upgrade Composer interface version
Test: device boots, atest libsurfacerflinger_unittest, atest VtsHalGraphicsComposer3_TargetTest
BUG: 284866749
BUG: 287517352
Change-Id: I803a4291c0839857f7e23696da7dac4c15a21e09
2023-07-13 10:55:20 -07: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
Steven Moreland
719f646530 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
2023-07-12 23:15:48 +00:00
Yifan Hong
7ac167aa98 Merge "compatibility_matrices: Add script to create the next." into main am: 9d0b975f6c am: 32ff4ec295 am: b574f6e46e am: 3716063e4e am: deda0b835a am: e1c61854ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2572973

Change-Id: Iaec5da82fa5c4817f3ad8b47caa8c9b426118692
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-11 01:10:23 +00:00