Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/wifi_hal_interface/
H A Dwifi_ap_hal_interface.cpp27 static IWifiApMonitorEventCallback g_cb = {nullptr, nullptr}; variable
198 return g_cb; in GetApCallbackInst()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/
H A Dtrans_auth_manager.c65 static IServerChannelCallBack *g_cb = NULL; variable
198 return g_cb->OnChannelOpened(appInfo->myData.pkgName, appInfo->myData.pid, in NotifyOpenAuthChannelSuccess()
204 return g_cb->OnChannelOpenFailed(pkgName, pid, channelId, CHANNEL_TYPE_AUTH, errCode); in NotifyOpenAuthChannelFailed()
209 return g_cb->OnChannelClosed(pkgName, pid, channelId, CHANNEL_TYPE_AUTH, MESSAGE_TYPE_NOMAL); in NofifyCloseAuthChannel()
214 return g_cb->GetUidAndPidBySessionName(sessionName, uid, pid); in AuthGetUidAndPidBySessionName()
230 return g_cb->OnDataReceived(channel.appInfo.myData.pkgName, channel.appInfo.myData.pid, in NotifyOnDataReceived()
804 if (g_cb == NULL) { in TransAuthInit()
805 g_cb = cb; in TransAuthInit()
816 g_cb = NULL; in TransAuthDeinit()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp62 static ConnectCallback g_cb; variable
113 g_cb.OnConnected = TcpOnConnected; in SetUp()
114 g_cb.OnDataReceived = TcpDataReceived; in SetUp()
115 g_cb.OnDisconnected = TcpOnDisConnect; in SetUp()
116 g_interface = ConnInitTcp(&g_cb); in SetUp()