/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/channel/ |
H A D | proxy_negotiate_channel_test.cpp | 78 * @tc.name: onDataReceived
83 HWTEST_F(ProxyNegotiateChannelTest, onDataReceived, TestSize.Level1)
in HWTEST_F() 98 listener->onDataReceived(CID, testData, strlen(testData));
in HWTEST_F() 121 listener->onDataReceived(CID, testData, strlen(testData));
in HWTEST_F()
|
/foundation/communication/dsoftbus/core/authentication/interface/ |
H A D | auth_channel.h | 36 void (*onDataReceived)(int32_t channelId, const AuthChannelData *data); member
|
H A D | auth_interface.h | 176 void (*onDataReceived)(AuthHandle authHandle, const AuthTransData *data); member
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_tcp_connection.c | 171 if (g_callback.onDataReceived != NULL) { in NotifyDataReceived() 172 g_callback.onDataReceived(module, fd, &head, data); in NotifyDataReceived() 591 if (listener == NULL || listener->onDataReceived == NULL) { in NotifyChannelDataReceived() 602 listener->onDataReceived(channelId, &channelData); in NotifyChannelDataReceived() 617 if (listener == NULL || listener->onDataReceived == NULL) { in RegAuthChannelListener() 624 g_listener[i].listener.onDataReceived = listener->onDataReceived; in RegAuthChannelListener() 638 g_listener[i].listener.onDataReceived = NULL; in UnregAuthChannelListener()
|
H A D | auth_interface.c | 80 if (listener == NULL || listener->onDataReceived == NULL) { in RegAuthTransListener() 86 g_moduleListener[i].listener.onDataReceived = listener->onDataReceived; in RegAuthTransListener() 101 g_moduleListener[i].listener.onDataReceived = NULL; in UnregAuthTransListener() 124 if (listener == NULL || listener->onDataReceived == NULL) { in NotifyTransDataReceived() 125 AUTH_LOGI(AUTH_CONN, "Trans: onDataReceived not found"); in NotifyTransDataReceived() 135 listener->onDataReceived(authHandle, &transData); in NotifyTransDataReceived() 731 .onDataReceived = NotifyTransDataReceived, in AuthInit()
|
H A D | auth_connection.c | 199 if (g_listener.onDataReceived != NULL) { in NotifyDataReceived() 200 g_listener.onDataReceived(connId, connInfo, fromServer, head, data); in NotifyDataReceived() 430 .onDataReceived = OnWiFiDataReceived, in InitWiFiConn()
|
H A D | auth_manager.c | 1386 if (g_transCallback.onDataReceived != NULL) { in HandleConnectionData() 1387 g_transCallback.onDataReceived(authHandle, head, decData, decDataLen); in HandleConnectionData() 2085 .onDataReceived = OnDataReceived, in AuthDeviceInit()
|
/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_tcp_connection.h | 43 void (*onDataReceived)(ListenerModule module, int32_t fd, const AuthDataHead *head, const uint8_t *data); member
|
H A D | auth_connection.h | 44 void (*onDataReceived)( member
|
H A D | auth_common.h | 113 void (*onDataReceived)(AuthHandle authHandle, const AuthDataHead *head, const uint8_t *data, uint32_t len); member
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/include/ |
H A D | softbus_proxychannel_pipeline.h | 27 void (*onDataReceived)(int32_t channelId, const char *data, uint32_t len); member
|
/foundation/communication/dsoftbus/core/connection/br/include/ |
H A D | softbus_conn_br_connection.h | 81 void (*onDataReceived)(uint32_t connectionId, uint8_t *data, uint32_t dataLen); member
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/ |
H A D | proxy_negotiate_channel.cpp | 67 .onDataReceived = OnDataReceived, in Init()
|
H A D | auth_negotiate_channel.cpp | 296 .onDataReceived = OnAuthDataReceived, in Init()
|
/foundation/communication/dsoftbus/core/connection/ble/include/ |
H A D | softbus_conn_ble_connection.h | 143 void (*onDataReceived)(uint32_t connectionId, bool isConnCharacteristic, uint8_t *data, uint32_t dataLen); member
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_proxychannel_pipeline_test.cpp | 78 .onDataReceived = OnDataReceived, in SetUpTestCase()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_pipeline.c | 150 TRANS_CHECK_AND_RETURN_RET_LOGW(listener && listener->onDataReceived && listener->onDisconnected, in TransProxyPipelineRegisterListener() 532 if (target == NULL || target->listener.onDataReceived == NULL) { in TransProxyPipelineOnMessageReceived() 536 target->listener.onDataReceived(channelId, data + sizeof(uint32_t), len - sizeof(uint32_t)); in TransProxyPipelineOnMessageReceived()
|
/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | softbus_conn_ble_connection.c | 879 g_connectionListener.onDataReceived(connectionId, isConnCharacteristic, data, dataLen); in BleOnDataReceived() 896 g_connectionListener.onDataReceived(connectionId, isConnCharacteristic, data, dataLen); in BleOnDataReceived() 1197 CONN_CHECK_AND_RETURN_RET_LOGW(listener->onDataReceived != NULL, SOFTBUS_INVALID_PARAM, CONN_INIT, in CheckBleInitConnectionPara() 1198 "init ble connection failed: invalid param, listener onDataReceived is null"); in CheckBleInitConnectionPara()
|
/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_test.cpp | 697 listener.onDataReceived = nullptr; in HWTEST_F() 997 .onDataReceived = AuthOnDataReceived, in HWTEST_F() 1419 .onDataReceived = AuthOnDataReceivedTest, in HWTEST_F() 2041 .onDataReceived = AuthOnDataReceived, in HWTEST_F()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager.c | 865 .onDataReceived = OnWifiDirectSyncMsgRecv, in LnnInitSyncInfoManager() 886 .onDataReceived = OnP2pNetworkingDataRecv, in LnnInitSyncInfoManager()
|
/foundation/communication/dsoftbus/core/connection/br/src/ |
H A D | softbus_conn_br_connection.c | 96 g_eventListener.onDataReceived(connectionId, data, dataLen); in LoopRead() 947 CONN_CHECK_AND_RETURN_RET_LOGW(listener->onDataReceived != NULL, SOFTBUS_INVALID_PARAM, CONN_INIT, in ConnBrConnectionMuduleInit()
|
H A D | softbus_conn_br_manager.c | 1819 .onDataReceived = OnDataReceived, in InitBrEventListener()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/ |
H A D | trans_auth_manager.c | 781 .onDataReceived = OnAuthChannelDataRecv, in TransAuthInit() 785 .onDataReceived = OnAuthMsgDataRecv, in TransAuthInit()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_p2p.c | 1213 .onDataReceived = OnAuthDataRecv, in P2pDirectChannelInit() 1222 .onDataReceived = OnP2pVerifyMsgReceived, in P2pDirectChannelInit()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation.c | 1166 .onDataReceived = UdpModuleCb, in TransUdpChannelInit()
|