Home
last modified time | relevance | path

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

/test/xts/dcts/communication/softbus_standard/dsoftbusTest/
DdsoftbusTest.cpp28 static ISessionListener* g_sessionlist4Perf = NULL; variable
501 if (g_sessionlist4Perf == NULL) { in SetupCallback()
502 g_sessionlist4Perf = (ISessionListener*)calloc(1, sizeof(ISessionListener)); in SetupCallback()
503 g_sessionlist4Perf->OnSessionOpened = OnPerfSessionOpened; in SetupCallback()
504 g_sessionlist4Perf->OnSessionClosed = OnPerfSessionClosed; in SetupCallback()
505 g_sessionlist4Perf->OnMessageReceived = OnPerfMessageReceived; in SetupCallback()
506 g_sessionlist4Perf->OnBytesReceived = OnPerfBytesReceived; in SetupCallback()
560 if (g_sessionlist4Perf != NULL) { in TeardownCallback()
561 free(g_sessionlist4Perf); in TeardownCallback()
562 g_sessionlist4Perf = NULL; in TeardownCallback()
[all …]