diff options
author | Saurabh Srivastava <ssrivast@codeaurora.org> | 2018-05-18 00:05:32 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-29 04:28:47 -0700 |
commit | d462c0add34dacbdfe3e5e90c5aaeea7e5dc6952 (patch) | |
tree | 4ac09c8ec40f48076cf15031800313d85c3cd954 /core/LocApiBase.cpp | |
parent | 365919e004080bcce98968ddffcd61b2bc078a53 (diff) | |
download | gps-d462c0add34dacbdfe3e5e90c5aaeea7e5dc6952.tar.gz |
FR 46082 - SUPL Network Setup Improvements
Adding enhancement to ATL messages to allow
sending bearer type and apn type mask values.
CRs-Fixed: 2209227
Change-Id: I09a294946610f26de4760a0fba6f13083f8752f3
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 5ec3ce6..45a0ec4 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -374,10 +374,10 @@ void LocApiBase::requestLocation() TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestLocation()); } -void LocApiBase::requestATL(int connHandle, LocAGpsType agps_type) +void LocApiBase::requestATL(int connHandle, LocAGpsType agps_type, LocApnTypeMask mask) { // loop through adapters, and deliver to the first handling adapter. - TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestATL(connHandle, agps_type)); + TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestATL(connHandle, agps_type, mask)); } void LocApiBase::releaseATL(int connHandle) @@ -386,10 +386,10 @@ void LocApiBase::releaseATL(int connHandle) TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->releaseATL(connHandle)); } -void LocApiBase::requestSuplES(int connHandle) +void LocApiBase::requestSuplES(int connHandle, LocApnTypeMask mask) { // loop through adapters, and deliver to the first handling adapter. - TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestSuplES(connHandle)); + TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestSuplES(connHandle, mask)); } void LocApiBase::reportDataCallOpened() @@ -455,7 +455,7 @@ DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) void LocApiBase:: atlOpenStatus(int /*handle*/, int /*is_succ*/, char* /*apn*/, uint32_t /*apnLen*/, - AGpsBearerType /*bear*/, LocAGpsType /*agpsType*/) + AGpsBearerType /*bear*/, LocAGpsType /*agpsType*/, LocApnTypeMask /*mask*/) DEFAULT_IMPL() void LocApiBase:: |