summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
AgeCommit message (Collapse)Author
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-08-06Clear passing up memory for LocApiBase functionQiang Chen
GpsLocation object need to be cleared in case the base calss member function being called so that no bad values will be passed up. Change-Id: I224ecebb3e4137c1baddd99ce0211a0f60d3e5b4 CRs-fixed: 879356
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-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-12-02Remove Redundant LogJiafei Wen
This change removes redundant log printing, including SV info and position report. Change-Id: Ifcf827f73e6c940e3fcb93402bc7a4b22e9a9d4e CRs-fixed: 765333
2014-10-20GPS_LOCK configuration supportKevin Tang
GPS_LOCK is defined as a bit mask in the higher layer defined in gps.conf. GPS HAL reads from gps.conf, yet this can be reconfigured by gps.h defined new API to a different value. The current value will be used at cleanup() time, to optionally lock gps modem to the configured mode. This changs also sets SUPL URL to NULL if hostname comes with set_server() API is a NULL string. Also optimized configuration_update() implementation so that no all items will go through the reconfigu scan. Also added SUPL_MODE as a parameter in gps.conf which can be uncommented to over-write the value from config.xml. This can be used for testing purposes Bug: 16131208 Bug: 17288144 CRs-fixed: 736966 Change-Id: I12a89b12ff82b6efd7b5567d2fcd6a7e79414c71
2014-10-04Checking messages supported or notJiafei Wen
When device boots up, get a list of message supported by modem, based on which some adapeters will be able to update register masks. CRs-fixed: 601349 Change-Id: I6af282f8e551f1f3c6bf8795e968fdbc7b0a9fa3
2014-08-06agps cert install api implementationDante Russo
Implementation of the install agps certificate API for installing certificates at runtime. Change-Id: I49239b612381e81bd8a4c0a5773783572d4b2d9a
2014-07-21Add support for XTRA_VERSION_CHECK QMI LOC msgTushar Janefalkar
A new QMI LOC msg is introduced which injects into the modem a value that determines whether or not the version of XTRA is to be checked Change-Id: I0ef579332d064713ce73d80e66dc8c6fef1c1638 CRs-fixed: 649860
2014-05-05Inject feature configTushar Janefalkar
This change injects feature config through using the first available context CRs-fixed: 616544 Change-Id: Idea5bd8acfff729589c071f20bec18679c89ab25
2014-03-26Adds power voting for QCA1530 SoCValeri Atamaniouk
When ALM is enabled, GPS HAL performs power vote for QCA1530 SoC using engine lock mechanics. Change-Id: I97c5c0460843fc1ad995932f97eeadb7b83fcb3b
2014-02-13Changes to inject sensor provider info to modemHema Iyer Sankaranarayanan
Changes to inject the sensor provider config info to modem. CRs-fixed: 604557 Change-Id: I3875e295f30d863a540efe22d6daf264d8d81476
2013-11-26Adds ZPP Feature ImplementationSatheesh Jayakumar
Changes for enabling Zero Power positioning feature in the location services subsystem.It involves modifications to HAL and ULP engine. CRs-Fixed: 457060 Change-Id: I62187e66d44c5b40e1b2a41cafc0cb3e7c94f6d8
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
2013-09-25Changes for liblbs_coreTushar Janefalkar
Added new module liblbs_core to make LocApiV02 independent of pre-built binaries. This patch provies the necessary changes to support the new module CRs-fixed: 538124 Change-Id: I716cf169de9dae164a141651af971793099a927d
2013-09-17Add LocApi to get Zpp fix.Kevin Tang
Added get zpp fix API so that different other features can make use of this feature in the AP space. Change-Id: I32e750626704c5d0069723ee1ca949fda4a5505e
2013-08-29Fixes a bug in sessionCheck() for all adaptersSatheesh Jayakumar
Changes to ensure the code breaks out of the adapter session check loop once any one of them is in session. Change-Id: I73b3a5f4954050abf5ce3d4c5a04245c894725f2 CRs-Fixed: 534811
2013-08-22Add API to read and write GPS lock valuesTushar Janefalkar
This change adds an interface to set and get values for the GPS lock Change-Id: I8c83b693fe4c3e6edc9cc5c8c5cbf8471e332c86
2013-08-09removed ulp dependency.Kevin Tang
ULP will no longer be loaded and init'ed from loc eng HAL. GPS HAL will look for ULP once it completes init and waits for a msg back once it hears from ULP. This is done with introduction of UlpProxy. Default proxy is a no op proxy. Change-Id: If0be0b5744f9de20f12c2f0b9704dea66aa454c0 (cherry picked from commit 2eb4ddcae94283df6c6be450c4c070ffd8ff9cd7)
2013-08-09corresponding to izat_core and LBSAdapter changes.Kevin Tang
Removed makefile dependency to AndrodRuntime; Renamed library to be loaded from liblocation to libizat_core; Made some class private access to protected for the needs of inheritance; piggy bagged some optimizations. Change-Id: Id7e3127baa1833cbad7739f50808941c733b87f2 (cherry picked from commit c039ceaec84b25573d710b31831c9b06d4f3d1c6)
2013-08-09Revert "Revert "Location Hal Design Level Change for FLP Requirement"".Kevin Tang
This reverts commit 55a6841843912ef8b46b67cbe9cbc60844244a74. (cherry picked from commit 363ed1a6b09d7426bfd3726becd2d713da57fa80) Change-Id: I19153a904dd7587dfd517dcc86f51f4b1110289a
2013-08-07Revert "Location Hal Design Level Change for FLP Requirement"Sridhar Gujje
This reverts commit a915406668658c66698be3386c8796eb438ea282 Change-Id: I7f677a9540a64a60b5f4ed898ba6bed8b3482687
2013-08-02Location Hal Design Level Change for FLP RequirementKevin Tang
Changes can be highlighted with below summary: * Split the original LocApiAdapter to LocAdapter and LocApi. Now different adapter implementations can flexibly connect to different LocApi; * LocApi continues to abstract the API binding to RPC or QMI; * MsgTask which creates and owns a msg Q and a thread, and it define a LocMsg base msg class. The handler pulls a msg out of the Q and calls its proc() method. This makes it possible for msg sender to keep the data in the msg encapsulated, as it no longer requires a central msg handler who must under- stand all data format. This used to be where all the compile time dependencies are tangled together; * Added Context to bundle MsgTask and LocApi; * Added LocDualContext specifically for the FLP Location Hal architecture requirement; * Placed all the base classes of the above in loc_core folder / loc_core namespace / libloc_core.so, so other libraries can easily use derive from here without having to pull in the loc_eng implementation, which is a large library to include or link to; Change-Id: I40abfba96dea76757c98530c1f5e076b34ba4ac7