Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c172 if (g_callback.onDataReceived != NULL) { in NotifyDataReceived()
173 g_callback.onDataReceived(module, fd, &head, data); in NotifyDataReceived()
594 if (listener == NULL || listener->onDataReceived == NULL) { in NotifyChannelDataReceived()
605 listener->onDataReceived(channelId, &channelData); in NotifyChannelDataReceived()
620 if (listener == NULL || listener->onDataReceived == NULL) { in RegAuthChannelListener()
627 g_listener[i].listener.onDataReceived = listener->onDataReceived; in RegAuthChannelListener()
641 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()
123 if (listener == NULL || listener->onDataReceived == NULL) { in NotifyTransDataReceived()
134 listener->onDataReceived(authHandle, &transData); in NotifyTransDataReceived()
734 .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()
426 .onDataReceived = OnWiFiDataReceived, in InitWiFiConn()
H A Dauth_manager.c1384 if (g_transCallback.onDataReceived != NULL) { in HandleConnectionData()
1385 g_transCallback.onDataReceived(authHandle, head, decData, decDataLen); in HandleConnectionData()
2082 .onDataReceived = OnDataReceived, in AuthDeviceInit()
/ohos5.0/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
/ohos5.0/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
/ohos5.0/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 … member
H A Dauth_connection.h44 void (*onDataReceived)( member
H A Dauth_common.h114 …void (*onDataReceived)(AuthHandle authHandle, const AuthDataHead *head, const uint8_t *data, uint3… member
/ohos5.0/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
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/
H A Dproxy_negotiate_channel.cpp67 .onDataReceived = OnDataReceived, in Init()
H A Dauth_negotiate_channel.cpp295 .onDataReceived = OnAuthDataReceived, in Init()
/ohos5.0/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()
/ohos5.0/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 d… member
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
H A Dsoftbus_proxychannel_pipeline_test.cpp78 .onDataReceived = OnDataReceived, in SetUpTestCase()
/ohos5.0/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()
H A Dsoftbus_conn_ble_manager.c2324 .onDataReceived = OnDataReceived, in ConnInitBle()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test.cpp697 listener.onDataReceived = nullptr;
997 .onDataReceived = AuthOnDataReceived,
1419 .onDataReceived = AuthOnDataReceivedTest,
2041 .onDataReceived = AuthOnDataReceived,
/ohos5.0/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()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_sync_info_manager.c860 .onDataReceived = OnWifiDirectSyncMsgRecv, in LnnInitSyncInfoManager()
881 .onDataReceived = OnP2pNetworkingDataRecv, in LnnInitSyncInfoManager()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_p2p.c1080 .onDataReceived = OnAuthDataRecv, in P2pDirectChannelInit()
1089 .onDataReceived = OnP2pVerifyMsgReceived, in P2pDirectChannelInit()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/auth/src/
H A Dtrans_auth_manager.c785 .onDataReceived = OnAuthChannelDataRecv, in TransAuthInit()
789 .onDataReceived = OnAuthMsgDataRecv, in TransAuthInit()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
H A Dtrans_udp_negotiation.c1176 .onDataReceived = UdpModuleCb, in TransUdpChannelInit()