Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/sdk/frame/common/src/
H A Dsoftbus_client_event_manager.c34 static SoftBusList *g_observerList = NULL; variable
43 if (g_observerList != NULL) { in EventClientInit()
44 DestroySoftBusList(g_observerList); in EventClientInit()
46 g_observerList = CreateSoftBusList(); in EventClientInit()
47 if (g_observerList == NULL) { in EventClientInit()
62 if (g_observerList != NULL) { in EventClientDeinit()
63 DestroySoftBusList(g_observerList); in EventClientDeinit()
64 g_observerList = NULL; in EventClientDeinit()
95 if (g_observerList->cnt >= MAX_OBSERVER_CNT) { in RegisterEventCallback()
113 ListAdd(&g_observerList->list, &observer->node); in RegisterEventCallback()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/frame/common/
H A Dsoftbus_client_event_manager_test.cpp102 ASSERT_TRUE(nullptr == g_observerList);
103 g_observerList = CreateSoftBusList();
215 g_observerList->cnt = MAX_OBSERVER_CNT;