Home
last modified time | relevance | path

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

/test/xts/dcts/communication/softbus_standard/dsoftbusTest/
DdsoftbusTest.cpp32 static ISessionListener *g_sessionlist4Stream = NULL; variable
542 if (g_sessionlist4Stream == NULL) { in SetupCallback()
543 g_sessionlist4Stream= (ISessionListener*)calloc(1, sizeof(ISessionListener)); in SetupCallback()
544 g_sessionlist4Stream->OnSessionOpened = OnStreamSessionOpened; in SetupCallback()
545 g_sessionlist4Stream->OnSessionClosed = OnStreamSessionClosed; in SetupCallback()
546 g_sessionlist4Stream->OnStreamReceived = StreamReceived; in SetupCallback()
580 if (g_sessionlist4Stream != NULL) { in TeardownCallback()
581 free(g_sessionlist4Stream); in TeardownCallback()
582 g_sessionlist4Stream = NULL; in TeardownCallback()
607 int streamRet = CreateSessionServer(DEF_PKG_NAME, SESSION_NAME_STREAM, g_sessionlist4Stream);