Home
last modified time | relevance | path

Searched refs:onDisconnected (Results 1 - 21 of 21) sorted by relevance

/foundation/multimodalinput/input/intention/ipc/socket/src/
H A Dsocket_connection.cpp33 std::function<void()> onDisconnected) in SocketConnection()
34 : socketFd_(socketFd), recv_(recv), onDisconnected_(onDisconnected) in SocketConnection()
45 std::function<void(NetPacket&)> recv, std::function<void()> onDisconnected) in Connect()
53 return std::make_shared<SocketConnection>(sockFd, recv, onDisconnected); in Connect()
31 SocketConnection(int32_t socketFd, std::function<void(NetPacket&)> recv, std::function<void()> onDisconnected) SocketConnection() argument
44 Connect(std::function<int32_t()> socket, std::function<void(NetPacket&)> recv, std::function<void()> onDisconnected) Connect() argument
/foundation/multimodalinput/input/intention/ipc/socket/include/
H A Dsocket_connection.h36 std::function<void()> onDisconnected);
47 std::function<void(NetPacket&)> recv, std::function<void()> onDisconnected);
/foundation/communication/dsoftbus/core/authentication/interface/
H A Dauth_channel.h37 void (*onDisconnected)(int32_t channelId); member
H A Dauth_interface.h177 void (*onDisconnected)(AuthHandle authHandle); member
/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_tcp_connection.h42 void (*onDisconnected)(int32_t fd); member
H A Dauth_connection.h43 void (*onDisconnected)(uint64_t connId, const AuthConnInfo *connInfo); member
H A Dauth_common.h114 void (*onDisconnected)(AuthHandle authHandle); member
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/
H A Dsoftbus_proxychannel_pipeline.h28 void (*onDisconnected)(int32_t channelId); member
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c130 if (g_callback.onDisconnected != NULL) { in NotifyDisconnected()
131 g_callback.onDisconnected(fd); in NotifyDisconnected()
609 if (g_listener[i].listener.onDisconnected != NULL) { in NotifyChannelDisconnected()
610 g_listener[i].listener.onDisconnected(channelId); in NotifyChannelDisconnected()
625 g_listener[i].listener.onDisconnected = listener->onDisconnected; in RegAuthChannelListener()
639 g_listener[i].listener.onDisconnected = NULL; in UnregAuthChannelListener()
H A Dauth_interface.c87 g_moduleListener[i].listener.onDisconnected = listener->onDisconnected; in RegAuthTransListener()
102 g_moduleListener[i].listener.onDisconnected = NULL; in UnregAuthTransListener()
141 if (g_moduleListener[i].listener.onDisconnected != NULL) { in NotifyTransDisconnected()
142 g_moduleListener[i].listener.onDisconnected(authHandle); in NotifyTransDisconnected()
732 .onDisconnected = NotifyTransDisconnected, in AuthInit()
H A Dauth_connection.c191 if (g_listener.onDisconnected != NULL) { in NotifyDisconnected()
192 g_listener.onDisconnected(connId, connInfo); in NotifyDisconnected()
429 .onDisconnected = OnWiFiDisconnected, in InitWiFiConn()
H A Dauth_manager.c1521 if (g_transCallback.onDisconnected != NULL) { in HandleDisconnectedEvent()
1522 g_transCallback.onDisconnected(authHandle); in HandleDisconnectedEvent()
2084 .onDisconnected = OnDisconnected, in AuthDeviceInit()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/
H A Dproxy_negotiate_channel.cpp68 .onDisconnected = OnDisconnected, in Init()
H A Dauth_negotiate_channel.cpp297 .onDisconnected = OnAuthDisconnected, in Init()
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_proxychannel_pipeline_test.cpp79 .onDisconnected = OnDisconnected, in SetUpTestCase()
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_pipeline.c150 TRANS_CHECK_AND_RETURN_RET_LOGW(listener && listener->onDataReceived && listener->onDisconnected, in TransProxyPipelineRegisterListener()
511 if (g_manager.listeners[i].type != MSG_TYPE_INVALID && g_manager.listeners[i].listener.onDisconnected != NULL) { in TransProxyPipelineOnChannelClosed()
512 g_manager.listeners[i].listener.onDisconnected(channelId); in TransProxyPipelineOnChannelClosed()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_sync_info_manager.c866 .onDisconnected = OnWifiDirectSyncAuthClose, in LnnInitSyncInfoManager()
887 .onDisconnected = NULL, in LnnInitSyncInfoManager()
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test.cpp998 .onDisconnected = AuthOnDisconnected, in HWTEST_F()
1420 .onDisconnected = AuthOnDisconnectedTest, in HWTEST_F()
2042 .onDisconnected = AuthOnDisconnected, in HWTEST_F()
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/
H A Dtrans_auth_manager.c782 .onDisconnected = OnDisconnect, in TransAuthInit()
786 .onDisconnected = OnDisconnect, in TransAuthInit()
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_p2p.c1214 .onDisconnected = OnAuthChannelClose, in P2pDirectChannelInit()
1223 .onDisconnected = OnP2pVerifyChannelClosed, in P2pDirectChannelInit()
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_negotiation.c1167 .onDisconnected = NULL, in TransUdpChannelInit()

Completed in 30 milliseconds