Home
last modified time | relevance | path

Searched refs:pSession (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp119 loc_eng_ni_session_s_type* pSession = NULL; in loc_eng_ni_request_handler() local
134 pSession = &loc_eng_ni_data_p->sessionEs; in loc_eng_ni_request_handler()
145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler()
150 if (pSession) { in loc_eng_ni_request_handler()
152 pSession->rawRequest = (void*)passThrough; in loc_eng_ni_request_handler()
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter; in loc_eng_ni_request_handler()
154 pSession->adapter = loc_eng_data.adapter; in loc_eng_ni_request_handler()
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID; in loc_eng_ni_request_handler()
176pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME); in loc_eng_ni_request_handler()
177 …LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTime… in loc_eng_ni_request_handler()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp119 loc_eng_ni_session_s_type* pSession = NULL; in loc_eng_ni_request_handler() local
134 pSession = &loc_eng_ni_data_p->sessionEs; in loc_eng_ni_request_handler()
145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler()
150 if (pSession) { in loc_eng_ni_request_handler()
152 pSession->rawRequest = (void*)passThrough; in loc_eng_ni_request_handler()
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter; in loc_eng_ni_request_handler()
154 pSession->adapter = loc_eng_data.adapter; in loc_eng_ni_request_handler()
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID; in loc_eng_ni_request_handler()
176pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME); in loc_eng_ni_request_handler()
177 …LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTime… in loc_eng_ni_request_handler()
[all …]
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp119 loc_eng_ni_session_s_type* pSession = NULL; in loc_eng_ni_request_handler() local
134 pSession = &loc_eng_ni_data_p->sessionEs; in loc_eng_ni_request_handler()
145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler()
150 if (pSession) { in loc_eng_ni_request_handler()
152 pSession->rawRequest = (void*)passThrough; in loc_eng_ni_request_handler()
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter; in loc_eng_ni_request_handler()
154 pSession->adapter = loc_eng_data.adapter; in loc_eng_ni_request_handler()
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID; in loc_eng_ni_request_handler()
176pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME); in loc_eng_ni_request_handler()
177 …LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTime… in loc_eng_ni_request_handler()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp119 loc_eng_ni_session_s_type* pSession = NULL; in loc_eng_ni_request_handler() local
134 pSession = &loc_eng_ni_data_p->sessionEs; in loc_eng_ni_request_handler()
145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler()
150 if (pSession) { in loc_eng_ni_request_handler()
152 pSession->rawRequest = (void*)passThrough; in loc_eng_ni_request_handler()
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter; in loc_eng_ni_request_handler()
154 pSession->adapter = loc_eng_data.adapter; in loc_eng_ni_request_handler()
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID; in loc_eng_ni_request_handler()
176pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME); in loc_eng_ni_request_handler()
177 …LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTime… in loc_eng_ni_request_handler()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_ni.cpp119 loc_eng_ni_session_s_type* pSession = NULL; in loc_eng_ni_request_handler() local
134 pSession = &loc_eng_ni_data_p->sessionEs; in loc_eng_ni_request_handler()
145 pSession = &loc_eng_ni_data_p->session; in loc_eng_ni_request_handler()
150 if (pSession) { in loc_eng_ni_request_handler()
152 pSession->rawRequest = (void*)passThrough; in loc_eng_ni_request_handler()
153 pSession->reqID = ++loc_eng_ni_data_p->reqIDCounter; in loc_eng_ni_request_handler()
154 pSession->adapter = loc_eng_data.adapter; in loc_eng_ni_request_handler()
157 ((GpsNiNotification*)notif)->notification_id = pSession->reqID; in loc_eng_ni_request_handler()
176pSession->respTimeLeft = 5 + (notif->timeout != 0 ? notif->timeout : LOC_NI_NO_RESPONSE_TIME); in loc_eng_ni_request_handler()
177 …LOC_LOGI("Automatically sends 'no response' in %d seconds (to clear status)\n", pSession->respTime… in loc_eng_ni_request_handler()
[all …]
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp1637 NiSession* pSession = NULL; in gnssNiResponseCommand() local
1640 pSession = &niData.sessionEs; in gnssNiResponseCommand()
1652 pSession = &niData.session; in gnssNiResponseCommand()
1655 if (pSession) { in gnssNiResponseCommand()
1658 pthread_mutex_lock(&pSession->tLock); in gnssNiResponseCommand()
1659 pSession->resp = mResponse; in gnssNiResponseCommand()
1660 pSession->respRecvd = true; in gnssNiResponseCommand()
1661 pthread_cond_signal(&pSession->tCond); in gnssNiResponseCommand()
1662 pthread_mutex_unlock(&pSession->tLock); in gnssNiResponseCommand()
2105 NiSession* pSession = (NiSession*)args; in niThreadProc() local
[all …]
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp1724 NiSession* pSession = NULL; in gnssNiResponseCommand() local
1727 pSession = &niData.sessionEs; in gnssNiResponseCommand()
1739 pSession = &niData.session; in gnssNiResponseCommand()
1742 if (pSession) { in gnssNiResponseCommand()
1745 pthread_mutex_lock(&pSession->tLock); in gnssNiResponseCommand()
1746 pSession->resp = mResponse; in gnssNiResponseCommand()
1747 pSession->respRecvd = true; in gnssNiResponseCommand()
1748 pthread_cond_signal(&pSession->tCond); in gnssNiResponseCommand()
1749 pthread_mutex_unlock(&pSession->tLock); in gnssNiResponseCommand()
2201 NiSession* pSession = (NiSession*)args; in niThreadProc() local
[all …]
/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.cc166 NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession, in phDnldNfc_GetSessionState() argument
171 if ((NULL == pSession) || (NULL == pNotify) || (NULL == pContext)) { in phDnldNfc_GetSessionState()
179 if ((NULL != pSession->pBuff) && (0 != pSession->wLen)) { in phDnldNfc_GetSessionState()
180 (gpphDnldContext->tRspBuffInfo.pBuff) = pSession->pBuff; in phDnldNfc_GetSessionState()
181 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen; in phDnldNfc_GetSessionState()
DphDnldNfc.h107 extern NFCSTATUS phDnldNfc_GetSessionState(pphDnldNfc_Buff_t pSession,