Android 14.0.0 release 29
# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZW4AAKCRDorT+BmrEO
# eL6TAJ45qy6PbbU82x+h/Zc2x58U7R10XgCcCIAQ6mnjCoWRatjgrxilDvtcBaQ=
# =0Ngd
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 5 01:18:56 2024 EET
# gpg: using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2348 signatures in the past
# 2 years. Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg: It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381 0964 E8AD 3F81 9AB1 0E78
# By Steven Moreland (13) and others
# Via Automerger Merge Worker (182) and others
* tag 'android-14.0.0_r29': (33 commits)
Only send head tracker v2.0 transport selection on enable
Simplify transport selection logic
Updates LE transport selection logic
Add support for LE audio capability detection
Use libapexsupport only for apex variants
Adds .aconfig flag for dynamic sensors + LE audio
libhardware loads a module from APEX
Revert "Revert "Increase HidRawSensor thread priority to reduce latency""
Revert "Increase HidRawSensor thread priority to reduce latency"
Increase HidRawSensor thread priority to reduce latency
gralloc: Remove PAGE_SIZE 4096 usage
libhardware: make local_time_hal vendor only
Revert "libhardware: make memtrack vendor only"
libhardware: make vr vendor only
libhardware: make thermal vendor only
libhardware: make memtrack vendor only
libhardware: make lights vendor only
libhardware: make radio vendor only
libhardware: make consumerir vendor only
libhardware: make audio_alsaops vendor only
...
Conflicts:
include/hardware/hwcomposer_defs.h
include/hardware/hwcomposer_defs.h~HEAD
Change-Id: Ia271c292419fe943e3d0df6df7dd6f5177d5d081
Also fixes version handling in dynamic sensors sub HAL.
Bug: 298450041
Test: To be tested on device
Change-Id: I5eddd76b737f5ff5fe5ade2f8d9b271929223e76
Bug: 312510312
Test: m libhardware libhardware.vendor libhardware.vendor.com.google.cf.ir
# check DTNEEDED
# only apex variant should have libapexsupport
Change-Id: I3161b54aeb9dd6c5780041769fa149302c621279
hardware/libhw: Add S3D format definitions
S3D video has various format like left/right and top/bottom,
and this definition will be shared by hardware composer and
its client.
Change-Id: I7b5a7d9786052081bede3436177db212122b9228
CRs-fixed: 999055
hwcomposer: Add HWC_BLIT compositiontype value
- HWC_BLIT this layer will be handled in the HWC, using a
blit engine
- setting this will inform Surfaceflinger to flip FB_TARGET
change-Id: I25d19ec41b57863d451c3e390109c912faf1381c
libhardware: Disable rotation animation on External
- Added two new flags to used to inform HWC about rotation
and roation animation to HWC
- This is used to disable rotation animation on external
change-Id: I05a9796781dcda088ae6cd64481cd4e581d5cf9e
Change-Id: Idbc7e43d4fa8ec2299b4c7ee8378a1afd710cdf1
(cherry picked from commit f4b5b9a26241abfb689feec87b378ad4504c2888)
This is a squash of the following commits.
Author: Ethan Chen <intervigil@gmail.com>
Date: Fri, 03 Jul 2015 21:35:30 -0700
audio: Notify amplifier HAL of device enable/disable
Change-Id: Ice808c9b55a9e3bc8bafe5ca3ff555377d38dd8f
Author: Scott Mertz <scott@cyngn.com>
Date: Fri, 11 Sep 2015 12:09:06 -0700
amplifier: add set_parameters method
- audio hal should pass the audio_device parameters to the amplifier
to allow the amplifier to make decisions based on the additional
parameters. For example, we may want to change settings for DTS
TrueMedia use case.
Change-Id: Iccf6ef7ced2abd2e12e857eea8e580cda15eec04
Author: Scott Mertz <scott@cyngn.com>
Date: Wed, 21 Oct 2015 10:11:49 -0700
audio_amplifier: fix compilation
stdlib.h is needed explicitely with the new
toolchain/toolchain options.
Change-Id: I876041828310ec8f9fb1e0d636a38cce1977d9b9
Author: Ethan Chen <intervigil@gmail.com>
Date: Fri, 15 Jan 2016 16:12:39 -0800
amplifier: Fix compilation warning
* Forward declare str_parms
Change-Id: Iafb0ad8e4b0696807cfe568d0f89ce5dad6bcade
Author: codeworkx <daniel.hillenbrand@codeworkx.de>
Date: Sat Mar 24 21:30:34 2018 +0100
audio_amplifier: add hooks for stream parameter manipulation
This allows to modify audio parameters before the first
device selection happens which is necessary when setting ANC parameter
since it must happen before audio hal hits voice_start_call() and
selects devices. If setting ANC after stream has been started it will
trigger a re-selection of devices and cause a short downtime.
Change-Id: Icfddab5ce27235c1567a0557e63b3a7421778187
Author: Pig <pig.priv@gmail.com>
Date: Tue Sep 22 21:41:59 2020 +0800
audio_amplifier: Add new hook for setting amp feedback
Change-Id: Ied5e1ccecd1eec39522055b9fdcfb21f8c101670
Author: Alexander Koskovich <akoskovich@pm.me>
Date: Sun Jul 31 12:12:39 2022 -0700
libhardware: audio_ampifier: Fix compile
* Compiled as apart of vendor-snapshot, so need to
make sure it compiles.
Change-Id: Iae8a50a440e5cdc3c89a2e752e86adccbb50a506
Author: Luofan Chen <clfbbn@gmail.com>
Date: Wed Aug 17 15:38:41 2022 +0800
audio_amplifier: Add hook for amplifier calibration
Sometimes the amplifier will need to do calibration and fw download
on the very first boot. For example, it will need to load calibration
files from another partition, download calibration firmware to the
amplifier and play silence sound for some seconds.
While the current interface, amp_module_open, is able to handle most
of the operations mentioned above, it is not able to allow the HAL
to play silence sound, because it cannot get the needed audio_device,
or adev, it is not able to enable the snd device, and write silence
pcm data using pcm_write interface.
This change adds an interface to allow the audio_amplifier HAL to
calibrate the amplifier. It passes the required audio_device struct
to audio_amplifier as a parameter, and is called after opening the
audio_amplifier module.
Change-Id: I9d497fb5d9716bbcbc6ef9035205ee18da994e72
Change-Id: I0473143057d542c8fa0a3ec4a67ce277900badbe
libhardware loading a module from /vendor/lib/hw is dangerous when it's
used by APEX because libhardware modules don't provide ABI stability.
Now, libhardware, when it's used in APEX, loads a module from the same
APEX, not crossing the APEX/system boundary.
Bug: 300564486
Test: consumerir HAL APEX loading consumerir.default from the same APEX
Test: ConsumerIrTest VtsHalIrTargetTest
Change-Id: I086eec8d1726b9f0c42a7b1a26dfcc93f394106e