summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-03-01[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sm7150/gpsBob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: utils/Android.mk Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution to: android/1.0/Android.mk android/1.1/Android.mk android/2.0/Android.mk Added SPDX-license-identifier-BSD to: android/utils/Android.mk batching/Android.mk core/Android.mk geofence/Android.mk gnss/Android.mk location/Android.mk pla/Android.mk Added legacy_notice to: etc/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I07267e93ebfc743a0d1e99a8a7853058b0de4c9c
2020-01-21Correct DataItem logging in SSO::notifyYingjie Wang
We should log the copied DataItem with full fledged definition instead of the original incomplete one. Change-Id: I914e77f1d91de783ef8f4cddd885981a0c8e5008 CRs-fixed: 2604928
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-26Merge "FR 57252: GPS hal changes to allow configuration for LE target"qctecmdr
2019-11-22Merge "Report ErrRecovery only when there is actual event"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-13Merge "GPS HAL: send platform power state event to modem"qctecmdr
2019-11-09Merge "Add NI_SUPL_DENY_ON_NFW_LOCKED configuration"qctecmdr
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-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-17GPS: enable tunc constrained feature by default for auto PLWei Chen
Enable TUNC feature by default if DISTRO is set to "auto" Change-Id: I5d05a40fd6c6fb5c9f37cf2a7478f66b9384f5df CRs-fixed: 2528781
2019-10-10Merge "Enable Android sanitizers"qctecmdr
2019-10-07Enable Android sanitizersMike Cailean
Change-Id: I6724d0e171e42f779e8eed6aea126f3f69496f6d CRs-fixed: 2534375
2019-10-01Systemstatus - add support older version of PQWMEMike Cailean
Add support of older (shorter) version of PQWME strings from modem. Systemstatus currently discards those shorter strings. This change is to fill out all zeros in those missing fields instead of discarding the whole sentence. Change-Id: I0276e595c738253608071f12170232a59e3b2e9e CRs-Fixed: 2153513
2019-09-25Use 'subdir-objects' option in HAL configure optionsHarikrishnan Hariharan
If a source file is in a subdirectory, but the 'subdir-objects' automake option hasn't been enabled. For now, the corresponding output object file(s) will be placed in the top-level directory. However, this behaviour will change in future Automake versions, they will unconditionally cause object files to be placed in the same subdirectory of the corresponding sources. So to avoid future incompatibilities, enable the 'subdir-objects' option in location module configure options. Change-Id: If9e94c0f6fcd9922ee7f0f9d1909d5d6579a5715 CRs-Fixed: 2533108
2019-09-16Change Word in comments in default configurationSantoshkumar Zalake
CRs-Fixed: 2528185 Change-Id: Iec09e2dd19eb27a64b18ce0cd22aeba71d2e97de
2019-09-09Support PQWP7 parsing without NAVICSaurabh Srivastava
Support PQWP7 NMEA parsing for older GNSS engine without NAVIC support. CRs-Fixed: 2516292 Change-Id: I62bd4467f15b8c5fc77e7c979eefb146276ff2a0
2019-09-07Make use of USE_GLIB flags for LE related functionsHarikrishnan Hariharan
We were making use of USE_QCMAP which was not defined in configure files. Change-Id: I12f823a79b0036502b832a3fb40a93828bde6f59 CRs-Fixed: 2521803
2019-09-05Merge "Add GNSS Deployment Support."qctecmdr
2019-08-30Add GNSS Deployment Support.Santoshkumar Zalake
The GNSS Deployment is used to configure GNSS Hardware using gps.conf file CRs-Fixed: 2480150 Change-Id: Ia09d3165de0c2f80f23bef8c0431095b25d16ea2
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-16delete of shared LocApiBase::mMsgTask may cause issuesKevin Tang
mMsgTask is static, its delete would impact other LocApi objects which don't know it is deleted. Added refcount to manage this shared obj. Change-Id: Iea81039b9cd74081c5230d6bb18ea80c2ee05916 CRs-Fixed: 2505569
2019-07-24Adding NAVIC to constellation string arraySaurabh Srivastava
Adding NAVIC to the array of constellation strings while reporting SV to clients. CRs-Fixed: 2494936 Change-Id: Ifabc3bc3d0583119f3e1e80c9f69c60ff68e3602
2019-07-17Report ErrRecovery only when there is actual eventKevin Tang
SystemStatus needs to report ErrRecovery events only when they actually happen (value != 0). Change-Id: I282d9c703542ef4bfd61ded78b903017816bd2cb CRs-Fixed: 2491022
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-06-05Update SystemStatus with battery info in HealthHALYingjie Wang
Change-Id: Ibc2157f1834eb65da48f9375e497628411a185c9 CRs-fixed: 2433570
2019-05-18Addressing format related to formatingNilesh Gharde
Added formating related issue as genuine errors fixes Change-Id: Ie01e9ce3bf838a37871a4779ae1403b4dca3d87c CRs-Fixed: 2447200
2019-05-17Merge "Fix few ASAN issues reported"qctecmdr
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-09Merge "Set yearOfHw to 2019 if Location Privacy feature is supported"qctecmdr
2019-05-09Adding NAVIC supportSaurabh Srivastava
NAVIC constellation support added. Change-Id: I30a61f53089177d4e02b617dc9b785c13e2ef6ee CRs-Fixed: 2399619
2019-05-09Merge "Age Second field in GNSS debug data is incorrect"qctecmdr
2019-05-06Set yearOfHw to 2019 if Location Privacy featureMike Cailean
is supported Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511 CRs-fixed: 2446241
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 "Default value of SUPL_ES to enable"qctecmdr
2019-05-01Age Second field in GNSS debug data is incorrectMike Cailean
Change-Id: Iec28f9dbbc3b9cfe9a5d06e1f198a02cf09047be CRs-fixed: 2434780
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-04-25Default value of SUPL_ES to enableDante Russo
SUPL_ES by default needs to be enabled, since it is no longer set by AFW at runtime. CRs-fixed: 2444734 Change-Id: I370a3e0f8ab6905b47629c4076f645b26ff8acc9
2019-04-23Update proxyAppPackageName field in nfw notificationMike Cailean
Change-Id: I993a6d9227b03626bc254675944df28cc578a6c7 CRs-fixed: 2437418
2019-04-08Streamline measurements processingMike Cailean
Consolidate the translation from QMI LOC into one place in order to minimize traffic Change-Id: I73c2f25e94544a2b69d4227c63548ef11b6a4d91 CRs-fixed: 2430668
2019-03-31Merge "Add HAL support for network handle"qctecmdr
2019-03-27Batching and Geofence moved to GNSS HALDante Russo
Addition of BatchingAdapter and GeofenceAdapter. Deprecated Background LOC QMI Client and renamed LocDualContext renamed to LocContext. Moved some common Adapter functions into LocAdapterBase. Added Distance Based Tracking logic into GnssAdapter. Addition of flp.conf Deprecated GEOFENCE capabilities configuration in gps.conf CRs-fixed: 2342200 Change-Id: I6b6257c4cf296e5a8c56bc0b149e4de77cf6cdf9
2019-03-26Add HAL support for network handleKevin Tang
Add HAL support for modifications to the network status information passed in. Change-Id: I99defc6a419d9f21ce74469a1aa016cc7fade4a5 CRs-Fixed: 2397433
2019-03-22Merge "Improved Location NI Privacy"qctecmdr Service
2019-03-21Improved Location NI PrivacyMike Cailean
Changes to be made starting in Android Q in the way that Location requests made by Location clients other than the Android FrameWork (e.g. Network Initiated AGNSS clients, modem-based clients such as MDT) are handled CRs-fixed: 2397454 Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
2019-03-21Merge "clear magic number for GPS_LOCK"qctecmdr Service