summaryrefslogtreecommitdiff
path: root/core/LocApiBase.h
diff options
context:
space:
mode:
authorSaurabh Srivastava <ssrivast@codeaurora.org>2018-04-08 23:35:14 +0530
committerSaurabh Srivastava <ssrivast@codeaurora.org>2018-06-03 22:43:58 +0530
commit98edc19bea3cf5787e5af903c8408dede420be58 (patch)
tree0702ae0f5d03195e8748e47a93c412feb8391bb9 /core/LocApiBase.h
parent66c682f7d977846215b6d3607a5a43ad21c9c8b9 (diff)
downloadgps-98edc19bea3cf5787e5af903c8408dede420be58.tar.gz
FR 48850 - Device based hybrid ODCPI
Adding support for sending ODCPI request to framework via IGnss interface. Change-Id: I97ab4f00505705fedc266998602499fd344baf31 CRs-Fixed: 2217664
Diffstat (limited to 'core/LocApiBase.h')
-rw-r--r--core/LocApiBase.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/LocApiBase.h b/core/LocApiBase.h
index 17ccc4e..7b3aee3 100644
--- a/core/LocApiBase.h
+++ b/core/LocApiBase.h
@@ -159,6 +159,7 @@ public:
LocPosTechMask tech_mask);
void reportGnssSvIdConfig(const GnssSvIdConfig& config);
void reportGnssSvTypeConfig(const GnssSvTypeConfig& config);
+ void requestOdcpi(OdcpiRequestInfo& request);
// downward calls
// All below functions are to be defined by adapter specific modules:
@@ -175,6 +176,8 @@ public:
virtual void
injectPosition(double latitude, double longitude, float accuracy);
virtual void
+ injectPosition(const Location& location, bool onDemandCpi);
+ virtual void
setTime(LocGpsUtcTime time, int64_t timeReference, int uncertainty);
// // TODO:: called from izatapipds