summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-03-29[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sm8150p/gpsandroid-s-beta-2android-s-beta-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: etc/Android.mk 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 Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I67439a4855f264502128001a7ba891e87015bf28 Merged-in: I67439a4855f264502128001a7ba891e87015bf28 Merged-in: Ia4a874e2820c4f700e707a2a34caad0ecb845270
2019-10-05Merge remote-tracking branch ↵ChengYou Ho
'goog/qcom/release/LA.UM.8.1.R1.10.00.00.529.095' into qt-qpr1-dev Bug: 142115591 Change-Id: Id054a7e91bc88060e6f3b05428ecb5ae2f737993
2019-10-02Support PQWP7 parsing without NAVICKevin Tang
Support PQWP7 NMEA parsing for older GNSS engine without NAVIC support. Bug:141735605 Test: build pass and no PQWP7 error when tracking CRs-Fixed: 2516292 Change-Id: I62bd4467f15b8c5fc77e7c979eefb146276ff2a0
2019-09-23Change Word in comments in default configurationSantoshkumar Zalake
CRs-Fixed: 2528185 Change-Id: Iec09e2dd19eb27a64b18ce0cd22aeba71d2e97de
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-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
2019-03-19Merge "Remove tracking redundanty and assure min interval"qctecmdr Service
2019-03-18clear magic number for GPS_LOCKHoss Zhou
Change-Id: I3c1b5a18ab16382a436098f8af541bf7f125783e CRs-fixed: 2370451
2019-03-14Merge remote-tracking branch 'quic/location.lnx.4.0' into HEADKevin Tang
CRs-fixed: 2414738 Change-Id: Ic8d1cd5bb37d1ad26c2749e46be279942e28ac05
2019-03-06allow a isMaster client in LocAdapterProxyBase ctorKevin Tang
This would allow GeofenceAdapter become a master adapter, in case it gets created before GnssAdapter. Change-Id: I9eb55b7fac9970fd11d4e34bdf7cf824e5b1c586 CRs-Fixed: 2403691
2019-02-26Remove tracking redundanty and assure min intervalDante Russo
A tracking interval should not be less than 100ms If tracking interval or power mode is updated to the same value, then start tracking should not be sent to the modem again. Fix some issues with multiplex with powerMode Change-Id: I91e5d0577569b96179a5337af0fc91641dc126db CRs-fixed: 2190953
2019-02-19Merge "New structures and handling of new data in the pipe"qctecmdr Service
2019-02-17Fix race condition that adapter does not get handleEngineUpKevin Tang
- Removed redundant injectFeatureConfig() call, as it this happens twice, once when the first context is created which would have been too early and once when LocApi open success. - Resolved a race condition that second adapter added may not have been in LocApi's adapter list yet when handleEngineUp() is broadcast. Change-Id: I8ecc18eab6b450c326c0be1abc011f70285439aa CRs-Fixed: 2397902
2019-02-14Fix race condition that adapter does not get handleEngineUpKevin Tang
- Removed redundant injectFeatureConfig() call, as it this happens twice, once when the first context is created which would have been too early and once when LocApi open success. - Resolved a race condition that second adapter added may not have been in LocApi's adapter list yet when handleEngineUp() is broadcast. Change-Id: I8ecc18eab6b450c326c0be1abc011f70285439aa CRs-Fixed: 2397902
2019-02-06New structures and handling of new data in the pipeBhavna Sharma
1. KlobucharIonoModel 2. Additional parameters for Glonass 3. Add gps system time to ephemeris reports. CRs-Fixed: 2388931 Change-Id: Ibd08496c8eda2ce7571cbdd71ff0c179f7376aa7
2019-01-09Qualcomm Unified Vendor - GPShaohuang
Remove remaining build flag checks in all location vendor modules : BOARD_VENDOR_QCOM_LOC_PDK_FEATURE_SET LW_FEATURE_SET Change-Id: Ideacd3ae7f6a49ff3da3ca8cd14668c01400484a CRs-Fixed: 2341041
2018-11-20Request for a data item value is not handle by SSOHarikrishnan Hariharan
Subscribe for a data item first time adds the DI to internal SSO client list. When the request comes for after this, since item is already added, dataItemsToSubscribe will be empty. So the code for request value for DI is not invoked. Handle this scenario in SSO. Change-Id: Ife04fe4eedc9b3132e7967f781b0e29ac41c01e7 CRs-Fixed: 2347338
2018-10-08FR48381: Support leap second change eventWei Chen
Support leap second change event (1) Info will be available in location api and location client api (2) Engine hub aggregator will use the info to calculate UTC timestamp Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6 CRs-fixed: 2289457
2018-10-05Merge "New additions for Ephemeris and Poly handling"Linux Build Service Account
2018-10-03Handling network types not available in IAgnssRil enumsHarikrishnan Hariharan
Handling network types not available in IAgnssRil enums like Bluetooth, Ethernet, Proxy etc. Pass these network type info to framework, rather than sending the default TYPE_UNKNOWN. Change-Id: I7e997b82b07ca68d928bef322182031a2d47e532 CRs-Fixed: 2325210
2018-10-02New additions for Ephemeris and Poly handlingBhavna Sharma
1. Add new data structures to hold the Ephemeris reports. 2. Modifications to SV Poly structure to include delete flags. 3. Add SV_POLY bit to GnssAidingDataSvMask to support delete commands from modem for poly and ephemeris per constellation. 4. Define LocApiBase and LocAdapter functions to report the ephemeris content, request for complete valid ephemeris and Poly content at any time and report delete commands from modem on Ephemeris and Poly content. CRs-Fixed: 2301149 Change-Id: If36e87c410c3204c94a6ed7db30f297edba95508
2018-09-28Merge "FR47184: tunc constrained and position assisted time estimator"Linux Build Service Account
2018-09-26FR47184: tunc constrained and position assisted time estimatorDante Russo
(1) Configure tunc constrained module on modem via gps.conf (2) Configure position assisted time estimator and inject DRE position with additional info to modem (3) Support get total energy consumption API by GNSS engine since device first bootup Change-Id: I1e73057df090c1d356c55a498f06eed45839ca8f CRs-fixed: 2276355