summaryrefslogtreecommitdiff
path: root/gnss
AgeCommit message (Collapse)Author
2020-03-24Fix odcpi feature when Location is off in settingsDante Russo
Assure gnssInterface is initialized during call to getGnssInterface to assure GnssAdapter is created and able to accept calls like odcpiInit Bug: 152261445 Test: Verified ODCPI is initialized at boot-up with location settings off. CR-fixed: 2644833 Change-Id: I60adea4d9a0d174244b2441ce14093daf5c20efb
2020-02-14Comment out LPP in HALShinru Han
Set LPP only by MBN configs Test: Insert several SIMs and check if LPP value is same as MBN config. Bug: 149258305 Change-Id: I581fec739ad5cbe85f08e025b9289ee902ff5415
2020-02-04Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.406' into qt-qpr1-dev Conflicts: android/1.0/Gnss.cpp android/1.1/Gnss.cpp android/2.0/Gnss.cpp gnss/GnssAdapter.cpp Bug: 148752159 Change-Id: Ifc50f4af34c0980973830793a30c9527461b9d7b
2019-12-30Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.370' into qt-qpr1-dev Bug: 146991028 Change-Id: I9f84a0fac45ecd4552d265a4686f73a4cbe73638
2019-12-24Merge "Add eraseTrackingSession in function stopClientSessions"qctecmdr
2019-12-20Add eraseTrackingSession in function stopClientSessionshaohuang
The tracking session should be removed from mTimeBasedTrackingSessions after stopping all the time based tracking sessions. Change-Id: I7ad548a1463780dada0dadeff25d1509b915bd3e CRs-Fixed: 2590742
2019-12-19Use AGPS_CONFIG_INJECT to disable setting of few AGPS configsHarikrishnan Hariharan
If AGPS_CONFIG_INJECT is 0, few AGPS config items like SUPL version, Assistance data, LPP profile, AGlonass Position profile should not be set to modem. Change-Id: Ib4ce9e893f2a912fb86069f6d8dcb6704bed9782 CRs-Fixed: 2587988
2019-12-11Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.343' into qt-qpr1-dev Bug: 145572601 Change-Id: I9e379ad6f79f538a0368a4a905589616c5a23ee3
2019-12-09Merge "Remove LPPe injection" into qt-qpr1-devTreeHugger Robot
2019-12-05Fix case where Emergency SUPL NI should be deniedDante Russo
Emergency and non-emergency SUPL NI Requests should be denied under the following conditions: - Device is NOT in an Emergency Call Session - NI Request does NOT have Privacy Override - NFW is locked - Config item NI_SUPL_DENY_ON_NFW_LOCKED = 1 Also, config item NI_SUPL_DENY_ON_NFW_LOCKED is set to 1 (true) by default Change-Id: If66107fdbbefc2438e9fa2adf958f7750c08c1db CRs-fixed: 2581083
2019-11-28Remove LPPe injectionShinru Han
HAL will overwrite MBN LPPe setting at boot. Temporarily remove LPPe injection as workaround. Test: LPPe value is correct with VZW SIM Bug: 145254019 Change-Id: Id4479d8862e08daee4d4b65f83706dd7c5197a19
2019-11-26Merge "FR 57252: GPS hal changes to allow configuration for LE target"qctecmdr
2019-11-22FR 57252: GPS hal changes to allow configuration for LE targetWei Chen
(1) runtime enable/disable TUNC (2) runtime enable/disable PACE (3) runtime enable/disable constellations (4) delete all aiding data (5) config lever arm Change-Id: I6cffd08e4c6fa45ff8d62bfef2da1156f3b61956 CRs-fixed: 2497326
2019-11-20SUPL Version for 5G and LPP Rel 15Nilesh Gharde
Change-Id: Id00ea3bfb72c88c7c68425aa8c8829579ebd6237 CRs-fixed: 2570450
2019-11-19Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.327' into qt-qpr1-dev Bug: 144672341 Change-Id: Iaf7900aaa2105c25f50bd85ab68e6b421f0c2ea1
2019-11-13Merge "GPS HAL: send platform power state event to modem"qctecmdr
2019-11-12Merge "Concurrent position report: report out SPE fix promptly"qctecmdr
2019-11-11Concurrent position report: report out SPE fix promptlyWei Chen
For concurrent position report, we need to report SPE fix promptly Change-Id: Iba7807ccb158dc4092abd9bbf540cbf0a6c7345b CRs-fixed: 2546089
2019-11-09Merge "Add NI_SUPL_DENY_ON_NFW_LOCKED configuration"qctecmdr
2019-11-07GPS HW module: fix << overflow issueWei Chen
Fix shift overflow when the number of bits shifted can exceed 31 bits Change-Id: Ib4334fd9b3bf574b8d8143a5f706ca9e963a6053 CRs-fixed: 2557855
2019-11-07Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.9.R1.10.00.00.558.053' into qt-qpr1-dev Bug: 144079922 Change-Id: I92e46331810b43a1f3a7748157cc0b7e9b138833
2019-11-06Handle SPE session TBF and nHz subscription for automotiveBhavna Sharma
1. Requirement is to run SPE session only at 100ms TBF if any nHz capable engine subscribes for nHz measurement or nHz position reports. 2. Second requirement is to subscribe for nHz measurement only if an an actual nHz engine subscribes for nHz measurement CRs-Fixed: 2540001 Change-Id: I5a2c93a9d880967ab59ce6cd12cd415c98f29e6c
2019-11-06GPS HAL: send platform power state event to modemWei Chen
Send platform power state event, suspend/resume/shutdown to modem Change-Id: I19960f5fb4935de9e4f5513abd95aed6241a2fd9 CRs-fixed: 2527622
2019-11-04Add NI_SUPL_DENY_ON_NFW_LOCKED configurationDante Russo
If an NI SUPL Request that does not have Privacy Override option comes when NFW is locked and config item NI_SUPL_DENY_ON_NFW_LOCKED = 1, then deny it Change-Id: I0a769c4696751069d5a034dde8569ecfcf63b41a CRs-fixed: 2550126
2019-10-24GNSS adapter: fix a race conditionWei Chen
Fix the race condition that handleEngineUp gets called before GNSS adapter constructor finishes CRs-fixed: 2538904 Change-Id: I0946dd44ce3a4b03f2c8a45a855bbfbd4b7b8468
2019-10-23Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.9.R1.10.00.00.558.049' into qt-qpr1-dev Conflicts: android/dummy/Android.mk Bug: 142854653 Change-Id: I4da9aa6bd0194897d539c3e9ab5a84a2b5bc32d4
2019-10-22GPS NMEA: enhance gga fix qualtiy for sensor contributed fixWei Chen
This enhancement will be enabled if CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED is set to 1 in gps.conf. PPP fix w/o sensor: fix quality will now be 59 PPP fix w sensor: fix quality will now be 69 RTK fixed fix w/ sensor: fix quality will now be 64 RTK float fix w/ sensor: 65 DGNSS and/or SBAS correction fix and w/ sensor: 62 GPS fix without correction but and w/ sensor: 61 Change-Id: I7bc1bb5504e023de40f271d97d31c602f27bd94e CRs-fixed: 2537211
2019-10-07Enable Android sanitizersMike Cailean
Change-Id: I6724d0e171e42f779e8eed6aea126f3f69496f6d CRs-fixed: 2534375
2019-10-07Prevent left shift by a large numberMike Cailean
CRs-fixed: 2534443 Change-Id: I3c52f6f62620c69bc79bc9bc5343e5d1ec08656d
2019-09-17Merge "LocIpc sender recv and recver send"qctecmdr
2019-09-10Selectively send deleteAll command to enginesBhavna Sharma
Modify GNSS interface API's to accept positioning engine mask to perform deleteAll command on CRs-Fixed: 2477966 Change-Id: I54a32d76de98ba6bfa88d7fd1925c44b3079af08
2019-09-09LocIpc sender recv and recver sendKevin Tang
Added two APIs, which allow ILocIpcListener to provide a sender for sending data back to LocIpcSender; and to allow a LocIpcSender to get a recver from the last send target so that it can receive data from it. Change-Id: I94e2204a2588d375805d0674d1e877bbe414c99f CRs-Fixed: 2524039
2019-08-30Merge "GPS hw: report ppe/spe report with combined report"qctecmdr
2019-08-28Merge "AgpsManager supports two clients"qctecmdr
2019-08-22Remove LPPe UP/CP config in gps.confYingjie Wang
LPPE_CP_TECHNOLOGY and LPPE_UP_TECHNOLOGY can be configured per SIM so they should not be overriden by gps.conf by default. Leave commented out for testing purpose; Add check before LPPe injection when engine up. Change-Id: I1b9b33009ec45d0a14c2e50e29d0a9df636a6319 CRs-fixed: 2505512
2019-08-23GPS hw: report ppe/spe report with combined reportWei Chen
When DRE/PPE are also running in the system, in addition to reporitng the combined final output, add the support to report the unmodified SPE/PPE report received from the engine Change-Id: Icb636824da32b175030dfcd2b270ac8b500ff75b CRs-fixed: 2487580
2019-08-20AgpsManager supports two clientshaohuang
AgpsManager supports two clients, QCOM AGPS Stack is to handle ATL type WWAN, AFW AGPS stack is used to handle ATL type SUPL and SUPL emergency. Change-Id: Id43c4919a1ae67d739e055c7fb5ba3abacc70b34 CRs-Fixed: 2509244
2019-08-13Integration on googleplexCyan_Hsieh
Bug: 139269901 Change-Id: I31216560dd1fe0bc19fcc820059a25f4f63c7db5
2019-08-02GPS_LOCK has the wrong value after killing GNSS processMike Cailean
CRs-fixed: 2500864 Change-Id: I5b6cd779ef5c378eedfb54b74b29dbf3191784a1
2019-07-29Allow NFW enable/disable as in 'P'Mike Cailean
Make changes in HAL coupled with a few recommended changes in JAVA/JNI layer to allow 'P' behavior for setting NFW GPS LOCK Change-Id: I6580eaeffefe0c10bc226660439701057e09e4a4 CRs-fixed: 2488332
2019-07-24Fix potential NMEA event registration issueDante Russo
The NMEA event may not be registered because of a race condition. Change-Id: Icc04039f0b3a3bc34101b667778881323edf9131 CRs-fixed: 2493919
2019-07-18Merge "Drop SUPL URL dup check in set and update command"qctecmdr
2019-07-16Drop SUPL URL dup check in set and update commandYingjie Wang
Get rid of Supl url duplication check both in setConfig and updateConfig commands. Also clean gnssUpdateConfig() params Change-Id: I432995a44c08192955bd50630649120933006ff9 CRs-fixed: 2487784
2019-07-15SUPL-2.0-con-034-1/2 test case failsMike Cailean
SUPL-2.0-con-034-1/2 Fail because Emergency-NI did not check inprogress session Change-Id: I377955c455830bf3bb7cb7fe05d45c4536dabfbc CRs-fixed: 2483780
2019-07-08Add XSSO support for multiple network handlesKevin Tang
Add support in HAL for multiple network handles with same type. Change-Id: Idc9e6fc1c7876dc868264500d60a5d086ab003b0 CRs-Fixed: 2477395
2019-07-04Remove params duplicate check for DSDS issueYingjie Wang
Filtering duplicated updates causes issues to parameters that have multiple copies in the modem. Remove the check. Change-Id: I3e62bdee0f5d2a4dd005e3ab5a31f14109213d95 CRs-fixed: 2481714
2019-06-26Merge "Fix SV in use mask isn't correct for multiband SVs"qctecmdr
2019-06-22Merge "NV is not set to blank when SUPL_HOST is set to NONE"qctecmdr
2019-06-19Merge "GnssAdapter: add support for ppe fix type and calibration info"qctecmdr
2019-06-19Merge "Gnss adapter: do not send out empty sv measurement to Android"qctecmdr