diff options
author | Dante Russo <drusso@codeaurora.org> | 2015-07-02 17:30:09 -0700 |
---|---|---|
committer | Sridhar Gujje <sgujje@codeaurora.org> | 2015-07-13 19:25:38 +0530 |
commit | db7fc90da2f6d85cf3f6844c2a580d24bd344de5 (patch) | |
tree | c54b8c44a7b85d85215d73e109f9fd208dc462a6 /core | |
parent | 8834b304c9219de6dd592a2399ca1ac5c0b7eb0c (diff) | |
download | gps-db7fc90da2f6d85cf3f6844c2a580d24bd344de5.tar.gz |
Move modem power vote out of hal
The modem power vote feature needs to move
out of hal as it has non-aosp dependency
CRs-fixed: 831075
Change-Id: Ic83276e9d3c0d125a01f50719102fcd7c0455385
Diffstat (limited to 'core')
-rw-r--r-- | core/ContextBase.h | 1 | ||||
-rw-r--r-- | core/LBSProxyBase.h | 1 | ||||
-rw-r--r-- | core/LocAdapterBase.cpp | 4 | ||||
-rw-r--r-- | core/LocAdapterBase.h | 1 |
4 files changed, 2 insertions, 5 deletions
diff --git a/core/ContextBase.h b/core/ContextBase.h index 2adbedd..ff7a4b3 100644 --- a/core/ContextBase.h +++ b/core/ContextBase.h @@ -58,6 +58,7 @@ public: inline LocApiProxyBase* getLocApiProxy() { return mLocApiProxy; } inline bool hasAgpsExtendedCapabilities() { return mLBSProxy->hasAgpsExtendedCapabilities(); } inline bool hasCPIExtendedCapabilities() { return mLBSProxy->hasCPIExtendedCapabilities(); } + inline void modemPowerVote(bool power) const { return mLBSProxy->modemPowerVote(power); } inline void requestUlp(LocAdapterBase* adapter, unsigned long capabilities) { mLBSProxy->requestUlp(adapter, capabilities); diff --git a/core/LBSProxyBase.h b/core/LBSProxyBase.h index 0b7dbdf..75ae992 100644 --- a/core/LBSProxyBase.h +++ b/core/LBSProxyBase.h @@ -53,6 +53,7 @@ public: unsigned long capabilities) const {} inline virtual bool hasAgpsExtendedCapabilities() const { return false; } inline virtual bool hasCPIExtendedCapabilities() const { return false; } + inline virtual void modemPowerVote(bool power) const {} virtual void injectFeatureConfig(ContextBase* context) const {} }; diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index 9eb75ec..19fab0e 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -143,10 +143,6 @@ bool LocAdapterBase:: DEFAULT_IMPL(false) void LocAdapterBase:: - shutdown() -DEFAULT_IMPL() - -void LocAdapterBase:: reportGpsMeasurementData(GpsData &gpsMeasurementData) DEFAULT_IMPL() } // namespace loc_core diff --git a/core/LocAdapterBase.h b/core/LocAdapterBase.h index 8e817b7..7e0b0eb 100644 --- a/core/LocAdapterBase.h +++ b/core/LocAdapterBase.h @@ -112,7 +112,6 @@ public: virtual bool requestNiNotify(GpsNiNotification ¬ify, const void* data); inline virtual bool isInSession() { return false; } - virtual void shutdown(); ContextBase* getContext() const { return mContext; } virtual void reportGpsMeasurementData(GpsData &gpsMeasurementData); }; |