summaryrefslogtreecommitdiff
path: root/core/LocAdapterBase.cpp
AgeCommit message (Collapse)Author
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-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-05-06Set yearOfHw to 2019 if Location Privacy featureMike Cailean
is supported Change-Id: If5ee31603491c83652082ce295abfcf9c9fec511 CRs-fixed: 2446241
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-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-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-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
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-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-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
2018-08-17Add jammer indicationMike Cailean
Add AGC and jammer indication Change-Id: I93641864338beec368e7a56b3a20b158ea892202 CRs-fixed: 2239155
2018-06-12Handle updating the carrier configurationMike Cailean
Set GPS_LOCK for cases where the modem has two SIMs Change-Id: I2745b9469b2f755b0a24be2a7f4ae514c35a37cb CRs-fixed: 2018029
2018-06-11SUPL connection enhancementsMike Cailean
Adding enhancement to ATL messages to allow sending bearer type and apn type mask values. CRs-fixed: 2206014 Change-Id: I28f6583d842e82c9e26d40be55312f8aaf01193e
2018-06-07changes to work without ULP moduleKevin Tang
Rework the module with ULP module being removed Change-Id: I5ac81e8c1c734352b3087545b83f4812fa3e8aff CRs-fixed: 2235309
2018-06-03FR 48850 - Device based hybrid ODCPISaurabh Srivastava
Adding support for sending ODCPI request to framework via IGnss interface. Change-Id: I97ab4f00505705fedc266998602499fd344baf31 CRs-Fixed: 2217664
2018-06-03FR 45651 - GNSS SV/Constellation ControlSaurabh Srivastava
Adding support for configuring GNSS SVs and constellations to be used. Change-Id: I47d5cd9d08ac9aaf633be2fe3b1bd152a2f4293b CRs-Fixed: 2184871
2018-05-29FR 46082 - SUPL Network Setup ImprovementsSaurabh Srivastava
Adding enhancement to ATL messages to allow sending bearer type and apn type mask values. CRs-Fixed: 2209227 Change-Id: I09a294946610f26de4760a0fba6f13083f8752f3
2018-04-27Addition of new LocApi threadBhavna Sharma
1. LocApiBase to create its own MsgTask thread to allow QMI calls to be made asynchronously. It shall no longer share the adapter's thread. 2. Implementation of new LocApiResponse classes for generic response type from LocApi layer to Adapter layers 3. GnssAdapter modified to handle the asynchronous nature of LocApi calls. CRs-Fixed: 2218658 Change-Id: I6e401a89f16791ec144763ac5f070b7ee1dad931
2018-04-12GPS Adapter: GNSS adapter change to go with engine hub aggregatorBhavna Sharma
1: GNSS adapter change to block out position and SV report from ULP when engine hub aggregator is used 2: Support unpropagated position report Change-Id: Id0cacd87d3f3f8eec893d751b9f7a55a736a4023 CRs-fixed: 2210253
2018-01-16LE clean upKevin Tang
separated utils, core, ds and loc-api-v02 from loc-hal into their own independent packages; simplified loc-pla; moved pla to the root of project; removed loc-stub. Change-Id: I373f02f9306646addf55ae90d71c4ba8e3741d09 CRs-Fixed: 2172544
2017-08-11move getAgcInformation and setDefaultReport into GnssAdapterKevin Tang
They are currently in LocApiv02, which is incorrect. SystemStatus shouldn't be referenced at this layer. And both of these two calls are specific to GnssAdapter use cases too. Change-Id: I7098e3963be163199a833a8fb6b12a100405f71e CRs-Fixed: 2090442
2017-08-01Clean up compiler warning messageBaili Feng
CRs-Fixed: 2070597 Change-Id: Ic57f5211a4e4b9112888435d54df7a361bcb6767
2017-04-28Enable LOGV for gps directoryYingjie Wang
Define LOG_NDEBUG 0 to enable VERBOSE log messages in hardware/qcom/gps Change-Id: I954cad757f13d6bac99b7a06625daa0ace84a17e CRs-fixed: 2025673
2017-04-04Fix NI Request EventDante Russo
GnssAdatper::requestNiNotifyEvent function is not overriding LocAdatperBase::requestNiNotigyEvent because of slightly different parameters Change-Id: Ib3e6b562c437e47fba2a086d47c887f2efce7637 CRs-fixed: 2027710
2017-02-28LocationAPI implementationDante Russo
Implementation of LocationAPI into gps hal to be a common API that is called into by platform specific APIs. Change-Id: Ie5a7bd217d4ae2175ad49e6aca2fb6ecd4702f3b CRs-fixed: 1112712
2017-02-14Decouple libhardware usage on LE for gnss modelsBaili Feng
Remove all usage of gps.h and fused_location.h from all gnss models except gps/fpl hal librarys Change-Id: I90ba233c6bbe5c31a4cacceeb981833719c871f2 CRs-Fixed: 1067953
2016-08-30Combo Provider 2.0Dante Russo
Part of overall Combo Provider 2.0 changes. This fix changes getBestWwanPosition API from sync to async, as the QMI API used can now take longer to produce a position CRs-fixed: 994048 Change-Id: I5654f9ab417ffea86ed8653731df1ca47cf7e733
2016-07-08Merge remote-tracking branch 'quic/location.lnx.1.0-dev.1.0'Bhavna Sharma
into location.lnx.2.0-dev CRs-Fixed: 1038354 Change-Id: I87b3a7f33a0bb48783554bf5ecb0140695e40c9d
2016-06-02Merge branch 'quic/LA.AF.1.2.1' into location.lnx.1.0-devMadhanraj Chelladurai
merge automotive specific changes from LA.AF.1.2.1 into location development branch Change-Id: I90a5e60c46bb5b1aafaf4cd9aaf2dcb79449f288 CRs-Fixed: 1017254
2016-05-12Merge remote-tracking branch 'origin/location.lnx.1.0-rel.1.0' into HEADVamana Murthi
git merge upto CRT tag location.lnx.1.0-00036 to private_n_location.lnx Change-Id: I922daaa9a8c2745095ec9d425192d3649657e76c CRs-Fixed: 1015000
2016-04-14Support GnssMeasurementMike Cailean
Support the new GnssMeasurement and GnssClock data structures for the new gps.h Change-Id: I40e00711501432760c82d27fb82702b1bf57ebb6
2016-04-14Rename GnssSvStatus to QtiGnssSvStatusDante Russo
Change-Id: Ieeeb03af37440214f4762d495d949b4ab59ed237
2016-03-15Revert "Revert "Fix compilation issues for m_master merge into oe_master"."Deven Patel
This reverts commit fa7a874eb0586c7844fe3a4cb8d0063ce53464f0 Change-Id: Id2415d80fa3cbdc124e0a3bdd2722db7f233ad53
2016-03-15Revert "Revert "Merging m_master changes to oe_master"."Deven Patel
This reverts commit a29688ff347be4972133eb11ccecaf03b0d3445e Change-Id: Iab525a58ddb6a00e119afe19f4f51b07b7f428f2
2016-03-07Revert "Merging m_master changes to oe_master".Deven Patel
This reverts commit 1aeb6bad84c0afd0e032c3d4d7e33959501e18f1 Change-Id: Iec0a96e7cdfe55ef5836c92a2ae1cce407f6cd5e
2016-03-07Revert "Fix compilation issues for m_master merge into oe_master".Deven Patel
This reverts commit ecb67363ee73c0374424795ae6014a794065f5ab Change-Id: I7b540247b246ea4caf710247d2c58b55515dae7c
2016-02-04Fix compilation issues for m_master merge into oe_masterKevin Tang
Fixed compilation issues for M upgrade Change-Id: I602aa7c8a2db9682a1fe94b7ca892027281deec7
2015-11-05Add glo and bds to used-in-fix maskDante Russo
The used-in-fix mask is only keeping track of GPS SVs, so add a used-in-fix mask for GlONASS SVs and BDS SVs as well to avoid NMEA generation issues CRs-fixed: 826152 Change-Id: I33862cf8d40db1d667179ef68d18703edc359843
2015-09-22Sending FLP fixes to ULPJiafei Wen
For crowd sourcing, FLP HAL needs to share with ULP the flp fixes in real time. This change is making FLP HAL to send flp fixes to ULP. Change-Id: I1a852ec69db8eb50de5c18b03205d1b488cfd4b0 CRs-fixed: 874928 878064
2015-07-16Move modem power vote out of hal.Dante Russo
The modem power vote feature needs to move out of hal as it has non-aosp dependency. CRs-fixed: 831075 Change-Id: Ic83276e9d3c0d125a01f50719102fcd7c0455385
2015-07-13Move modem power vote out of halDante Russo
The modem power vote feature needs to move out of hal as it has non-aosp dependency CRs-fixed: 831075 Change-Id: Ic83276e9d3c0d125a01f50719102fcd7c0455385
2015-06-22Add glo and bds to used-in-fix maskDante Russo
The used-in-fix mask is only keeping track of GPS SVs, so add a used-in-fix mask for GlONASS SVs and BDS SVs as well to avoid NMEA generation issues CRs-fixed: 826152 Change-Id: I33862cf8d40db1d667179ef68d18703edc359843
2015-03-01Send GPS tracking fixes to FLP HALJiafei Wen
FLP HAL accepts GPS tracking fixes for tracking, so this change sends the tracking fixes to FLP HAL while flp tracking is undergoing. Also, this change adds batching options flags and batching succeed/failure definitions. CRs-fixed: 748687 Change-Id: I11a2ba337433d9a42c903d36fc980ee1a3983a1e
2015-02-13Send GPS tracking fixes to FLP HALJiafei Wen
FLP HAL accepts GPS tracking fixes for tracking, so this change sends the tracking fixes to FLP HAL while flp tracking is undergoing. Also, this change adds batching options flags and batching succeed/failure definitions. CRs-fixed: 748687 Change-Id: I11a2ba337433d9a42c903d36fc980ee1a3983a1e
2015-02-08Merge tag 'AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175' into 111Hans Chang
AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175 based on quic/aosp/LA.AF.1.1 * tag 'AU_LINUX_ANDROID_LA.AF.1.1.05.00.02.164.175': GNSS measurement Added new events and masks for GDT AP gps.conf parameters are in sap.conf table Enable "auto" target for APQ8960 Automotive ADP platform support reinjecting supl url for sim hot swap Remove Redundant Log Report 2D speed rather than 3D speed. Conflicts: core/gps_extended_c.h Change-Id: Ibe1207ac07a2931003f5fa34ae68d8c1e6512eeb
2015-01-24Propagate DR enablement feature from LNX.LA.2.7.3Kevin Tang
Change Summary: * Changes taken from change#812357; * Structure definitions for GNSS SV Measurement and GNSS SV Polynomial to report it to ULP and to external DR module; * New function additions in LocApiBase, LocAdapterBase and LocEngAdapter to report SV Measurement and SV Polynomial; * definition and changes to detect "auto" platform in loc_target; * enable SV Measurement and SV Polynomial report for "auto" platform; Change-Id: I5ac5ee5c44e72e657b16515e37637c9a5c64e638
2015-01-16GNSS measurementDante Russo
Implementation of GNSS Measurements support. In GPS HAL, Only GPS Measurements report will be collected from modem. CRs-fixed: 771496 Change-Id: Ief4368099df4ff573ad1a764f4156d63685e936d
2014-04-01Close MDM node on shutdownTushar Janefalkar
Added call to close mdm power node as part of procedure to shutdown CRs-fixed: 640576 Change-Id: Ie0c05272249401f6cf13e9443417b0ba5de1be52
2014-01-27Add a new LocAdapterProxyBase classBhavna Sharma
LocAdapterProxyBase bridges the LocAdapterBase and IzatAdapterBase to communicate SSR events. CRs-Fixed: 598430 Change-Id: I8aa54f207e474974fa6fd5330c1545f94720a5cb
2013-10-28Add LocApiProxyBase to contextJiafei Wen
This is so that the izat adapters can get access to LocApiProxy through the context. Change-Id: I15a477d159375740047cd7386f8c8c5163fdaf87