Merge "Remove deprecated api LocEngExtPowerConfig"
This commit is contained in:
commit
2e3d64352b
4 changed files with 0 additions and 34 deletions
|
@ -515,10 +515,6 @@ enum loc_api_adapter_err LocApiBase::
|
||||||
int algorithmConfig)
|
int algorithmConfig)
|
||||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||||
|
|
||||||
enum loc_api_adapter_err LocApiBase::
|
|
||||||
setExtPowerConfig(int isBatteryCharging)
|
|
||||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
|
||||||
|
|
||||||
enum loc_api_adapter_err LocApiBase::
|
enum loc_api_adapter_err LocApiBase::
|
||||||
setAGLONASSProtocol(unsigned long aGlonassProtocol)
|
setAGLONASSProtocol(unsigned long aGlonassProtocol)
|
||||||
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
|
||||||
|
|
|
@ -204,8 +204,6 @@ public:
|
||||||
int gyroSamplesPerBatchHigh,
|
int gyroSamplesPerBatchHigh,
|
||||||
int gyroBatchesPerSecHigh,
|
int gyroBatchesPerSecHigh,
|
||||||
int algorithmConfig);
|
int algorithmConfig);
|
||||||
virtual enum loc_api_adapter_err
|
|
||||||
setExtPowerConfig(int isBatteryCharging);
|
|
||||||
virtual enum loc_api_adapter_err
|
virtual enum loc_api_adapter_err
|
||||||
setAGLONASSProtocol(unsigned long aGlonassProtocol);
|
setAGLONASSProtocol(unsigned long aGlonassProtocol);
|
||||||
virtual enum loc_api_adapter_err
|
virtual enum loc_api_adapter_err
|
||||||
|
|
|
@ -229,11 +229,6 @@ public:
|
||||||
gyroSamplesPerBatchHigh, gyroBatchesPerSecHigh,
|
gyroSamplesPerBatchHigh, gyroBatchesPerSecHigh,
|
||||||
algorithmConfig);
|
algorithmConfig);
|
||||||
}
|
}
|
||||||
inline virtual enum loc_api_adapter_err
|
|
||||||
setExtPowerConfig(int isBatteryCharging)
|
|
||||||
{
|
|
||||||
return mLocApi->setExtPowerConfig(isBatteryCharging);
|
|
||||||
}
|
|
||||||
inline virtual enum loc_api_adapter_err
|
inline virtual enum loc_api_adapter_err
|
||||||
setAGLONASSProtocol(unsigned long aGlonassProtocol)
|
setAGLONASSProtocol(unsigned long aGlonassProtocol)
|
||||||
{
|
{
|
||||||
|
|
|
@ -757,29 +757,6 @@ struct LocEngSensorPerfControlConfig : public LocMsg {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// case LOC_ENG_MSG_EXT_POWER_CONFIG:
|
|
||||||
struct LocEngExtPowerConfig : public LocMsg {
|
|
||||||
LocEngAdapter* mAdapter;
|
|
||||||
const int mIsBatteryCharging;
|
|
||||||
inline LocEngExtPowerConfig(LocEngAdapter* adapter,
|
|
||||||
int isBatteryCharging) :
|
|
||||||
LocMsg(), mAdapter(adapter),
|
|
||||||
mIsBatteryCharging(isBatteryCharging)
|
|
||||||
{
|
|
||||||
locallog();
|
|
||||||
}
|
|
||||||
inline virtual void proc() const {
|
|
||||||
mAdapter->setExtPowerConfig(mIsBatteryCharging);
|
|
||||||
}
|
|
||||||
inline void locallog() const {
|
|
||||||
LOC_LOGV("LocEngExtPowerConfig - isBatteryCharging: %d",
|
|
||||||
mIsBatteryCharging);
|
|
||||||
}
|
|
||||||
inline virtual void log() const {
|
|
||||||
locallog();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// case LOC_ENG_MSG_REPORT_POSITION:
|
// case LOC_ENG_MSG_REPORT_POSITION:
|
||||||
LocEngReportPosition::LocEngReportPosition(LocAdapterBase* adapter,
|
LocEngReportPosition::LocEngReportPosition(LocAdapterBase* adapter,
|
||||||
UlpLocation &loc,
|
UlpLocation &loc,
|
||||||
|
|
Loading…
Reference in a new issue