Commit Graph

1432 Commits

Author SHA1 Message Date
Treehugger Robot
01d76c7bbe Merge "Retroactively allow sounddose V3 in 202404 FCM" into main am: a7fffef352 am: ee926a6a70
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3236545

Change-Id: I7113fa742c08f0f0b0e67a1ad680e46945f3355a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 23:53:06 +00:00
Treehugger Robot
ee926a6a70 Merge "Retroactively allow sounddose V3 in 202404 FCM" into main am: a7fffef352
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3236545

Change-Id: I43d28b46f700588acfa9099cbf80164502a19058
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 23:48:33 +00:00
Treehugger Robot
a7fffef352 Merge "Retroactively allow sounddose V3 in 202404 FCM" into main 2024-08-21 23:38:48 +00:00
Devin Moore
845b0855f1 Retroactively allow sounddose V3 in 202404 FCM
There are changes in common audio libraries that force the sounddose
implementation to be bumped if any of the other audio implementations
are bumped.
Since we want to deprecate the sounddose interface and remove it from
FCMs > 202404, we need to retroactively allow the new sounddose version.
The other audio interfaces don't need this treatment because the newer
versions are added to the newer FCMs and we allow older devices to
implement them.

Test: m
Bug: 361383071
Change-Id: I195053bb6c5b6cb01584398eafc86f8fbcdd1148
2024-08-21 22:33:28 +00:00
Vlad Popa
cafd7cb21f Remove the ISoundDoseFactory HAL library am: e2a71fb696 am: d8b231b4b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3233984

Change-Id: I55045466f47d7ded99f7e3f65a8f6c273f86a2d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 18:31:27 +00:00
Vlad Popa
d8b231b4b2 Remove the ISoundDoseFactory HAL library am: e2a71fb696
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3233984

Change-Id: I74d070b0a7b2e7e4b3efc0f19cc98b451a08660f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-21 18:26:20 +00:00
Vlad Popa
e2a71fb696 Remove the ISoundDoseFactory HAL library
When supporting the audio AIDL HAL, we do not use the ISoundDoseFactory
anymore. Removing it from the compatibility matrix.

Flag: EXEMPT bugfix
Test: trivial
Bug: 356641174
Change-Id: I241c4b93ea6aa4e5499bc9e924d6df4f4bd464a7
2024-08-21 10:09:52 -07:00
Treehugger Robot
248fee9ee8 Merge "Convert hardware/interfaces/compatibility_matrices/Android.mk to soong" into main am: 6c7d5ded29 am: 61ef7ac739
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3195743

Change-Id: I8e3ce6ca3801a72475cdc0b57ce674ff52234448
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-15 09:55:31 +00:00
Treehugger Robot
61ef7ac739 Merge "Convert hardware/interfaces/compatibility_matrices/Android.mk to soong" into main am: 6c7d5ded29
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3195743

Change-Id: I85c16131c55cb9b2921bf025f7e8e6a7dd9f39d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-15 09:35:44 +00:00
yangbill
a1d5770c37 Convert hardware/interfaces/compatibility_matrices/Android.mk to soong
Add a new attribute type which value could only be device_fcm and
product_fcm if set to the vintf_compatibility_matrix module type which
could be used to generate framework_compatibility_matrix.device.xml and
product_compatibility_matrix.xml in soong to convert the original Android.mk

Bug: 352234038
Bug: 344445679

Test: lunch aosp_cheetah-trunk_staging-userdebug
      m framework_compatibility_matrix.device.xml \
        product_compatibility_matrix.xml

Test: lunch aosp_trout_x86_64-trunk_staging-userdebug
      m framework_compatibility_matrix.device.xml \
        product_compatibility_matrix.xml

Test: lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
      m framework_compatibility_matrix.device.xml \
        product_compatibility_matrix.xml
      diff $ANDROID_PRODUCT_OUT/system/etc/vintf/compatibility_matrix.device.xml \
           device/google/cuttlefish/system_image/compatibility_matrix.device.xml

Change-Id: I1690cf29462c91f5ab80f7a78f6df9cdb6abbf2f
2024-08-15 03:30:53 +00:00
Sally Qi
18e4f4b30c Merge "[Aidl] Add LUT HAL" into main 2024-08-13 18:22:43 +00:00
Sally Qi
ac6824fb33 [Aidl] Add LUT HAL
A Look-Up Table(LUT) provides either the platform or apps ways to
control tonemapping for specific content, more specifically HDR
contents.

LutProperties HAL is also exposed to OverlayProperties API.

Bug: 329472100
Test: builds
Change-Id: Ia25fb21b57c924a9f5a6b4424661a4e152db96f4
2024-08-12 13:42:53 -07:00
Wei Li
1dc35bc341 Merge "Remove unused LOCAL_ variables and related logic in hardware/interfaces/compatibility_matrices/compatibility_matrix.mk." into main am: fc8d55a0bf am: 0c487a312b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3212254

Change-Id: I71b7588e47ba4dd2e7cca73a1abc46b7d1095972
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 21:01:24 +00:00
Wei Li
0c487a312b Merge "Remove unused LOCAL_ variables and related logic in hardware/interfaces/compatibility_matrices/compatibility_matrix.mk." into main am: fc8d55a0bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3212254

Change-Id: I63c575b32d45b9838915103b5d03b59319108d90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 20:43:24 +00:00
Wei Li
fd11739a60 Remove unused LOCAL_ variables and related logic in hardware/interfaces/compatibility_matrices/compatibility_matrix.mk.
After most compatibility_matrices Make modules have been moved to Android.bp there are some unused variables and logic, so remove them to reduce the complexity which helps conversion to Android.bp and reviewing.

Bug: 352234038
Test: CIs
Change-Id: Ic2f4538b3e50cc1ca573634cd46eb64c4013420a
2024-08-08 20:38:59 -07:00
Justin Yun
dc77cd361c bump.py automatically updates the code for libvintf am: cb8fb432f2 am: a075066c33
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3183879

Change-Id: Ib2f1aec931115c0e42e5275d47734d549b92d450
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-31 05:00:34 +00:00
Justin Yun
a075066c33 bump.py automatically updates the code for libvintf am: cb8fb432f2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3183879

Change-Id: Id8d9cc8ad9556926574e5730a9bd818c850f049f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-31 04:45:41 +00:00
Justin Yun
cb8fb432f2 bump.py automatically updates the code for libvintf
Vintf finalization requires adding the new API levels to the libvintf
code. Add the automation script for that with the finalization
process.
This process will be skipped if the code already has been updated.

Bug: 331696132
Test: tools/finalization/build-step-0-and-m.sh
Change-Id: Ibd6a71337d88b71708ef378e3862e6c67364b92b
2024-07-31 12:43:20 +09:00
ziyiw
8b75b778e7 [Hal] Add request/release control event in aidl interface.
Test: compile
Bug: 344753047
Change-Id: I1e5628a3105f8ee804ed0f40d386fda872b4442b
2024-07-24 06:12:49 +00:00
ziyiw
dad5092eae [Hal] Add request/release control event in aidl interface.
Test: compile
Bug: 344753047
Change-Id: I1e5628a3105f8ee804ed0f40d386fda872b4442b
2024-07-23 10:24:00 -07:00
Bob Wang
8e4a2f93ab Merge "[Hal] Add request/release control event in aidl interface." into main 2024-07-19 22:23:48 +00:00
ziyiw
21c2e0dd6f [Hal] Add request/release control event in aidl interface.
Test: compile
Bug: 344753047
Change-Id: I1e5628a3105f8ee804ed0f40d386fda872b4442b
2024-07-18 16:22:32 +00:00
Lais Andrade
a3c332f5ff Introduce IVibrator.performVendorEffect
Introduce HAL API to perform vibration effects defined by the vendor.

The new API accepts a PersistableBundle representing the effect and some
platform-provided parameters, e.g. EffectStrength and scale.

The callback support for completion is required for this API, since
effect duration is undefined.

Fix: 345409060
Test: VtsHalVibratorTargetTest
Flag: EXEMPT HAL interface change
Change-Id: I26379ede4b64e41e1fc85feae6de5105cb636511
2024-07-18 15:26:26 +01:00
Treehugger Robot
32cde75cee Merge "Migrate all related audio component to media.audio.common.types V4" into main am: 31b4c4f88d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3041812

Change-Id: I73d089e62d88468b1b27a444f47e59a8f021cd6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 20:42:19 +00:00
François Gaffie
dab7ab0807 Migrate all related audio component to media.audio.common.types V4
-Change latest
-Unfreeze deps
-Update next compatibility matrix
-add opt sounddose v3 to fcm compat exclusions

Flag: EXEMPT HAL interface change
Bug: 307310023
Test: build & boot
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
Merged-In: I3929603471d9543febca76ef6e2959063393194f
Change-Id: I3929603471d9543febca76ef6e2959063393194f
2024-06-26 18:13:56 +00:00
François Gaffie
25aff25f0c Migrate all related audio component to media.audio.common.types V4
-Change latest
-Unfreeze deps
-Update next compatibility matrix
-add opt sounddose v3 to fcm compat exclusions

Flag: EXEMPT HAL interface change
Bug: 307310023
Test: build & boot
Change-Id: I3929603471d9543febca76ef6e2959063393194f
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2024-06-25 14:44:07 -07:00
Yu Shan
4f45ed5f75 Merge "Revert^2 "Add PER_DISPLAY_MAX_BRIGHTNESS VHAL property."" into main 2024-06-11 23:52:21 +00:00
Yu Shan
14404f2444 Revert^2 "Add PER_DISPLAY_MAX_BRIGHTNESS VHAL property."
This reverts commit 439e897d10.

Reason for revert: Seahawk now uses v3 lib, which should not be affected

Change-Id: Ia04c9a2c28829778c4d9d24b4a1138b615ac9377
2024-06-11 00:11:22 +00:00
Treehugger Robot
b0e1fb0443 Merge "Convert system_compatibility_matrix.xml to soong" into main am: bf5b700570 am: 35efb27670
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3102739

Change-Id: I50738c47add38524dcb6b97676d4b77fe049383b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 03:44:18 +00:00
Treehugger Robot
35efb27670 Merge "Convert system_compatibility_matrix.xml to soong" into main am: bf5b700570
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3102739

Change-Id: Id8eeeacbafc7fa9b74a39eb46705a192ce907dd8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-05 03:29:00 +00:00
yangbill
eb5b983d01 Convert system_compatibility_matrix.xml to soong
Bug: 342336921
Test: m system_compatibility_matrix.xml
Test: Modified build/release/flag_declarations/RELEASE_AIDL_USE_UNFROZEN.textproto \
      m system_compatibility_matrix.xml

Change-Id: I181c2054adb187332b3feb634e309a3e75425611
2024-05-27 07:54:09 +00:00
Pechetty Sravani
439e897d10 Revert "Add PER_DISPLAY_MAX_BRIGHTNESS VHAL property."
This reverts commit 57e19cdcd8.

Reason for revert: Droidmonitor triggered revert due to build breakage in b/342708614. Will be verifying through ABTD before submission.

Change-Id: I289ed2a3158e81b7b1da86df939d59970f65b0a5
2024-05-27 01:57:14 +00:00
Xin Li
64e598ce2b Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I53a278f1317f5307441103dc42dc5be6f20d7075
Change-Id: I3a53ebf7339cdb886d3c1b733b8eee1847f8832a
2024-05-24 08:28:04 -07:00
Yu Shan
57e19cdcd8 Add PER_DISPLAY_MAX_BRIGHTNESS VHAL property.
Test: m -j android.hardware.automotive.vehicle.property-update-api
Bug: 336831738
Change-Id: I16b874a0bad9ab446c4e000b1c3680363548849a
2024-05-20 14:49:30 -07:00
Treehugger Robot
cc28ee3d6a Merge "Allow vendor ISharedSecret HALs by any name" into main am: 776e39b725 am: 35c50c21e2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3038254

Change-Id: I9c6176035e2d96d6e853715a393f626367393e87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-11 10:10:16 +00:00
A. Cody Schuffelen
f693f3bc5c Allow vendor ISharedSecret HALs by any name
This works together with the keystore2 implementation which already
scans the device for implementations by any name.

Relevant code that searches for "shared secret participants":

https://cs.android.com/android/platform/superproject/main/+/main:system/security/keystore2/src/shared_secret_negotiation.rs;l=142;drc=f20c0ddd095013f983d0f73aee0285331bfae4e3

Bug: 332376454
Test: Run cuttlefish
Change-Id: I5eef81e5f55aaa327cabb5c648e085229b8ce6db
2024-04-10 12:59:00 -07:00
Jeff Pu
012679e371 Merge "Added Fingerprint Virtual HAL AIDL extension" into main 2024-03-21 21:24:25 +00:00
Jeff Pu
df81c964df Added Fingerprint Virtual HAL AIDL extension
Bug: 326227403
Test: atest android.hardware.biometrics.fingerprint.* -c
Change-Id: I967c009c99f8dc279f89c21a59cf0462d9590296
2024-03-18 15:11:03 -04:00
Devin Moore
51c2631a95 Merge "Add 202404 FCM to next release config" into main 2024-03-07 23:57:36 +00:00
Devin Moore
e3a1202176 Add 202404 FCM to next release config
202404 FCM is now frozen and supported internally. Add the 202404 FCM to
all builds to allow freezing 202404 HAL interfaces and serving the new
versions in the next release config.
Create 202504 FCM for people to start working on the 202504 interface
changes. This new file is based on the internal 202504 file.

Merged-In: Ie6d38d27a287e258c30516e0030ad8c931d06432
Test: m
Bug: 328236210
Change-Id: Iaef8117a18441951070816344aecd24fdd4969f4
2024-03-06 21:30:12 +00:00
Devin Moore
f33a3c099b Rename android16 kernel configs
We want a placeholder for the next android16 kernel configs, but we do
not yet know which version(s) will be available. So renaming them to be
android-6.next.

Test: m
Bug: 328236210
Change-Id: I921e78059c752950e9eff66dc8512171484505f5
2024-03-06 21:25:09 +00:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Devin Moore
932705cb37 Merge "Remove HIDL media.c2 from the 202404 FCM" into main am: e2955b27df am: 9fcb65ddfc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955347

Change-Id: I051859139e4144a81d7dd705a30de192adecbd78
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 21:19:42 +00:00
Devin Moore
9fcb65ddfc Merge "Remove HIDL media.c2 from the 202404 FCM" into main am: e2955b27df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2955347

Change-Id: I0aa722af82d254408f7d44675d28e01f1a9df132
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 20:40:17 +00:00
Devin Moore
e2955b27df Merge "Remove HIDL media.c2 from the 202404 FCM" into main 2024-02-09 19:55:42 +00:00
Devin Moore
e74ca1b9f6 Merge changes If8f281ec,Id711ba79 into main am: 275fc31337 am: 9fdb6fe412
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2954004

Change-Id: I8ad028f340cb690a71d7b01299cdc87975329427
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 17:51:20 +00:00
Devin Moore
9fdb6fe412 Merge changes If8f281ec,Id711ba79 into main am: 275fc31337
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2954004

Change-Id: Ifd383dedde3066771e6ef1306a6ef1b3a72c71f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-09 17:11:05 +00:00
Devin Moore
f094d4e363 Remove HIDL media.c2 from the 202404 FCM
HIDL is no longer supported in devices targeting 202404 vendor
interface.

This removes the tmp FCM fragment that was being used to declare the
media.c2 HIDL dependency.

Test: m && launch_cvd
Bug: 218588089
Change-Id: I40973f5cdc9f4c9ca891929c8e8f865119322c17
2024-02-09 00:29:25 +00:00
Devin Moore
0425916b68 bump.py remove Level.h dependency
We want to run bump.py during finalization. We don't want to have to
update Level.h and the VTS tests that early.
So this CL removes the dependency on Level.h and requires the
current/next letters of the API levels for the kernerl configs to be
passed as arguments.

Test: bump.py 202404 202505 v w
Bug: 279809333
Change-Id: If8f281eccf62d380949a5ea9f5d0d3bb2d7f19ab
2024-02-09 00:27:32 +00:00
Devin Moore
4be20f792a Update bump.py for Trunk Stable
The next year's compatbility matrix is added to a conditional statement
so it's only available on in-development release configurations.

The curent year's compatibility matrix is moved from the conditional
statement to always be added to all release configs.

The next year's compatibility matrix level is set to the next year's
level after copying the current matrix file.

Test: ./bump.py
Bug: 279809333

Change-Id: Id711ba79110c8775f715eddf37a9bf51b073ec91
2024-02-09 00:27:29 +00:00