summaryrefslogtreecommitdiff
path: root/core/LocApiBase.h
diff options
context:
space:
mode:
authorWei Chen <weic@codeaurora.org>2019-08-16 14:59:23 -0700
committerWei Chen <weic@codeaurora.org>2019-11-22 09:37:06 -0800
commit6c35439ef28c99928ae26360bdc4952f97d8d66e (patch)
tree53bdbd044256a414cea594ebf53a1f663038777f /core/LocApiBase.h
parent3b3bcb11138eb564f61bc56ad29b9660e93ff215 (diff)
downloadgps-6c35439ef28c99928ae26360bdc4952f97d8d66e.tar.gz
FR 57252: GPS hal changes to allow configuration for LE target
(1) runtime enable/disable TUNC (2) runtime enable/disable PACE (3) runtime enable/disable constellations (4) delete all aiding data (5) config lever arm Change-Id: I6cffd08e4c6fa45ff8d62bfef2da1156f3b61956 CRs-fixed: 2497326
Diffstat (limited to 'core/LocApiBase.h')
-rw-r--r--core/LocApiBase.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/core/LocApiBase.h b/core/LocApiBase.h
index 3c85b09..9c76bab 100644
--- a/core/LocApiBase.h
+++ b/core/LocApiBase.h
@@ -260,12 +260,17 @@ public:
virtual LocationError setBlacklistSvSync(const GnssSvIdConfig& config);
virtual void setBlacklistSv(const GnssSvIdConfig& config);
virtual void getBlacklistSv();
- virtual void setConstellationControl(const GnssSvTypeConfig& config);
+ virtual void setConstellationControl(const GnssSvTypeConfig& config,
+ LocApiResponse *adapterResponse=nullptr);
virtual void getConstellationControl();
- virtual void resetConstellationControl();
- virtual LocationError setConstrainedTuncMode(bool enabled, float tuncConstraint,
- uint32_t energyBudget);
- virtual LocationError setPositionAssistedClockEstimatorMode(bool enabled);
+ virtual void resetConstellationControl(LocApiResponse *adapterResponse=nullptr);
+
+ virtual void setConstrainedTuncMode(bool enabled,
+ float tuncConstraint,
+ uint32_t energyBudget,
+ LocApiResponse* adapterResponse=nullptr);
+ virtual void setPositionAssistedClockEstimatorMode(bool enabled,
+ LocApiResponse* adapterResponse=nullptr);
virtual LocationError getGnssEnergyConsumed();
virtual void addGeofence(uint32_t clientId, const GeofenceOption& options,