diff options
author | Srivastava, Saurabh <ssrivast@codeaurora.org> | 2020-04-16 15:25:00 +0530 |
---|---|---|
committer | Srivastava, Saurabh <ssrivast@codeaurora.org> | 2020-04-16 15:25:00 +0530 |
commit | aa949387e301950564ffaf33569209ce133619b3 (patch) | |
tree | caf807a53386aeaba643fea9e2de3ee28190983b /core/LocApiBase.cpp | |
parent | 0fb4f2199005fa12daddb2c2177226742472afe1 (diff) | |
parent | 657ae5ff20edbb8bad10f75fa312678683ca5fac (diff) |
Merge 'location.lnx.4.0' into 'location.lnx.6.0'
CRs-Fixed: 2652107
Change-Id: If7f3fd45ff6d9a36bd0943acad9a8a378758d1a4
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 5ac2ffa..a47784d 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -419,7 +419,7 @@ void LocApiBase::reportSv(GnssSvNotification& svNotify) uint16_t displaySvId = GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[i].type ? svNotify.gnssSvs[i].svId + QZSS_SV_PRN_MIN - 1 : svNotify.gnssSvs[i].svId; - LOC_LOGV(" %03zu: %*s %02d %f %f %f %f %f 0x%02X", + LOC_LOGV(" %03zu: %*s %02d %f %f %f %f %f 0x%02X 0x%2X", i, 13, constellationString[svNotify.gnssSvs[i].type], @@ -429,7 +429,8 @@ void LocApiBase::reportSv(GnssSvNotification& svNotify) svNotify.gnssSvs[i].elevation, svNotify.gnssSvs[i].azimuth, svNotify.gnssSvs[i].carrierFrequencyHz, - svNotify.gnssSvs[i].gnssSvOptionsMask); + svNotify.gnssSvs[i].gnssSvOptionsMask, + svNotify.gnssSvs[i].gnssSignalTypeMask); } // loop through adapters, and deliver to all adapters. TO_ALL_LOCADAPTERS( @@ -596,6 +597,11 @@ void LocApiBase::handleBatchStatusEvent(BatchingStatus batchStatus) TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportBatchStatusChangeEvent(batchStatus)); } +void LocApiBase::reportGnssConfig(uint32_t sessionId, const GnssConfig& gnssConfig) +{ + // loop through adapters, and deliver to the first handling adapter. + TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGnssConfigEvent(sessionId, gnssConfig)); +} enum loc_api_adapter_err LocApiBase:: open(LOC_API_ADAPTER_EVENT_MASK_T /*mask*/) @@ -892,4 +898,17 @@ void LocApiBase:: LocApiResponse* /*adapterResponse*/) DEFAULT_IMPL() +void LocApiBase:: + getRobustLocationConfig(uint32_t sessionId, LocApiResponse* /*adapterResponse*/) +DEFAULT_IMPL() + +void LocApiBase:: + configMinGpsWeek(uint16_t minGpsWeek, + LocApiResponse* /*adapterResponse*/) +DEFAULT_IMPL() + +void LocApiBase:: + getMinGpsWeek(uint32_t sessionId, LocApiResponse* /*adapterResponse*/) +DEFAULT_IMPL() + } // namespace loc_core |