Lines Matching refs:sessionId
162 void HdcDaemonUART::ResetOldSession(uint32_t sessionId) in ResetOldSession() argument
164 if (sessionId == 0) { in ResetOldSession()
165 sessionId = currentSessionId; in ResetOldSession()
167 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession()
175 WRITE_LOG(LOG_WARN, "Hostside softreset to restart daemon, old sessionId:%u", sessionId); in ResetOldSession()
179 HSession HdcDaemonUART::GetSession(const uint32_t sessionId, bool create = false) in GetSession() argument
181 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in GetSession()
183 hSession = PrepareNewSession(sessionId); in GetSession()
193 daemon.FreeSession(session->sessionId); in OnTransferError()
194 ClearUARTOutMap(session->sessionId); in OnTransferError()
198 void HdcDaemonUART::OnNewHandshakeOK(const uint32_t sessionId) in OnNewHandshakeOK() argument
200 currentSessionId = sessionId; in OnNewHandshakeOK()
203 HSession HdcDaemonUART::PrepareNewSession(uint32_t sessionId) in PrepareNewSession() argument
205 WRITE_LOG(LOG_FATAL, "%s sessionId:%u", __FUNCTION__, sessionId); in PrepareNewSession()
206 HSession hSession = daemon.MallocSession(false, CONN_SERIAL, this, sessionId); in PrepareNewSession()
208 WRITE_LOG(LOG_FATAL, "new session malloc failed for sessionId:%u", sessionId); in PrepareNewSession()