summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorWei Chen <weic@codeaurora.org>2020-02-26 14:08:37 -0800
committerWei Chen <weic@codeaurora.org>2020-03-05 11:42:45 -0800
commita57d05b2f8a3843b83dbb5c902ed8f178bf357a8 (patch)
tree83d7628f4d676ad3a91d09a8fb0e6ca51b178db8 /core/LocApiBase.cpp
parente207a5bbe249b85ca9e3a687792429ad16a8b491 (diff)
GNSS hal: support read out robust location config
Read out robust location config via location integration API Change-Id: Icdae23021e05cc81ef2673306b860c73f4049195 CRs-fixed: 2630377
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 78345be..90c4585 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -553,6 +553,12 @@ void LocApiBase::reportGnssSvTypeConfig(const GnssSvTypeConfig& config)
TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGnssSvTypeConfigEvent(config));
}
+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*/)
DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS)
@@ -751,4 +757,8 @@ void LocApiBase::
LocApiResponse* /*adapterResponse*/)
DEFAULT_IMPL()
+void LocApiBase::
+ getRobustLocationConfig(uint32_t sessionId, LocApiResponse* /*adapterResponse*/)
+DEFAULT_IMPL()
+
} // namespace loc_core