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
Jiyong Park
12be252088
sm8450-common: gps: Remove ndk_platform backend. Use the ndk backend.
...
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2024-03-19 23:22:37 +01:00
dianlujitao
2d837bcd37
sm8450-common: gps: Fix non-ASCII character in gps.conf
...
:caf:
Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
2024-03-19 23:22:37 +01:00
Arian
b9fdaff70a
sm8450-common: Import gps from LA.VENDOR.1.0.r1-12800-WAIPIO.0
...
Change-Id: Ia76265a8c3326f2b5f9f260ce98807276af80ee3
2024-03-19 23:22:37 +01:00
Arian
106355e12e
sm8450-common: Drop mfidoca, mtd- and tidaservice
...
Change-Id: I0b7a851137b954ea767ff1846c9ca30b36d1c875
2024-03-19 23:22:37 +01:00
Arian
8d24a268f9
sm8450-common: Drop sla
...
Change-Id: I725028a3a6cd41b4008d46de476bfe986052de60
2024-03-19 23:22:37 +01:00
Arian
30c8d6c293
sm8450-common: sepolicy: Overall cleanup
...
Change-Id: I0d6282ea0315774fa29e8155cb0e113123025623
2024-03-19 23:22:37 +01:00
Arian
14be88afd4
sm8450-common: sepolicy: Cleanup dolby related policies
...
Change-Id: Id2b70818bdfb9927d375065675cac9f2e7a6e890
2024-03-19 23:22:37 +01:00
Arian
6e6cb237b1
sm8450-common: sepolicy: Cleanup displayfeature related policies
...
Change-Id: Ifcb8394eba045fa20e8f9e8fd356be560163bc67
2024-03-19 23:22:37 +01:00
Arian
27b20a7ecc
sm8450-common: sepolicy: Drop ddr training rules
...
Change-Id: I69e64b937da768e88632e136dc4f1a038f075c75
2024-03-19 23:22:37 +01:00
Roger Ellis
e68f771221
sm8450-common: Add exclusion for vendor ELF prebuilts
...
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
- Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
- See b/156534160 for long-term fix which should override this change.
Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
2024-03-19 23:22:37 +01:00
Dan Willemsen
a98cafec7e
sm8450-common: Mark as having overridden commands
...
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.
Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2024-03-19 23:22:37 +01:00
Arian
ac88d86034
sm8450-common: Build qti systemhelper interface
...
Change-Id: I2af9bb2c1fc25cfccc90738f09d2137ce291aeb9
2024-03-19 23:22:37 +01:00
Arian
86832ec2ac
sm8450-common: Build more qti camera interfaces to vendor
...
Change-Id: I323b9f5b378fe1bab828d98c72bf52f9ec0c79bb
2024-03-19 23:22:37 +01:00
Sebastiano Barezzi
7a8cc788fe
sm8450-common: Go away Megvii
...
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi
Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2024-03-19 23:22:37 +01:00
Arian
17318c1ba5
sm8450-common: Kang display blobs from eqs
...
Change-Id: I256ef5141c3ce1988da950c217da35ae75d50d94
2024-03-19 23:22:37 +01:00
Arian
b49c76178f
sm8450-common: Drop dolby music blobs
...
Change-Id: Ibd38c669ea2d721738ac62cc1b00973ea4a6fc19
2024-03-19 23:22:37 +01:00
Arian
3edb73f5c6
sm8450-common: vintf: Drop qti factory HAL
...
Change-Id: Ifc91690938e20aff58cece2ec8e53f865434ca4e
2024-03-19 23:22:37 +01:00
Arian
761e3fe5cb
sm8450-common: Switch to unified supplicant service rc entry
...
Change-Id: I6cc5a1d062c19be570d5631cb7ea9c760a992aef
2024-03-19 23:22:37 +01:00
Arian
bf1d4271a1
sm8450-common: Switch to generic cpu variant
...
Change-Id: Iec116bb8d489ce7c07b36006086870b37ad971e6
2024-03-19 23:22:37 +01:00
Arian
60f3b13f27
sm8450-common: Decommonize regulator, touch, haptics and audio kernel modules
...
Change-Id: I644b35134d3beca8c31d218bfcbff2f4ad4ac2fd
2024-03-19 23:22:37 +01:00
Arian
cfbd20f573
sm8450-common: Update kernel modules for unicorn
...
Change-Id: Iad056355ef4664aeb3b7bda0b6717769eaa9ee6c
2024-03-19 23:22:37 +01:00
Arian
5a49bb0289
sm8450-common: Extract from unicorn
...
Change-Id: I4eabd9505d7875357a43a26a472433b80e14ccc1
2024-03-19 23:22:37 +01:00
Arian
731113a8ba
sm8450-common: Decommonize sensor configs
...
Change-Id: Ibb16a77387050d33a9df14ae417867c7dfb79a9f
2024-03-19 23:22:37 +01:00
Arian
89fae167f0
sm8450-common: Decommonize ADSP modules
...
Change-Id: Ia1d8016133f5050da6d6f869dc4d0188d749ff45
2024-03-19 23:22:37 +01:00
Arian
4fe905243b
sm8450-common: Add support for unicorn
...
Change-Id: I6c55990b330fb0196fa894e89e20fef0c189e70a
2024-03-19 23:22:36 +01:00
Arian
2e2859f77e
sm8450-common: Import proprietary files listing
...
Change-Id: I7d53b0acb56b101f909578e046553e48837867b3
2024-03-19 23:22:36 +01:00