563 Commits

Author SHA1 Message Date
Albert I
96abee7717
sm7325-common: gps: Implement list empty error code for msg_q
This fixes enum-conversion warning due to implicit type enum casting
between linked_list and msg_q which happens only for status -6.

Change-Id: I27ba74c4d840b7ba0cb1017d69a30fc25b80d6b9
2025-01-19 20:34:07 +02:00
Albert I
fc379d8e02
sm7325-common: gps: Address logical-op-parentheses warning
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
2025-01-19 20:34:07 +02:00
Albert I
ad8cf65cc8
sm7325-common: gps: Reorder initializations list to satisfy warnings
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.

This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.

Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
2025-01-19 20:34:07 +02:00
Michael Bestas
b124fc1fd7
sm7325-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2025-01-19 20:34:07 +02:00
Michael Bestas
51bf8f92b4
sm7325-common: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2025-01-19 20:34:07 +02:00
Michael Bestas
1ba6959565
sm7325-common: overlay: Convert Android.mk to bp
Change-Id: I4f55c426943dd6b64524ad8a7207dd2b865bf972
2025-01-19 20:34:07 +02:00
Cosmin Tanislav
577ca9945e
sm7325-common: remove CellBroadcastReceiver overlay
Values overlayed here do not exist.

Change-Id: Ic6fb9fd733d8bff1bdd64b9d247ab4516c2d3e24
2025-01-19 20:34:06 +02:00
Michael Bestas
167ee81c54
sm7325-common: gps/location: Convert remaining Android.mk to bp
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2025-01-19 20:34:06 +02:00
Michael Bestas
cf9fc36347
sm7325-common: location: Remove unused components
loc_api_v02 and synergy_loc_api don't compile without proprietary
headers. The rest are unused so remove all of them.

Change-Id: I385c0bf79b550423464d0f09968f6b7bf7e04ac9
2025-01-19 19:12:17 +02:00
Michael Bestas
71f7f77449
sm7325-common: gpt-utils: Remove unused files
Change-Id: I8126d2d85fece1a0bc811969d7616b8c60e4bc5d
2025-01-19 19:12:17 +02:00
Steven Moreland
9641fa1439
sm7325-common: Move /vendor/ueventd.rc to /vendor/etc/ueventd.rc
The root location of this file is deprecated for Android T.

Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b
2025-01-19 19:12:14 +02:00
Nolen Johnson
75463b3300 Revert "sm7325-common: Move input surface to CCodec"
This reverts commit 7f227d2c40c4a43b7cd94fbbb1154c343e323504.

Reason: Was later in the file :/
Change-Id: Ia1c845a75a10922d5f396ecf9aeb4f686279cc4c
2025-01-15 14:25:01 -05:00
Pawin Vongmasa
7f227d2c40 sm7325-common: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 131800183
Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06

Change-Id: I33d8761e693cb3b3a813063a0cbf4d5f1c7a26a2
2025-01-15 14:22:35 -05:00
Michael Bestas
ea82725be3 sm7325-common: gps: Remove unused implementations
Change-Id: I079edea073f3ae43eaebbf04712e99ec1a931b10
2025-01-14 14:35:05 -05:00
Michael Bestas
1354be5ff8 sm7325-common: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-01-14 14:10:01 -05:00
Edwin Moquete
d5e7abc894 sm7325-common: Enable ELF checks for libril-qcril-hook-oem.so
* And moto deps.

Change-Id: I5079c44b4ea3cd5f94ade580272704e4f37c2385
2025-01-08 19:56:10 +00:00
dianlujitao
7072eff760
sm7325-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-04 20:27:05 +02:00
Marc Bourgoin
bc24d53b81 sm7325-common: Remove dolby
We aren't using any dolby effects

Change-Id: Ib6d5cdc51515e7a4d5f7e68e56c5a346e0aee6e4
2024-12-26 00:07:36 -07:00
Marc Bourgoin
841e19da28 sm7325-common: Decommonize waves audio fx props
Change-Id: Iebef2c1aaf209e5f502f7e41a8b262d1c32e8eb5
2024-12-25 23:12:41 -07:00
Marc Bourgoin
04b45dcda0 sm7325-common: Guard android.hardware.nfc HIDL entry
tundra uses snxxx NFC AIDL HAL which doesn't use android.hardware.nfc,
so let's guard it so we don't have to decommonize it for just one device

Change-Id: Ic8d78a401c614ea4b19c7fccdc7f472bc67534d6
2024-12-22 11:06:20 -07:00
LuK1337
2a9523e21b sm7325-common: sepolicy: Migrate to snxxx NFC AIDL HAL
Change-Id: Ibe4c30bcb5b912109478a548019d19a85d27a4bb
2024-12-22 00:05:26 -07:00
electimon
bfdab0b976 sm7325-common: sepolicy: Label nodes and binaries needed by tundra
Change-Id: I9f03d1981a6c88e8f13cdd29e88fc48b35de07b5
Signed-off-by: electimon <electimon@gmail.com>
2024-12-22 00:05:26 -07:00
electimon
d7be80d40c sm7325-common: Add Tundra to project guard
* Tundra is the Moto Edge 30 Fusion, Lahaina

Change-Id: I8111ec936cd7ad3f1b98f381ad8d8c4e8f614721
Signed-off-by: electimon <electimon@gmail.com>
2024-12-22 00:05:26 -07:00
Bruno Martins
3e4cea0e32 sm7325-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-12-22 00:05:14 -07:00
Marc Bourgoin
0d6ebd127a sm7325-common: Update from dubai_g-user 14 U1RDS34.80-40-3 11ee6-8c50b release-keys
Change-Id: Ie8020a7e302be51ebd9d4c1b64fa870e1ec0b7cb
2024-12-21 23:21:35 -07:00
Nick Reuter
822f0f698c sm7325-common: Address missing libbinder symbols in libwfdnative
_ZN7android6binder12atrace_beginEmPKc
_ZN7android6binder10atrace_endEm

Change-Id: I942d51721461dbbf9c8d0f2f32128529bb7480c3
2024-12-16 14:03:53 -05:00
Nick Reuter
2a724ad868 sm7325-common: Bump libwfdservice to android.media.audio.common.types-V4
Change-Id: I81060d8c73430a9598c676e18dc04e31a2f31c0c
2024-12-16 14:03:31 -05:00
Ahmed ElArabawy
a342b8f7b3 sm7325-common: Wifi: Replace config_wifi_dual_band_support
As part of the 6GHz band support, there is now more than 2 bands and
hence config_wifi_dual_band_support is misleading.
This commit replaces this config with config_wifi5ghzSupport which is
more reflecting to the device support check.

Bug: 145936758
Bug: 139354972
Test: Builds and Wifi runs successfully.
Change-Id: I6a1a18965b8020049f9b395ae97b6d84e4f5ae94
2024-12-12 14:37:53 -05:00
Nolen Johnson
06424e4620 sm7325-common: Nuke update-sha1sums.py
* We have py extract to do this now.

Change-Id: I031938ddb78e8f343864da521dc577cfcb67ee45
2024-11-27 00:25:15 -05:00
Marc Bourgoin
e5c4473c60 sm7325-common: Remove duplicate blobs
Change-Id: I3f99d113fc1878212cce3674e5d0b57a805a5e95
2024-11-15 22:14:48 -07:00
Michael Bestas
c764969e9f sm7325-common: Patch libwfdservice to resolve duplicate dependencies
Fixes:
error: module "libwfdservice" variant
"android_arm_armv8-a_cortex-a76_static": depends on multiple
versions of the same aidl_interface:
android.media.audio.common.types-V2-cpp-source,
android.media.audio.common.types-V3-cpp-source

Change-Id: I8086a80fcc238d6b03d16640ee2c4e134129bbab
2024-11-14 22:39:39 -07:00
Marc Bourgoin
5c55ffc2b7 sm7325-common: Nuke some unused 32bit blobs
error: vendor/motorola/sm7325-common/Android.bp:2166:1: dependency "libQSEEComAPI" of "libcvp_util" missing variant:
  os:android,image:vendor,arch:arm_armv8-a,sdk:,link:shared
Change-Id: I55e74a8d4b9c753849dc6faab24e84d8190e0823
2024-11-14 22:39:39 -07:00
Marc Bourgoin
15c080fab7 sm7325-common: Fix a few more ELF checks
Change-Id: I6cf0937ccba61156d404637c780cc9ded4e301f0
2024-11-14 22:39:39 -07:00
LuK1337
732126a8e8 sm7325-common: Add extra blobs to make checkelf happy
Change-Id: I34945e373b62714538813cc0fd12ee8ad4f04e1f
2024-11-14 22:39:39 -07:00
LuK1337
2945ca7f2b sm7325-common: Use common lib_fixups
Change-Id: I862e547f3375184729eb1a909bb7d6f676d45dfe
2024-11-14 22:39:39 -07:00
Marc Bourgoin
07a57db128 sm7325-common: Remove duplicate blobs
Change-Id: I6f1293dcff67868a7dadadd23369fa544814775e
2024-11-14 22:39:39 -07:00
Michael Bestas
deb011eb83 sm7325-common: Switch to python extract-utils
Change-Id: Ida4b83459d9739ac880b26a91df974e1db8423e9
2024-11-14 22:39:39 -07:00
LuK1337
ece9a5f872 sm7325-common: Turn "64-bit" rfsa copy into symlink
Change-Id: I2d2be3e37d2618523937178480c4f3d433d1dee7
2024-11-14 22:39:39 -07:00
Michael Bestas
6c70d1234a sm7325-common: extract-files improvements
Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2
2024-11-14 22:39:39 -07:00
Michael Bestas
0e3807a51b sm7325-common: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-11-14 22:39:39 -07:00
Aaron Kling
0f492139bb sm7325-common: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-11-14 22:39:39 -07:00
Cosmin Tanislav
42b4f71266 sm7325-common: do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2024-11-14 22:39:37 -07:00
Aaron Kling
b153159616 sm7325-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-11-10 18:09:19 -07:00
Michael Bestas
0a17856857 sm7325-common: Disable ELF checks on device specific libs
Change-Id: Iff53502e94cee5a065b75300992a632aca84e0c3
2024-11-10 18:06:49 -07:00
Michael Bestas
8f1ec9cb5b sm7325-common: Libraries are now automatically added to PRODUCT_PACKAGES
Change-Id: Ie92fe02b7e6279195bf28944942c815db773b798
2024-11-10 18:04:15 -07:00
Michael Bestas
bd3564691d sm7325-common: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2024-11-10 17:30:51 -07:00
Cosmin Tanislav
1b25d82488 sm7325-common: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2024-11-10 17:21:36 -07:00
Cosmin Tanislav
7c052e1bb2 sm7325-common: fix vendor.qti.imsrtpservice@3.0 ELF checks
Change-Id: Ia1995d0a3360317843685082e3226ab30f124d09
2024-11-10 17:18:48 -07:00
Michael Bestas
2a34b8e1da sm7325-common: fix vendor.qti.hardware.fm@1.0 ELF checks
Change-Id: I43f0824f88c24dd9d039f9075090c17f4266ab2d
2024-11-10 17:06:59 -07:00
Cosmin Tanislav
26de1a855d sm7325-common: fix com.qualcomm.qti.dpm.api@1.0 ELF checks
Change-Id: I759752ccc133d7047d415eb83c5d3c55820437a4
2024-11-10 17:06:47 -07:00