Commit graph

282 commits

Author SHA1 Message Date
New Author Name
d4b2b1a166 sm8350-common: audio: Import OOS modified volumes
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-04-10 21:58:05 +00:00
Mikhail Naganov
b3426e7152 sm8350-common: Switch audio HAL to V7
Updated audio policy manager configuration files to comply
with the changes in the XML schema.

Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: I1f96e61c6d18763099d0f87e2b880948dad80f9a
2025-04-10 21:58:05 +00:00
New Author Name
1e777fe256 sm8350-common: Include Moto Dolby Atmos
* Using dolby from: https://github.com/swiitch-OFF-Lab/hardware_dolby
* dolby: Add mediacodecs support (Useful for Apple Music)

Signed-off-by: swiitchOFF <120115258+swiitchOFF@users.noreply.github.com>
Co-Authored-By: HELLBOY017 <abhaygill017@gmail.com>
Co-Authored-By: Pranav Vashi <neobuddy89@gmail.com>
2025-04-10 21:58:05 +00:00
Michael Bestas
ba9b775ce5
sm8350-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-04-01 08:44:40 +02:00
Nolen Johnson
102054b7f3
sm8350-common: Drop PRODUCT_PACKAGES_DEBUG entry
* unnecessary

Change-Id: I22ae2c744ec55168b8367c826e55110e7534466e
2025-04-01 08:44:40 +02:00
Cosmin Tanislav
eb3c37ade2
sm8350-common: switch to common QCOM AIDL bootctrl HAL
Change-Id: I04ab771d3b1c38b58913607fbff1bb3b55e1fe25
2025-04-01 08:44:40 +02:00
Alexander Koskovich
fb32cd3a00
sm8350-common: Remove vendor RenderScript implementation.
* RenderScript is deprecated on newer platforms and
   is being officially replaced.

 * On April 19, 2021, Google announced that RenderScript
   will be deprecated in Android 12, and recommended
   porting existing code to Vulkan.

   https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html

Change-Id: I19460ef266a646b046f1e7d2f0b4eab7c48ae536
2025-04-01 08:44:39 +02:00
Yung Ti Su
3fc3cca687
sm8350-common: Enabling sound trigger V2_3
Bug: 139071862
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4123b0af64fc7bed934026540136e3811fab32f3
2025-04-01 08:44:39 +02:00
Yan Yan
592f3fe21e
sm8350-common: Add feature flag for IPSEC_TUNNEL_MIGRATION
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation

Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
2025-04-01 08:44:38 +02:00
Giovanni Ricca
323eb695e0
fixup! sm8350-common: Mark CNE symlink target as required package
Change-Id: I54480890f80789596dafe5b1fc3a1866d2baa989
2025-03-29 21:50:41 +01:00
LuK1337
3fa213b65e
sm8350-common: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-03-29 21:50:40 +01:00
Michael Bestas
9e1826293b
sm8350-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-03-29 21:50:39 +01:00
dianlujitao
5c05f11845
sm8350-common: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
2025-01-13 07:57:53 +01:00
Yumi Yukimura
6fda944d47
sm8350-common: Switch to QTI Memtrack AIDL HAL
Change-Id: Ibcbaff02fd56fbccc3a88c01a5f46a89cb212ef5
2025-01-07 08:22:35 +01:00
Giovanni Ricca
22d764c9b5
fixup! sm8350-common: do not manually build dependencies
Change-Id: I0b2ea4e8e0f8872e25f71c0075e7b6730aa75a83
2025-01-07 08:22:35 +01:00
basamaryan
9dddc05e72
sm8350-common: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-12-29 09:27:25 +01:00
Michael Bestas
cae700d2a1
sm8350-common: Switch to AIDL USB HAL
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2024-12-29 09:27:25 +01:00
Michael Bestas
fb02c70393
sm8350-common: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2024-12-29 09:27:25 +01:00
Bruno Martins
4671410c7f
sm8350-common: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-12-29 09:27:24 +01:00
Michael Bestas
299eb63dac sm8350-common: Enable ELF checks for libwfdmmsrc_proprietary
Change-Id: I7eecffc5481b44451094a6816e50436ad084db7a
2024-10-01 04:49:34 +08:00
Michael Bestas
94360ffa5a sm8350-common: Work around using prebuilt HWC
After enabling ELF checks and switching prebuilts to modules,
the init and vintf files are no longer automatically built.

Change-Id: I48fcab53a7c8128b18e1399d9afadcfd5c85b116
2024-09-30 03:56:32 +08:00
Cosmin Tanislav
b4a1eb3456 sm8350-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-09-30 03:56:25 +08:00
danielml
b1e890a14c sm8350-common: Build xiaomi-telephony-stub
To provide the required Xiaomi IMS methods

Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-09-29 05:43:16 +08:00
Michael Bestas
bd2715b97b sm8350-common: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2024-09-29 05:43:16 +08:00
Aaron Kling
fffbda7ca3 sm8350-common: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-09-29 05:43:16 +08:00
Manish Kushwaha
0b7eed4b7d sm8350-common: Migrate sensor HAL to AIDL interface
Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`

Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2024-09-28 15:53:14 +00:00
Sebastiano Barezzi
4e4a00634b sm8350-common: Drop SDM LiveDisplay service
* We switched to AOSP colors so messing with color calibration will
  confuse QDCM

Change-Id: Ia22c4c06e922d1b7f9c60b257299634333cc3fe4
2024-09-06 13:37:18 +00:00
Sebastiano Barezzi
3969a26b43 sm8350-common: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-09-01 16:49:04 +02:00
Bruno Martins
e26c0df9a9 sm8350-common: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-09-01 12:23:14 +02:00
Bruno Martins
93dc474cbe sm8350-common: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-09-01 12:22:55 +02:00
Michael Bestas
111a9bbf28
sm8350-common: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-20 22:20:26 +02:00
Chirayu Desai
9ee014a60e
sm8350-common: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true"
or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports
userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2024-06-20 18:16:01 +02:00
basamaryan
ea53efe1f0 sm8350-common: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-05-20 18:02:56 +02:00
ralph950412
8465b3f238 sm8350-common: Remove libtinyxml
It's deprecated and not being built.

Change-Id: I4142cb9bed49f87e7250ccaa5f4262254b3f11ff
2024-02-10 11:53:53 +08:00
Bruno Martins
4aca996701 sm8350-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2024-01-26 15:57:47 +01:00
LuK1337
a7f178aaa3 sm8350-common: Build android.frameworks.sensorservice@1.0.vendor
Required by mm-pp-deps.

Change-Id: Iaf821dcbb07d7820f2fc3ff5ca9cca5e973360f2
2024-01-26 15:57:47 +01:00
Bruno Martins
c2e936999b sm8350-common: Build Widevine DRM HAL dependencies
The vendor variants of android.hardware.drm@1.[0-4] are no longer
implicitly built since the migration to AIDL ClearKey DRM HAL.

Change-Id: I79c69e93e27f3c2f4a1c6f7acf5f013ee8f6cd03
2024-01-26 15:57:47 +01:00
Bruno Martins
700c7f34aa sm8350-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2024-01-26 15:57:47 +01:00
Krzysztof Kosiński
6998158401 sm8350-common: Add prebuilt protobuf 3.9.1 to vendor partition.
Needed to work around a Qualcomm HAL prebuilt.

Bug: 203713560
Bug: 258322017
Bug: 254854421
Test: Forrest
Change-Id: I4eebc60f10fbea6a66127ed3e08441db32536f78
2024-01-26 15:57:47 +01:00
Michael Bestas
d064ac4a31 sm8350-common: Switch to common QTI vibrator HAL
Change-Id: I281c6d993901ad86592d43afcac2171840998738
2024-01-11 15:44:15 +01:00
LuK1337
d536e30ca9 sm8350-common: Build AIDL NXP NFC HAL
Change-Id: I6ace3ac149c84d2cb9e2773e7ef5ddbf24c35b92
2023-10-29 00:13:11 +08:00
LuK1337
4f27250530 sm8350-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2023-10-27 00:50:38 +08:00
Gabriel Biren
231b1a47b5 sm8350-common: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2023-10-27 00:50:31 +08:00
Hridya Valsaraju
dac515ede3 sm8350-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
2023-08-21 15:07:50 +02:00
Michael Bestas
22f550f593 sm8350-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-08-21 15:07:42 +02:00
Georg Veichtlbauer
65180b6723 sm8350-common: Remove unneeded NFC package
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2023-08-21 13:04:53 +00:00
Arian
07b6eb7639 sm8350-common: Move to common sensors multihal
Change-Id: Iba4df5ebb5d653cb2d3f68fce9e682d946d20935
2023-04-16 17:43:25 +02:00
Arian
6766cd911e sm8350-common: Build graphics allocator 3.0 interface to vendor
Some camera libraries depend on it

Change-Id: I0f4638c3f383f236e813457fc88fc1c33aaa0dfc
2023-04-16 17:43:25 +02:00
Arian
f9363b11e2 sm8350-common: Import public.libraries.txt from haydn V14.0.3.0.TKKMIXM
Change-Id: Ifcd7c40246b8b43d52d151001441bfd09b80f24e
2023-04-16 17:43:25 +02:00
Chenyang Zhong
564e70fb54 sm8350-common: Build 64-bit audio HIDL as well
libnotifyaudiohal.so from the elliptic ultrasonic proximity sensor
needs the 64-bit version of android.hardware.audio@6.0.so.

Change-Id: I8a6df0ed82806e8ea0f63b03b4f5a7b5c483fbbf
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-04-16 17:43:25 +02:00