diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2018-01-22 16:04:50 -0800 |
---|---|---|
committer | Bhavna Sharma <sbhavna@codeaurora.org> | 2018-04-27 10:39:21 -0700 |
commit | f6b613a82760441f1257455256bba5dd9f3c2919 (patch) | |
tree | d9a07a4da34b643440bf124c4a7b4a7e872dcd66 /core/LocAdapterBase.h | |
parent | 94904a7184b068ff5f62999cc125e5f62bd3f93e (diff) | |
download | gps-f6b613a82760441f1257455256bba5dd9f3c2919.tar.gz |
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
Diffstat (limited to 'core/LocAdapterBase.h')
-rw-r--r-- | core/LocAdapterBase.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |