From f6b613a82760441f1257455256bba5dd9f3c2919 Mon Sep 17 00:00:00 2001 From: Bhavna Sharma Date: Mon, 22 Jan 2018 16:04:50 -0800 Subject: Addition of new LocApi thread 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 --- core/LocAdapterBase.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/LocAdapterBase.h') diff --git a/core/LocAdapterBase.h b/core/LocAdapterBase.h index 8388c71..64537fe 100644 --- a/core/LocAdapterBase.h +++ b/core/LocAdapterBase.h @@ -107,7 +107,7 @@ public: } inline bool isFeatureSupported(uint8_t featureVal) { - return mLocApi->isFeatureSupported(featureVal); + return ContextBase::isFeatureSupported(featureVal); } uint32_t generateSessionId(); @@ -155,6 +155,8 @@ public: virtual void reportGnssMeasurementDataEvent(const GnssMeasurementsNotification& measurements, int msInWeek); virtual bool reportWwanZppFix(LocGpsLocation &zppLoc); + virtual bool reportZppBestAvailableFix(LocGpsLocation &zppLoc, + GpsLocationExtended &location_extended, LocPosTechMask tech_mask); }; } // namespace loc_core -- cgit v1.2.3