Commit graph

24 commits

Author SHA1 Message Date
Madhanraj Chelladurai
d88a67c4c7
sdm660-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-05-10 14:03:18 +03:00
AmeChanRain
d4034097ab sdm660-common: gps: Fix misleading indentation
* That makes clang17 happy
* Fix:
  device/xiaomi/violet/gps/android/utils/battery_listener.cpp:191:13: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
            auto r = mHealth->unlinkToDeath(this);
            ^
device/xiaomi/violet/gps/android/utils/battery_listener.cpp:189:9: note: previous statement is here
        if (mHealth != NULL)
        ^
1 warning and 1 error generated.

Change-Id: I3be1e3de45ce184c9d3dbcede57a312375a91498
Signed-off-by: Nanhumly <admin@warbler.cc>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
karthik1896
b7e06b2a16 sdm660-common: gps: Fix error: use of bitwise '|' with boolean operands
* fixes

device/asus/sdm660-common/gps/android/2.1/location_api/GnssAPIClient.cpp:651:35: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
    if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) {

Signed-off-by: karthik1896 <karthik1896@outlook.com>
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-09-13 06:56:45 +02:00
clarencelol
859532ea4a sdm660-common: Update GPS HAL from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-15 10:25:56 +02:00
clarencelol
504dfee87f sdm660-common: gps: Update gps hal from LA.UM.9.1.r1-10200-SMxxx0.0
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-05-15 10:25:56 +02:00
OdSazib
105be64c3f
sdm660-common: Downgrade gps hal to LA.UM.9.6.2.r1-03300-89xx.0
This is a combination of 3 commits:
-------------------------------------

* Revert "sdm660-common: Import gps configs from LA.UM.9.6.2.r1-03600-89xx.0"

  This reverts commit 1977da527c.

* Revert "sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03600-89xx.0"

  This reverts commit 15d9c83201.

* sdm660-common: Checkout gps config from LA.UM.9.6.2.r1-03300-89xx.0
2021-03-22 13:01:57 +06:00
OdSazib
15d9c83201
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-03 04:02:03 +06:00
OdSazib
5fd6060869
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03300-89xx.0 2021-03-03 00:01:41 +06:00
Michael Bestas
d3c0533d4b
sdm660-common: gps: Resolve unused parameter warnings
Change-Id: I0acef3da2c3567a28edd0a71dac89a5828f7725d
2021-01-27 13:13:51 +06:00
OdSazib
36e5c637a7
sdm660-common: gps: Checkout gps hal from LA.UM.8.2.r1-07400-sdm660.0
* Removed depricated dependencies
 * Restored needed config for gps

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-01-27 13:13:51 +06:00
Steven Moreland
ecfc20eadd
sdm660-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
travarilo
b586e7cb27
sdm660-common: Import GPS HAL from LA.UM.8.2.r1-06500-sdm660.0
"LA.UM.8.2.r1-06500-sdm660.0"

Change-Id: Ib46ee24d1e05e749fe0b7f178142a01bdb090e57
2020-08-12 02:11:33 +06:00
Max Weffers
e7f3124172
sdm660-common: Import GPS HAL from LA.UM.8.2.r1-06200-sdm660.0
"LA.UM.8.2.r1-06200-sdm660.0"

Change-Id: I13cdff4de720a18bda465cfe6168cd27469d6d3f
2020-08-12 02:11:32 +06:00
Max Weffers
53aba20050
sdm660-common: Downgrade GPS HAL to LA.UM.8.2.r1-05100-sdm660.0
This reverts commit 31e787be75c210112a05ca6bf03e705b73173b0a.

Change-Id: I64691f2defe79aa317248bf9daf77b2530b9fc59
2020-08-12 02:02:40 +06:00
Max Weffers
b87dec2474
Merge tag 'LA.UM.8.2.r1-06300-sdm660.0' of https://source.codeaurora.org/quic/la/platform/hardware/qcom/gps into HEAD
"LA.UM.8.2.r1-06300-sdm660.0"
Change-Id: I7be67877f4ec71566d2859873d79c94272a659f5

Change-Id: Ia8bda530845f35ff9526961ff99c40afc2cc53f7
2020-08-12 02:02:37 +06:00
Max Weffers
ba95c0d08b
sdm660-common: Import GPS HAL from LA.UM.8.2.r1-05100-sdm660.0
"LA.UM.8.2.r1-05100-sdm660.0"

Change-Id: Ib00633d632178497dbe8ab9669bb11561959782e
2020-02-03 16:27:41 +01:00
Max Weffers
1fe7102a58
sdm660-common: Update GPS from Jasmine 10 Release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I083334309bddcca63c0a6e5477ae30c244686392
2020-01-14 18:19:32 +01:00
XiNGRZ
69ba30f99d
sdm660-common: Update GPS HAL tag LA.UM.7.2.r1-06900-sdm660.0
Change-Id: I26c06dff6054da324bc6f0b6a029f2d0e67883b1
2019-08-14 10:04:10 +02:00
GuaiYiHu
e5b5dcfa26
wayne-common: Update GPS from LA.UM.7.2.r1-05800-sdm660.0
Change-Id: Idaec6889200d67c776222aebecdc9c0255e2b963
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
Isaac Chen
256da7a495
wayne-common: Synchorize gps to P
* QC Tag: LA.UM.7.2.r1-04900-sdm660.0

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-08-14 10:04:09 +02:00
Thierry Strudel
5776399bf3 wayne: Fix android.hardware.gnss@1.0-service-qti
Make service part of 'hal' class.
Install files in vendor partition.
Register instance as 'default' as expected by framework.

Change-Id: I487fad4df872397ab76cea377e5304c956a756da
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-09-05 00:00:08 +00:00
Vishwath Mohan
d9152046fa wayne: Remove hardcoded LOCAL_MODULE_PATHS from vendor components
This CL replaces all LOCAL_MODULE_PATH_* definitions for vendor shared
libraries with LOCAL_VENDOR_MODULE := true instead. This appropriately
generates sanitized versions of these libraries to /data/asan/* while
generating the stock versions in /vendor/lib* as desired.

Needed for ASAN builds to work correctly.

Bug: 37740897
Test: m -j40 && SANITIZE_TARGET="address" m -j40 # shared libs in
$ANDROID_PRODUCT_OUT/vendor/lib* do not contain asan symbols, while
the ones in $ANDROID_PRODUCT_OUT/data/asan/vendor/lib* do.

Change-Id: If6a495dd153c47f929de047fd48039b990348720
(cherry picked from commit e872612127cfbf55ceba01e9860e0acc47d64447)
2018-09-05 00:00:08 +00:00
SzuWei Lin
2fdf20b62c wayne: Move android.hardware.gnss@1.0-service-qti.rc to vendor
The .rc file should be on the vendor image, or can not boot
with generic system image.

Bug: 63051055
Test: Boot with GSI to home screen
Change-Id: I1e2ebe5d23a6cf5a4176ee33613ef621b4b558cf
2018-07-19 00:01:07 +00:00
Isaac Chen
6a15b2379f wayne: Import GPS
* QC Tag: LA.UM.6.2.r1-06100-sdm660.0

Change-Id: I26da3b90caa473ed5f88408627463ec7f7655f23
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:17 +00:00