summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2019-04-08 11:17:31 -0700
committerMike Cailean <mcailean@codeaurora.org>2019-04-08 11:17:31 -0700
commitb95f05cc738a5de5d3dd9751af6da532c6f0079a (patch)
tree879de742da2129e9e96d59c8f9228803533dc417 /core/LocApiBase.cpp
parenta6c61bde6a815aa723fd3dc144875e5758349955 (diff)
downloadgps-b95f05cc738a5de5d3dd9751af6da532c6f0079a.tar.gz
Streamline measurements processing
Consolidate the translation from QMI LOC into one place in order to minimize traffic Change-Id: I73c2f25e94544a2b69d4227c63548ef11b6a4d91 CRs-fixed: 2430668
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 3c67af2..c172376 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -434,14 +434,6 @@ void LocApiBase::reportSv(GnssSvNotification& svNotify)
);
}
-void LocApiBase::reportSvMeasurement(GnssSvMeasurementSet &svMeasurementSet)
-{
- // loop through adapters, and deliver to all adapters.
- TO_ALL_LOCADAPTERS(
- mLocAdapters[i]->reportSvMeasurementEvent(svMeasurementSet)
- );
-}
-
void LocApiBase::reportSvPolynomial(GnssSvPolynomial &svPolynomial)
{
// loop through adapters, and deliver to all adapters.
@@ -534,11 +526,10 @@ void* LocApiBase :: getSibling()
LocApiProxyBase* LocApiBase :: getLocApiProxy()
DEFAULT_IMPL(NULL)
-void LocApiBase::reportGnssMeasurementData(GnssMeasurementsNotification& measurements,
- int msInWeek)
+void LocApiBase::reportGnssMeasurements(GnssMeasurements& gnssMeasurements, int msInWeek)
{
// loop through adapters, and deliver to all adapters.
- TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGnssMeasurementDataEvent(measurements, msInWeek));
+ TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGnssMeasurementsEvent(gnssMeasurements, msInWeek));
}
void LocApiBase::reportGnssSvIdConfig(const GnssSvIdConfig& config)