Lines Matching refs:session
91 uint32_t session = mLocationControlAPI->gnssDeleteAidingData(data); in locAPIGnssDeleteAidingData() local
92 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIGnssDeleteAidingData()
93 mRequestQueues[CTRL_REQUEST_DELETEAIDINGDATA].reset(session); in locAPIGnssDeleteAidingData()
111 uint32_t session = mLocationControlAPI->enable(techType); in locAPIEnable() local
112 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIEnable()
113 mRequestQueues[CTRL_REQUEST_CONTROL].reset(session); in locAPIEnable()
129 uint32_t session = 0; in locAPIDisable() local
130 session = mRequestQueues[CTRL_REQUEST_CONTROL].getSession(); in locAPIDisable()
131 if (session > 0) { in locAPIDisable()
133 mLocationControlAPI->disable(session); in locAPIDisable()
136 LOC_LOGE("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session); in locAPIDisable()
156 uint32_t session = 0; in locAPIGnssUpdateConfig() local
207 LocationAPIRequest* LocationAPIControlClient::getRequestBySession(uint32_t session) in getRequestBySession() argument
213 mRequestQueues[i].getSession() == session) { in getRequestBySession()
311 uint32_t session = mLocationAPI->startTracking(options); in locAPIStartTracking() local
312 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIStartTracking()
316 mRequestQueues[REQUEST_TRACKING].reset(session); in locAPIStartTracking()
332 uint32_t session = 0; in locAPIStopTracking() local
333 session = mRequestQueues[REQUEST_TRACKING].getSession(); in locAPIStopTracking()
334 if (session > 0) { in locAPIStopTracking()
336 mLocationAPI->stopTracking(session); in locAPIStopTracking()
339 LOC_LOGE("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session); in locAPIStopTracking()
349 uint32_t session = 0; in locAPIUpdateTrackingOptions() local
350 session = mRequestQueues[REQUEST_TRACKING].getSession(); in locAPIUpdateTrackingOptions()
351 if (session > 0) { in locAPIUpdateTrackingOptions()
353 mLocationAPI->updateTrackingOptions(session, options); in locAPIUpdateTrackingOptions()
355 LOC_LOGE("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session); in locAPIUpdateTrackingOptions()
412 uint32_t session = ((sessionMode == SESSION_MODE_ON_FULL || in locAPIStartSession() local
421 mSessionBiDict.set(id, session, entity); in locAPIStartSession()
538 uint32_t session = ((sessionMode == SESSION_MODE_ON_FULL) || in locAPIUpdateSessionOptions() local
547 mSessionBiDict.set(id, session, entity); in locAPIUpdateSessionOptions()
563 uint32_t session = 0; in locAPIGetBatchedLocations() local
564 session = mRequestQueues[REQUEST_SESSION].getSession(); in locAPIGetBatchedLocations()
565 if (session > 0) { in locAPIGetBatchedLocations()
571 LOC_LOGE("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session); in locAPIGetBatchedLocations()
784 uint32_t session = id; in locAPIGnssNiResponse() local
786 LOC_LOGI("%s:%d] start new session: %d", __FUNCTION__, __LINE__, session); in locAPIGnssNiResponse()
787 mRequestQueues[REQUEST_NIRESPONSE].reset(session); in locAPIGnssNiResponse()
902 void LocationAPIClientBase::removeSession(uint32_t session) { in removeSession() argument
903 if (mSessionBiDict.hasSession(session)) { in removeSession()
904 mSessionBiDict.rmBySession(session); in removeSession()
908 LocationAPIRequest* LocationAPIClientBase::getRequestBySession(uint32_t session) in getRequestBySession() argument
915 mRequestQueues[i].getSession() == session) { in getRequestBySession()
923 if (mSessionBiDict.hasSession(session)) { in getRequestBySession()