Commit graph

342 commits

Author SHA1 Message Date
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
Alessandro Astone
caac0ead3d sm8450-common: Build and enable fastbootd
Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab
2024-03-19 23:22:36 +01:00
Arian
cfabb12392 sm8450-common: Copy media configs
Change-Id: I11c3a077c60195ef22170447dfcc1e637a1add57
2024-03-19 23:22:36 +01:00
Arian
642d2337f5 sm8450-common: Build display HAL
Change-Id: Icd113bc79d79298effa4da819d53aed4c4d30a4e
2024-03-19 23:22:36 +01:00
Arian
d9d3600817 sm8450-common: Build fingeprint HAL and implement udfpshandler
Change-Id: Ib0a8ed7d6e794aef4ad02b960841c66dfad79390
2024-03-19 23:22:36 +01:00
Michael Bestas
31a8fa9332 sm8450-common: overlay: Enable multiple vibration strength levels support
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
2024-03-19 23:22:36 +01:00
Arian
b0c0c312e4 sm8450-common: Build libqti_vndfwk_detect.vendor
Change-Id: I6e53e7d0add8465adbc74b3066090f8aacb44dfa
2024-03-19 23:22:36 +01:00
Arian
6ed022ec9d sm8450-common: sepolicy: Update from mondrian V14.0.5.0.TMNMIXM
Change-Id: I6aace666658b82ae3bcd63be5756ecfe71ce091a
2024-03-19 23:22:36 +01:00
Arian
d921c96ffd sm8450-common: Configure kernel build
Change-Id: I478751631d78ce70f2032ad376ef017bfed39f78
2024-03-19 23:22:36 +01:00
Jens Reidel
ab6d056646 sm8450-common: Add mixer_paths_ukee_mtp.xml from marble V14.0.9.0.TMREUXM
Change-Id: I9601bdfdda86cf2aaacaabcdb85b61edcd3857cd
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:36 +01:00
Jens Reidel
e71cc53605 sm8450-common: Copy audio configs to sku_ukee too
Change-Id: I94750fff4dda0d2f42e2df878578344dc03bc000
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:36 +01:00
Jens Reidel
f33df3e5c4 sm8450-common: Add support for marble
Change-Id: Ia3e821bc00fc1fcdadaac771beac1db3dee075a8
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-03-19 23:22:36 +01:00
Arian
f52225c62e sm8450-common: Copy audio configs to sku_cape too
Change-Id: I614a390efb56d6101db5d0e7dfeececc9a8e205d
2024-03-19 23:22:36 +01:00
Arian
ab6d2997d5 sm8450-common: Add support for mondrian
Change-Id: I0687f43ec1565e15bb1c28b1f82135bc93a42c95
2024-03-19 23:22:36 +01:00
Arian
41eb2e51bd sm8450-common: Enable camera override format from reserved
This enables qcom additions for high framerate videos.

Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
2024-03-19 23:22:36 +01:00
Arian
3f91949f18 sm8450-common: Add hotword enrollment permissions
Change-Id: I4ddb3dcf85ab45b02808cbe3d28cb8caa2858dca
2024-03-19 23:22:36 +01:00
Arian
1b19defb5c sm8450-common: Build libvolumelistener from source
Change-Id: I99b9699d3c01c04ee2afd8e0575cdf0d7a8de76d
2024-03-19 23:22:36 +01:00
Arian
8da6db63f9 sm8450-common: Set display board flags
Change-Id: I1f78b0dadb14452f2a0c5152661813580b105064
2024-03-19 23:22:36 +01:00
Arian
fa9a640890 sm8450-common: Build libchrome from source
Change-Id: Ieb11349f12c7fddc338543f77598a001f1e467d2
2024-03-19 23:22:36 +01:00