summaryrefslogtreecommitdiff
path: root/gnss
AgeCommit message (Collapse)Author
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
2019-06-19NV is not set to blank when SUPL_HOST is set to NONEMike Cailean
Change-Id: Ib53e30dde614a9bee348a41083e177a5999dcfc1 CRs-fixed: 2473365
2019-06-19GnssAdapter: add support for ppe fix type and calibration infoWei Chen
(1) Add support to report out calibration confidence in position report (2) Update gps quality of GGA, mode indicator for GMC and VTG NMEA sentences Change-Id: Ia1aa5283deffed6638172b90a41b481c2d199229 CRs-fixed: 2438838
2019-06-18Fix SV in use mask isn't correct for multiband SVshaohuang
Fix the issue that SV in use mask isn't set correct in reportSv function in GnssAdapter.cpp. Change-Id: Ie90fc4b938875817b105745cf531ee8dc31e74bc CRs-Fixed: 2473868
2019-06-12Gnss adapter: do not send out empty sv measurement to AndroidWei Chen
Do not send out empty sv measurement to Android Change-Id: I4ab807d647be8b44f3f48a3ad5e5ca7f33ac2485 CRs-fixed: 2439716
2019-06-12Merge "SV used in fix satellites are not updated for B2A-Q"qctecmdr
2019-06-11Merge "Fix to use explicit sized structures"qctecmdr
2019-06-10Merge "GPS getting locked after killing LocHIDL"qctecmdr
2019-06-10SV used in fix satellites are not updated for B2A-QMike Cailean
Change-Id: If9d6f4ff694572f22b95b3ccb6015ebcb6310ffa CRs-fixed: 2468528
2019-06-06Fix to use explicit sized structuresBhavna Sharma
Cross processor communication needs explicit sized structures. Avoid using platform defined values like size_t which may vary from 32-bit to 64-bit. Also use explicitly defined timespec32_t structure that will only use uint32_t fields. CRs-Fixed: 2428163 Change-Id: Ida72f53ac672d9c9b86879bb9861cecefe6f8c6d
2019-06-05GPS getting locked after killing LocHIDLMike Cailean
Change-Id: Ib6a9ed37f9198b9024042f8ba7ac9e9bf5f05190 CRs-fixed: 2463756
2019-06-05Update SystemStatus with battery info in HealthHALYingjie Wang
Change-Id: Ibc2157f1834eb65da48f9375e497628411a185c9 CRs-fixed: 2433570
2019-05-31Removing benign error messageSaurabh Srivastava
Removing error message from GNSS update SV Type config method for onDeviceUp scenario. Change-Id: I7a93f9ea2fd5f8c1182c9ce10d298fc5971bc1e3 CRs-Fixed: 2461765
2019-05-21fixed a potential race condition in managing gps lockKevin Tang
gnssConfigRequested in setConfigCommand handling currently gets data into gnssConfigRequested in LocApi thread. This introduces race condition that adapter.getAfwControlId() could be called from a different thread than where adapter.setAfwControlId() is called. CRs-fixed: 2453439 Change-Id: I75ce482a4a87436dff04972ffd82b48db3af62c1
2019-05-19Merge "Send updated GPS lock value to xtra-daemon"qctecmdr
2019-05-17Merge "Fix few ASAN issues reported"qctecmdr
2019-05-16Send updated GPS lock value to xtra-daemonMike Cailean
Send updated (masked) GPS lock value to xtra-daemon CRs-Fixed: 2454370 Change-Id: I17439a2aa10d776cff882a4fb09224489b86c796
2019-05-15Fix few ASAN issues reportedDante Russo
- Fix a Use After Free issue in Gnss Update Config If Engine Capabilities are not known yet at the time of the MsgGnssUpdateConfig, the ids arrray will be freed but the ids pointer will be copied into a new MsgGnssUpdateConfig that will access the ids array again - Issue in NetworkInfoDataItemBase which will result in array out of bound access which might result in heap buffer overflow. Change-Id: Ib5a6dc29fef9eb6676d4605f92d60f26a47d1d90 CRs-fixed: 2449980
2019-05-09Adding NAVIC supportSaurabh Srivastava
NAVIC constellation support added. Change-Id: I30a61f53089177d4e02b617dc9b785c13e2ef6ee CRs-Fixed: 2399619
2019-05-09Merge "LocIpc redesign"qctecmdr
2019-05-09LocIpc redesignBhavna Sharma
LocIpc now doesn't have any impelementation of sockets, but a framework that provides threading for any sockets that can be wrapped into LocIpcSender and LocIpcRever APIs. Also updated XtraSystemStatusObserver to using the new LocIpc and LocIpcLocalSender and LocIpcLocalRecver. Change-Id: I506c77198f9ce1e7d4dfd5e596dc0ac21d928e34 CRs-Fixed: 2443124
2019-05-09Merge "Process CP_MTLR in emergency in different conditions"qctecmdr
2019-05-09Merge "Gnss adapter: retrieve pdop, hdop and vdop from extended struct"qctecmdr
2019-05-09Merge "GPS: add numSVUsedInFix in location api"qctecmdr
2019-05-06Gnss adapter: retrieve pdop, hdop and vdop from extended structWei Chen
For none-SPE engine, pdop, hdop and vdop are set in the extDop struct. Update code to retrieve it from there. Change-Id: I698e960cd90f3d72210cfd0a885080f1546c0c7d Crs-fixed: 2439750
2019-05-04Merge "SV "in-use" flags are not being set correctly for multiband enabled ↵qctecmdr
devices"
2019-05-03Merge "When sending GPS LOCK status to XTRA mask NFW bit"qctecmdr
2019-05-03Process CP_MTLR in emergency in different conditionsMike Cailean
Prcess CP_MTLR based on a new configuration item Change-Id: I9351f574f0b1a4bad2b88f2627ab188ac1522e92 CRs-fixed: 2444954
2019-05-02Merge "feat: Add timeuncNs in PQWM1 message"qctecmdr
2019-05-02Merge "GNSS HIDL 2.0 updates"qctecmdr
2019-05-01SV "in-use" flags are not being set correctly forMike Cailean
multiband enabled devices Change-Id: I875b535063c6aa6ecb713c7b6abff123d8402d62 CRs-fixed: 2443087
2019-05-01feat: Add timeuncNs in PQWM1 messageKatz Yamada
Add timeuncNs field in PQWM1 of debug NMEA message generated by modem. SystemStaus to parse it. GnssDebug adds this value in timeunc when it generates GNSS debug report. Change-Id: I649915f95730dc8db22e8b4cb88008edc6d8b9d0 CRs-Fixed: 2236950
2019-05-01GNSS HIDL 2.0 updatesDante Russo
Implement new GNSS HIDL 2.0 functions and callbacks gnssRequestLocationCb_2_0, getExtensionGnssBatching_2_0, getExtensionGnssDebug_2_0, getDebugData_2_0, injectBestLocation_2_0, gnssSetCapabilitiesCb_2_0, gnssLocationCb_2_0, gnssSvStatusCb_2_0, and gnssMeasurementCb_2_0. Fix VTS test failures from deprecated functions setGpsLock, setSuplEs, V1:0::getExtensionAGnss, and V1.0::getExtensionGnssNi CRs-fixed: 2433957 Change-Id: Id10cb41c32d6c50144b0501eb2d2eaf9c9a9aaec
2019-05-01Merge "Send SUPL notification to the framework for E911 sessions only (older ↵qctecmdr
modems)"
2019-05-01When sending GPS LOCK status to XTRA mask NFW bitMike Cailean
Change-Id: Icdc26358627abf4097dcb8dc4fb35af039fd921d CRs-fixed: 2444862
2019-05-01Gnss interface: add position injection for extended infoWei Chen
Add position injection interface with extended info, e.g.: GnssLocationInfoNotification Change-Id: I6ba8f1111d1511c7071fe358687a478b26e8f9a4 CRs-fixed: 2417450
2019-04-30GPS: add numSVUsedInFix in location apiWei Chen
Add a count in location API for number of SV used in fix Change-Id: I3b396170948fa6c93a88d0fdcf17e28eff5ed5dc CRs-fixed: 2425599
2019-04-30Gnss adapter: fill in proper std deviation in position reportWei Chen
The north and east standard deviation fields are not filled in properly in position report Change-Id: Ic243a6862f3fa4e723b507d391c9a904d65d3c30 CRs-fixed: 2426344
2019-04-30Send SUPL notification to the framework forMike Cailean
E911 sessions only (older modems) Change-Id: Icd317f6e4b042c31afc63011596689d5fb35135f CRs-fixed: 2441292