From 2794061c7357903ddeb092f7628ad6c1dceb1c05 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Fri, 16 Jan 2015 06:24:40 +0000 Subject: Propagate DR enablement feature from LNX.LA.2.7.3 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 --- core/LocAdapterBase.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/LocAdapterBase.cpp') diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index eea8edd..e005061 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -78,6 +78,13 @@ void LocAdapterBase:: void* svExt) DEFAULT_IMPL() +void LocAdapterBase:: + reportSvMeasurement(GnssSvMeasurementSet &svMeasurementSet) +DEFAULT_IMPL() + +void LocAdapterBase:: + reportSvPolynomial(GnssSvPolynomial &svPolynomial) +DEFAULT_IMPL() void LocAdapterBase:: reportStatus(GpsStatusValue status) -- cgit v1.2.3 From d5389169281474a3a3b3a2817ddb6271897607a3 Mon Sep 17 00:00:00 2001 From: Jiafei Wen Date: Tue, 20 Jan 2015 14:42:26 -0800 Subject: Send GPS tracking fixes to FLP HAL 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 --- core/LocAdapterBase.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'core/LocAdapterBase.cpp') diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index 1c0c1bc..9eb75ec 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -69,8 +69,14 @@ void LocAdapterBase:: GpsLocationExtended &locationExtended, void* locationExt, enum loc_sess_status status, - LocPosTechMask loc_technology_mask) -DEFAULT_IMPL() + LocPosTechMask loc_technology_mask) { + if (mLocAdapterProxyBase == NULL || + !mLocAdapterProxyBase->reportPosition(location, + status, + loc_technology_mask)) { + DEFAULT_IMPL() + } +} void LocAdapterBase:: reportSv(GpsSvStatus &svStatus, -- cgit v1.2.3 From db7fc90da2f6d85cf3f6844c2a580d24bd344de5 Mon Sep 17 00:00:00 2001 From: Dante Russo Date: Thu, 2 Jul 2015 17:30:09 -0700 Subject: Move modem power vote out of hal The modem power vote feature needs to move out of hal as it has non-aosp dependency CRs-fixed: 831075 Change-Id: Ic83276e9d3c0d125a01f50719102fcd7c0455385 --- core/LocAdapterBase.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/LocAdapterBase.cpp') diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index 9eb75ec..19fab0e 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -142,10 +142,6 @@ bool LocAdapterBase:: requestNiNotify(GpsNiNotification ¬ify, const void* data) DEFAULT_IMPL(false) -void LocAdapterBase:: - shutdown() -DEFAULT_IMPL() - void LocAdapterBase:: reportGpsMeasurementData(GpsData &gpsMeasurementData) DEFAULT_IMPL() -- cgit v1.2.3 From f5e6e2eeee213112bcfc074d1d78d6f0d4f883f1 Mon Sep 17 00:00:00 2001 From: Dante Russo Date: Tue, 13 Oct 2015 18:15:16 -0700 Subject: Add glo and bds to used-in-fix mask 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 --- core/LocAdapterBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/LocAdapterBase.cpp') diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index 19fab0e..8da9ff1 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -79,7 +79,7 @@ void LocAdapterBase:: } void LocAdapterBase:: - reportSv(GpsSvStatus &svStatus, + reportSv(GnssSvStatus &svStatus, GpsLocationExtended &locationExtended, void* svExt) DEFAULT_IMPL() -- cgit v1.2.3