Commit graph

10 commits

Author SHA1 Message Date
Nilesh Gharde
31084d971e sm8450-common: gps: Add group inet for GNSS HAL
Change-Id: Ie82006c06dd85417012c53b91bd691fe143d3a3c
CRs-Fixed: 3210333
2024-05-18 11:27:55 +02:00
haohuang
7def8dd105 sm8450-common: gps: Support WiFi RTT position injection for non ES case
Change-Id: I92248c5a95c042c90164308d0617d9197625e6dd
CRs-Fixed: 3432072
2024-05-18 11:26:31 +02:00
Arian
f518e7ef8f sm8450-common: gps: Update to LA.VENDOR.1.0.r1-21900-WAIPIO.0
Change-Id: Ib431364a902ecd9b068e672978f5e24ecbf42160
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
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
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