Arian
85ffa055a6
sm8450-common: Copy audio configs and sensor permissions to all supported sku's and cleanup cape sensors
...
Change-Id: I35c4b7439e4ab8d6636c49e454f0ca6de4a265d7
2024-03-19 23:22:37 +01:00
Arian
8453ef4ebb
sm8450-common: Decommonize mixer_paths and move some configs to vendor repo
...
Change-Id: I3ad6cf1f338bd26154d21dcfc301a463e3e63792
2024-03-19 23:22:37 +01:00
Arian
2bd79eea6f
sm8450-common: Decommonize AGM
...
Change-Id: I21baf58f88ba257d5c7bc3f5e59ff97625c3d2ed
2024-03-19 23:22:37 +01:00
Arian
55c3480376
sm8450-common: Decommonize touch_report
...
Change-Id: I736005f3758606951450879b482b9ea095b9d6e4
2024-03-19 23:22:37 +01:00
Arian
17a09cc790
sm8450-common: Cleanup audio properties again
...
Change-Id: I1750d6a04d02d4a34c0bd18741e7ac31ee2a7c55
2024-03-19 23:22:37 +01:00
Arian
0a00ab82e5
sm8450-common: Remove system wifi properties
...
Change-Id: I18bcd2dc247d2c7766626ed43b74cb5eabccb72c
2024-03-19 23:22:37 +01:00
Arian
7bfc345a72
sm8450-common: Cleanup wfd properties
...
Change-Id: Idbcd6fa9d306ffde7c23709e6c43b50baa7081cb
2024-03-19 23:22:37 +01:00
Arian
8b7dde1505
sm8450-common: Don't enable ramdumps
...
Change-Id: I1d6ecc4f0f8a14f4bbbacdd148276c2aa7f9dec4
2024-03-19 23:22:37 +01:00
Arian
a75e1eb4fa
sm8450-common: Drop unused sytem NFC property
...
Change-Id: I65d9b27b51a4209c7cf2c088e8dc91f39060f304
2024-03-19 23:22:37 +01:00
Arian
14c3ba4b09
sm8450-common: Cleanup media properties
...
Change-Id: I1a5fc2eff5502e764919375aab0fb38f987a3931
2024-03-19 23:22:37 +01:00
Arian
993d86fb09
sm8450-common: Cleanup system graphics properties
...
Change-Id: Iac61679b5c7f4ac78b51b09825b1846cdc273413
2024-03-19 23:22:37 +01:00
Arian
84bb690a3b
sm8450-common: Update dpm property
...
Change-Id: I4cd06c478d71ca3878893a9af06bfce884368636
2024-03-19 23:22:37 +01:00
Arian
8683899800
sm8450-common: Drop persist.vendor.radio.hidl_dev_service
...
Change-Id: I6464fae8104e7bea54cadb81c127409d1e02da34
2024-03-19 23:22:37 +01:00
Arian
804358f3de
sm8450-common: Drop zygote critical window property
...
Change-Id: I9abc3127b20166e67b3e7d51810a78c7fb493b66
2024-03-19 23:22:37 +01:00
Arian
27f632079c
sm8450-common: Cleanup wifi properties
...
Change-Id: I3277816bbbb133cc24951d674f837ea7868bbb77
2024-03-19 23:22:37 +01:00
Arian
7657f46f31
sm8450-common: Cleanup vcb properties
...
Change-Id: Ic04286d6afb426e7257447fb36771038c532b81e
2024-03-19 23:22:37 +01:00
Arian
4e1ddaa7e9
sm8450-common: Drop default usb config from vendor.prop
...
Change-Id: I95771674d0fae0a98320e66c4813cdf9def7a464
2024-03-19 23:22:37 +01:00
Arian
23f69dacdb
sm8450-common: Cleanup radio properties
...
Change-Id: I983fb0859dc5ea9494c5e0ec3414307caee1f263
2024-03-19 23:22:37 +01:00
Arian
9bd88168a9
sm8450-common: Drop QSPM property
...
Change-Id: Ie9778b272e7e1bb60c33c8ac645f40854b395096
2024-03-19 23:22:37 +01:00
Arian
57fba763ac
sm8450-common: Drop QFP property
...
Change-Id: Ia6cda1b7cb227d1af5bcf5d44b85681dbdf26899
2024-03-19 23:22:37 +01:00
Arian
5ce1a28b53
sm8450-common: Don't enable qcomsysd
...
Change-Id: Id3960daa4a78bc63072c1b7f0a10559ac8e37625
2024-03-19 23:22:37 +01:00
Arian
bb678c7312
sm8450-common: Cleanup perf properties
...
Change-Id: Ifc8dcca4866321074935bf20a2272545e50e80f4
2024-03-19 23:22:37 +01:00
Arian
2be8dea40c
sm8450-common: Drop NFC properties
...
Change-Id: I30bde55c639a5a794bbcedc5348c698a0ce6ffb0
2024-03-19 23:22:37 +01:00
Arian
84adac3a66
sm8450-common: Drop shutdown waittime property
...
Change-Id: Ib356a43820e890f998fe3694f8ca3721a895f0cc
2024-03-19 23:22:37 +01:00
Arian
05a2c7043c
sm8450-common: Cleanup media properties
...
init.qti.media sets vendor.mm.enable.qcom_parser already
Change-Id: Idf95637f734806407dc0ca8dff6025e89aafcd30
2024-03-19 23:22:37 +01:00
Arian
800bc6c2bc
sm8450-common: Drop LMK properties
...
Change-Id: I1c5edf6f3eb1934d6f089655908b8d1b8c595056
2024-03-19 23:22:37 +01:00
Arian
30f9ba5316
sm8450-common: Drop miui haptics properties
...
Change-Id: Ieb822782e4cac857c83b53027a5c64c363ecba0f
2024-03-19 23:22:37 +01:00
Arian
795e1ccb6a
sm8450-common: Cleanup graphics properties
...
Change-Id: Ib3098225bb119aa12f011b0237b45e9da4344d58
2024-03-19 23:22:37 +01:00
Arian
cb9c073858
sm8450-common: Add fm property to bluetooth section
...
Change-Id: Ibac0f84d82d68175808c3a2986b0bbe4a97a2514
2024-03-19 23:22:37 +01:00
Arian
3f2bef56ac
sm8450-common: Drop fingeprint properties
...
Change-Id: I7d393350c3c3a39dd6f1342203c083b44e54d29b
2024-03-19 23:22:37 +01:00
Arian
00cff6e2c2
sm8450-common: Cleanup display properties
...
Change-Id: Icf06ba55d34f899994543fd59e28d5d3fdccaca2
2024-03-19 23:22:37 +01:00
Arian
56e18198cf
sm8450-common: Cleanup camera properties
...
Change-Id: Icf8d706b06910cd3af8b076838d56f25bc17d459
2024-03-19 23:22:37 +01:00
Arian
c01f55e3f7
sm8450-common: Clean bluetooth properties up
...
Change-Id: Ia25a2ade5c5940e87574d6f228f44958bc673c7d
2024-03-19 23:22:37 +01:00
Arian
ae50a6ac27
sm8450-common: Cleanup audio properties
...
Change-Id: I65ffe03b81b49de60c1708ac6e2486fd6dd5f837
2024-03-19 23:22:37 +01:00
Arian
02aa012f03
sm8450-common: Disable dolby audio and vision features
...
Change-Id: Ibaa40b9827c01a6cb3b6d1b554430a13226c671e
2024-03-19 23:22:37 +01:00
Arian
f77ee2aefa
sm8450-common: Update audio properties from V14.0.11.0.TLECNXM
...
Change-Id: I7c87b913c7c4ba3fe81db2c1e930c7c8e2395576
2024-03-19 23:22:37 +01:00
Michael Bestas
c112334698
sm8450-common: Implement xtra-daemon control via property
...
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.
Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
2024-03-19 23:22:37 +01:00
Michael Bestas
470383b568
sm8450-common: gps: Lower debug level
...
* Kill logcat spam
Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2024-03-19 23:22:37 +01:00
TheStrix
aff198992e
sm8450-common: gps: Disable xtwifi location services
...
Squashed with:
Author: Michael Bestas <mkbestas@lineageos.org>
Date: Fri Jan 15 22:14:25 2021 +0200
sm8450-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which we disabled.
Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
Author: Arian <arian.kulmer@web.de>
Date: Thu Apr 1 01:09:38 2021 +0200
sm8450-common: Remove xtwfi-client and xtwifi-inet-agent
Change-Id: I232fd3b351f0e47b86f7d5d7b2a2bd0f28712d64
Change-Id: I70f39d8d611167f65bb3912590b05f8a8d121c80
2024-03-19 23:22:37 +01:00
Arian
73e615c43a
sm8450-common: Build GNSS HAL from source and import proprietary configs from V14.0.11.0.TLECNXM
...
Also drop disabled and unused gnss services
Change-Id: I5da8b02daf11a84d5083810ab3bcbe613cf618bb
2024-03-19 23:22:37 +01:00
Michael Bestas
505727c93a
sm8450-common: gps: Remove all Wno-error flags
...
Almost all warnings/errors have been fixed.
Ignore undefined bool conversion error on purpose.
Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
2024-03-19 23:22:37 +01:00
Albert I
9ef4c828bd
sm8450-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
2024-03-19 23:22:37 +01:00
Albert I
472e7d91a5
sm8450-common: gps: Address logical-op-parentheses warning
...
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
2024-03-19 23:22:37 +01:00
Albert I
2117624012
sm8450-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
2024-03-19 23:22:37 +01:00
Michael Bestas
3094f39138
sm8450-common: gps: Resolve unused parameter warnings
...
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2024-03-19 23:22:37 +01:00
Arian
946f3651cd
sm8450-common: gps: Let qualityLevelAccepted use loc_sess_status enum
...
device/xiaomi/sm8450-common/gps/gnss/GnssAdapter.cpp:4111:49: error: comparison of different enumeration types ('FixQualityLevel' and 'enum loc_sess_status') [-Werror,-Wenum-compare]
it->second.qualityLevelAccepted >= status) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~
Change-Id: I9decccb88a51760806eab080d5ad92d90d9b87cd
2024-03-19 23:22:37 +01:00
Bhavna Sharma
fdb5c2ae4e
sm8450-common: gps: Move qualityLevelAccepted field into LocationOptions
...
CRs-Fixed: 3131344
Change-Id: Ifec0a57325ea8127f76b8e1896124a64666f41ce
2024-03-19 23:22:37 +01:00
Harikrishnan Hariharan
9978d98151
sm8450-common: gps: HAL: Fix compile errors for Wunused-function and Wformat
...
Change-Id: I6644bd3ee69f584322dfb6970ecb15a5be182c64
CRs-Fixed: 3452598
2024-03-19 23:22:37 +01:00
Vamana Murthi
cd7a05c656
sm8450-common: gps: HAL: Location compilation bringup for wearables
...
Enable few more important compilation flags which will consider
warnings as errors. Most of these flags were configured to be
only warning for mobile SPs, but for wearable SPs some of them
are configured to be errors. So configure these as in common
GNSS flags so that same set of flags could be applied to mobile
SPs too.
Fix compilation errors which were showing up, when these flags
were enabled.
Change-Id: I62ef74419d4416252dfc8b25251ba3a51d522bfd
CRs-Fixed: 3292623
2024-03-19 23:22:37 +01:00
Pirama Arumuga Nainar
8ab15e722f
sm8450-common: gps: Fix -Wbitwise-instead-of-logical
...
Bug: http://b/215753485
Reported by clang-r445002
error: use of bitwise '|' with boolean operands [-Werro
r,-Wbitwise-instead-of-logical]
if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
||
Test: build with clang-r445002
Change-Id: I9410eb5208227dd70bd036aee02fb2aeb912f266
Merged-In: I9410eb5208227dd70bd036aee02fb2aeb912f266
2024-03-19 23:22:37 +01:00