Home
last modified time | relevance | path

Searched refs:onDataReceived (Results 1 - 25 of 26) sorted by relevance

12

/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/channel/
H A Dproxy_negotiate_channel_test.cpp78 * @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 Dauth_channel.h36 void (*onDataReceived)(int32_t channelId, const AuthChannelData *data); member
H A Dauth_interface.h176 void (*onDataReceived)(AuthHandle authHandle, const AuthTransData *data); member
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c171 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 Dauth_interface.c80 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 Dauth_connection.c199 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 Dauth_manager.c1386 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 Dauth_tcp_connection.h43 void (*onDataReceived)(ListenerModule module, int32_t fd, const AuthDataHead *head, const uint8_t *data); member
H A Dauth_connection.h44 void (*onDataReceived)( member
H A Dauth_common.h113 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 Dsoftbus_proxychannel_pipeline.h27 void (*onDataReceived)(int32_t channelId, const char *data, uint32_t len); member
/foundation/communication/dsoftbus/core/connection/br/include/
H A Dsoftbus_conn_br_connection.h81 void (*onDataReceived)(uint32_t connectionId, uint8_t *data, uint32_t dataLen); member
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/
H A Dproxy_negotiate_channel.cpp67 .onDataReceived = OnDataReceived, in Init()
H A Dauth_negotiate_channel.cpp296 .onDataReceived = OnAuthDataReceived, in Init()
/foundation/communication/dsoftbus/core/connection/ble/include/
H A Dsoftbus_conn_ble_connection.h143 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 Dsoftbus_proxychannel_pipeline_test.cpp78 .onDataReceived = OnDataReceived, 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()
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 Dsoftbus_conn_ble_connection.c879 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 Dauth_test.cpp697 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 Dlnn_sync_info_manager.c865 .onDataReceived = OnWifiDirectSyncMsgRecv, in LnnInitSyncInfoManager()
886 .onDataReceived = OnP2pNetworkingDataRecv, in LnnInitSyncInfoManager()
/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_connection.c96 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 Dsoftbus_conn_br_manager.c1819 .onDataReceived = OnDataReceived, in InitBrEventListener()
/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/
H A Dtrans_auth_manager.c781 .onDataReceived = OnAuthChannelDataRecv, in TransAuthInit()
785 .onDataReceived = OnAuthMsgDataRecv, in TransAuthInit()
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_p2p.c1213 .onDataReceived = OnAuthDataRecv, in P2pDirectChannelInit()
1222 .onDataReceived = OnP2pVerifyMsgReceived, in P2pDirectChannelInit()
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_negotiation.c1166 .onDataReceived = UdpModuleCb, in TransUdpChannelInit()

Completed in 34 milliseconds

12