Searched refs:g_curSessionId (Results 1 – 1 of 1) sorted by relevance
40 static int32_t g_curSessionId = INVALID_SESSION_ID; variable130 if (g_curSessionId == sessionId && !g_curBusy) { in HandleSessionClosed()131 g_curSessionId = INVALID_SESSION_ID; in HandleSessionClosed()162 if (g_curSessionId != sessionId) { in HandleSessionOpened()166 int32_t ret = SendBytes(g_curSessionId, GetPacketBufPtr(), GetPacketSize()); in HandleSessionOpened()214 …g_curSessionId = OpenSession(DMS_SESSION_NAME, DMS_SESSION_NAME, deviceId, DMS_MODULE_NAME, &attr); in SendDmsMessage()215 if (g_curSessionId < 0) { in SendDmsMessage()216 g_curSessionId = INVALID_SESSION_ID; in SendDmsMessage()226 CloseSession(g_curSessionId); in CloseDMSSession()227 g_curSessionId = INVALID_SESSION_ID; in CloseDMSSession()[all …]