diff options
author | Baili Feng <bailif@codeaurora.org> | 2017-02-23 18:13:20 +0800 |
---|---|---|
committer | Baili Feng <bailif@codeaurora.org> | 2017-03-07 09:32:33 +0800 |
commit | 545f52f6b5ce7cb5673fc714d4bd78a1200b11aa (patch) | |
tree | 908f469bad9732f03adc342c105e55d58ca89a43 /location/LocationAPIClientBase.cpp | |
parent | 52b413eb442e184a22d508f98af5e7f30e6952a5 (diff) | |
download | gps-545f52f6b5ce7cb5673fc714d4bd78a1200b11aa.tar.gz |
Rename FlpAPIClient and GnssMeasurementAPIClient
FlpAPIClient renamed to BatchingAPIClient
GnssMeasurementAPIClient renamed to MeasurementAPIClient
Change-Id: Ic0fae37fd1d798796cb918ddcf141913c6cc3c6e
CRs-fixed: 1112712
Diffstat (limited to 'location/LocationAPIClientBase.cpp')
-rw-r--r-- | location/LocationAPIClientBase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/location/LocationAPIClientBase.cpp b/location/LocationAPIClientBase.cpp index 3413d3e..da56440 100644 --- a/location/LocationAPIClientBase.cpp +++ b/location/LocationAPIClientBase.cpp @@ -33,7 +33,7 @@ #include <loc_cfg.h> #include "LocationAPIClientBase.h" -#define FLP_CONF_FILE "/etc/flp.conf" +#define BATCHING_CONF_FILE "/etc/flp.conf" LocationAPIClientBase::LocationAPIClientBase() : mTrackingCallback(nullptr), @@ -183,11 +183,11 @@ void LocationAPIClientBase::locAPIUpdateTrackingOptions(LocationOptions& options int32_t LocationAPIClientBase::locAPIGetBatchSize() { if (mBatchSize == -1) { - const loc_param_s_type flp_conf_param_table[] = + const loc_param_s_type batching_conf_param_table[] = { {"BATCH_SIZE", &mBatchSize, nullptr, 'n'}, }; - UTIL_READ_CONF(FLP_CONF_FILE, flp_conf_param_table); + UTIL_READ_CONF(BATCHING_CONF_FILE, batching_conf_param_table); if (mBatchSize < 0) { // set mBatchSize to 0 if we got an illegal value from config file mBatchSize = 0; |