summaryrefslogtreecommitdiff
path: root/core/LocAdapterBase.h
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2018-06-07 16:54:35 -0700
committerMike Cailean <mcailean@codeaurora.org>2018-08-17 09:15:20 -0700
commit75cfd43bfdab4fb478e1504808a418320f5dcd95 (patch)
tree9b3456196dda309ec52ebf4186372296c4c261fb /core/LocAdapterBase.h
parent4088ca58bc1e79fa5753050c5d9a183d7e1bd7fa (diff)
downloadgps-75cfd43bfdab4fb478e1504808a418320f5dcd95.tar.gz
Add jammer indication
Add AGC and jammer indication Change-Id: I93641864338beec368e7a56b3a20b158ea892202 CRs-fixed: 2239155
Diffstat (limited to 'core/LocAdapterBase.h')
-rw-r--r--core/LocAdapterBase.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/LocAdapterBase.h b/core/LocAdapterBase.h
index e3502b2..6b3e02f 100644
--- a/core/LocAdapterBase.h
+++ b/core/LocAdapterBase.h
@@ -113,6 +113,11 @@ public:
mLocApi->updateEvtMask();
}
+ inline void updateNmeaMask(uint32_t mask)
+ {
+ mLocApi->updateNmeaMask(mask);
+ }
+
inline bool isFeatureSupported(uint8_t featureVal) {
return ContextBase::isFeatureSupported(featureVal);
}
@@ -133,9 +138,12 @@ public:
const GpsLocationExtended& locationExtended,
enum loc_sess_status status,
LocPosTechMask loc_technology_mask,
- bool fromEngineHub=false);
+ bool fromEngineHub = false,
+ GnssDataNotification* pDataNotify = nullptr,
+ int msInWeek = -1);
virtual void reportSvEvent(const GnssSvNotification& svNotify,
bool fromEngineHub=false);
+ virtual void reportDataEvent(const GnssDataNotification& dataNotify, int msInWeek);
virtual void reportNmeaEvent(const char* nmea, size_t length);
virtual void reportSvMeasurementEvent(GnssSvMeasurementSet &svMeasurementSet);
virtual void reportSvPolynomialEvent(GnssSvPolynomial &svPolynomial);