Commit Graph

19 Commits

Author SHA1 Message Date
Tomasz Wasilczyk
663a48924f
sm6150-common: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2024-04-10 13:26:47 -04:00
Madhanraj Chelladurai
0c0ae20c68
sm6150-common: gps: Add NULL check before object access
Correct the NULL check code block and add NULL check before
object access.

Change-Id: Ic41b781b41fb4e21bbff8801d500a41a6d7219d0
CRs-fixed: 3084543
2024-04-10 13:26:45 -04:00
Yi Kong
29be33dd64
sm6150-common: gps: Fix unqualified-std-cast-call warning
hardware/qcom/sm8150/gps/utils/LocIpc.cpp:315:24: error: unqualified call to std::move [-Werror,-Wunqualified-std-cast-call]
            mIpcRecver(move(ipcRecver)) {}
                       ^
                       std::

Test: presubmit
Change-Id: I7378416e788f20ebb3f8d1d065d60964dc76eb99
2024-04-10 13:26:45 -04:00
Michael Bestas
07d61f1855 sm6150-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
2023-08-20 18:47:33 +02:00
Michael Bestas
0fb6b30d16 sm6150-common: gps: Remove all Wno-error flags
Almost all warnings/errors have been fixed.
Ignore undefined bool conversion error on purpose.

Change-Id: I00cb5f38711fa9f873da030fc6a0ebc6cde3ceeb
2023-08-20 18:47:33 +02:00
Albert I
9a20a65141 sm6150-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
2023-08-20 18:47:33 +02:00
Albert I
452ebe1a60 sm6150-common: gps: Address logical-op-parentheses warning
Change-Id: I45d621a2b995afeb7757df3f89614a0d95552f33
2023-08-20 18:47:33 +02:00
Albert I
3ac812ed09 sm6150-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
2023-08-20 18:47:33 +02:00
Michael Bestas
15a7ec7e32 sm6150-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2023-08-20 18:47:33 +02:00
basamaryan
4c664b8c7e sm6150-common: gps: Update to LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0
Change-Id: I51776c7c5db4e72c58f6dab73e8692a549ec37e8
2023-01-27 01:32:59 +00:00
Arian
684970d72a sm6150-common: gps: Fix usage of or operator on booleans
Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963
2022-08-18 14:31:55 +02:00
Arian
54a9eac768 sm6150-common: gps: Update to LA.UM.9.1.r1-11200-SMxxx0.0
Change-Id: I6ef1b531da58204047a0e269131bf3876eb788b4
2022-06-28 00:41:07 +02:00
Arian
f2fb47a4a0
davinci: gps: Update to LA.UM.9.1.r1-06700-SMxxx0.0
Change-Id: I7441cf1b3d067969dad0ad3d57c27bb87a276189
2020-12-30 02:02:58 +01:00
Steven Moreland
84db948604
davinci: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
2020-12-30 01:47:40 +01:00
Arian
3613fe7f16
davinci: Drop unused gnsspps
Change-Id: I5811042197ffc19dd56c3609afafa6e10acf48c8
2020-12-30 01:47:16 +01:00
dianlujitao
bf60c73d8e
davinci: Build GNSS HAL
* Remove unnecessary dependencies on liblbs_core.so
 * Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
   building w/o BSP.

Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-11-23 20:44:38 +01:00
Arian
4f4f8cd486
davinci: gps: Clean up
* Get rid of 1.0 and 1.1 hidl
* Get rid of target_specific_features.mk
* Clean up the top Android.mk
* Drop sample configs
* Drop sample target and board config

Change-Id: I7b45b940812a51306db76f6275ea43049fa62335
2020-11-23 20:44:38 +01:00
Arian
848723807d
davinci: gps: Import gnsspps from LA.UM.8.9.r1-03800-sm6150.0
Change-Id: Ib047a59a195cb6ead9438d74403cad7031804e6e
2020-11-23 20:44:37 +01:00
Arian
5230c34f83
davinci: gps: Import from LA.UM.8.9.r1-03800-sm6150.0
Change-Id: Idc1e896796742df928ef244bf003d24e87bfd3d7
2020-11-23 20:44:37 +01:00