/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/ |
H A D | trans_link_listener.c | 34 static void ClearIpInfo(const char *peerUuid) in ClearIpInfo() argument 39 if (LnnSetDLP2pIp(peerUuid, CATEGORY_UUID, "") != SOFTBUS_OK) { in ClearIpInfo() 44 static void OnWifiDirectDeviceOffLine(const char *peerMac, const char *peerIp, const char *peerUuid, in OnWifiDirectDeviceOffLine() argument 47 TRANS_CHECK_AND_RETURN_LOGW(peerUuid, TRANS_SVC, "peer uuid is null"); in OnWifiDirectDeviceOffLine() 52 int32_t ret = LnnGetRemoteNodeInfoById(peerUuid, CATEGORY_UUID, &nodeInfo); in OnWifiDirectDeviceOffLine() 56 ClearHmlListenerByUuid(peerUuid); in OnWifiDirectDeviceOffLine() 59 StopP2pListenerByRemoteUuid(peerUuid); in OnWifiDirectDeviceOffLine() 60 ClearIpInfo(peerUuid); in OnWifiDirectDeviceOffLine() 79 static void OnWifiDirectDeviceOnLine(const char *peerMac, const char *peerIp, const char *peerUuid, bool isSource) in OnWifiDirectDeviceOnLine() argument 84 int32_t ret = LnnGetRemoteNodeInfoById(peerUuid, CATEGORY_UUI in OnWifiDirectDeviceOnLine() [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_link_listener_test/ |
H A D | trans_link_listener_test.cpp | 56 const char *peerUuid = "11223344"; in HWTEST_F() local 57 ClearIpInfo(peerUuid); in HWTEST_F() 73 const char *peerUuid = "11223344"; in HWTEST_F() local 77 OnWifiDirectDeviceOffLine(peerMac, peerIp, peerUuid, localIp); in HWTEST_F() 92 const char *peerUuid = "11223344"; in HWTEST_F() local 96 OnWifiDirectDeviceOffLine(peerMac, peerIp, peerUuid, peerIp); in HWTEST_F() 124 const char *peerUuid = "11223344"; in HWTEST_F() local 129 OnWifiDirectDeviceOnLine(peerMac, peerIp, peerUuid, isSource); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_p2p_virtual.c | 39 void StopP2pListenerByRemoteUuid(const char *peerUuid) in StopP2pListenerByRemoteUuid() argument 41 (void)peerUuid; in StopP2pListenerByRemoteUuid() 53 void ClearHmlListenerByUuid(const char *peerUuid) in ClearHmlListenerByUuid() argument 55 (void)peerUuid; in ClearHmlListenerByUuid()
|
H A D | trans_tcp_direct_p2p.c | 49 char peerUuid[UUID_BUF_LEN]; member 178 void StopP2pListenerByRemoteUuid(const char *peerUuid) in StopP2pListenerByRemoteUuid() argument 180 if (peerUuid == NULL) { in StopP2pListenerByRemoteUuid() 181 TRANS_LOGE(TRANS_CTRL, "invalid param, peerUuid is null"); in StopP2pListenerByRemoteUuid() 201 Anonymize(peerUuid, &anonymizePeerUuid); in StopP2pListenerByRemoteUuid() 205 if (strcmp(item->peerUuid, peerUuid) == 0) { in StopP2pListenerByRemoteUuid() 207 TRANS_LOGI(TRANS_CTRL, "del p2p listener peerUuid=%{public}s node", AnonymizeWrapper(anonymizePeerUuid)); in StopP2pListenerByRemoteUuid() 221 TRANS_LOGE(TRANS_CTRL, "not found peerUuid=%{public}s in peerDeviceInfoList", AnonymizeWrapper(anonymizePeerUuid)); in StopP2pListenerByRemoteUuid() 317 void ClearHmlListenerByUuid(const char *peerUuid) in ClearHmlListenerByUuid() argument 340 AnonymizeLogHmlListenerInfo(const char *ip, const char *peerUuid) AnonymizeLogHmlListenerInfo() argument 352 StartHmlListener(const char *ip, int32_t *port, const char *peerUuid) StartHmlListener() argument 417 CheckAndAddPeerDeviceInfo(const char *peerUuid) CheckAndAddPeerDeviceInfo() argument 452 StartP2pListener(const char *ip, int32_t *port, const char *peerUuid) StartP2pListener() argument 726 TransGetRemoteUuidByAuthHandle(AuthHandle authHandle, char *peerUuid) TransGetRemoteUuidByAuthHandle() argument 774 char peerUuid[UUID_BUF_LEN] = { 0 }; OnVerifyP2pRequest() local [all...] |
H A D | trans_tcp_direct_message.c | 816 TransEventExtra *extra, int32_t channelId, SessionConn *conn, NodeInfo *nodeInfo, char *peerUuid) in ReportTransEventExtra() 825 bool peerRet = GetUuidByChanId(channelId, peerUuid, DEVICE_ID_SIZE_MAX) == SOFTBUS_OK && in ReportTransEventExtra() 826 LnnGetRemoteNodeInfoById(peerUuid, CATEGORY_UUID, nodeInfo) == SOFTBUS_OK; in ReportTransEventExtra() 938 char peerUuid[DEVICE_ID_SIZE_MAX] = { 0 }; in OpenDataBusRequest() local 941 ReportTransEventExtra(&extra, channelId, conn, &nodeInfo, peerUuid); in OpenDataBusRequest() 815 ReportTransEventExtra( TransEventExtra *extra, int32_t channelId, SessionConn *conn, NodeInfo *nodeInfo, char *peerUuid) ReportTransEventExtra() argument
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/include/ |
H A D | trans_tcp_direct_p2p.h | 37 void StopP2pListenerByRemoteUuid(const char *peerUuid); 43 void ClearHmlListenerByUuid(const char *peerUuid);
|
H A D | trans_tcp_direct_listener.h | 30 char peerUuid[UUID_BUF_LEN]; member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_listener.c | 354 static int32_t GetStateNotifyInfo(const char *peerIp, const char *peerUuid, LaneLinkInfo *laneLinkInfo) in GetStateNotifyInfo() argument 356 if (peerIp == NULL || peerUuid == NULL || laneLinkInfo == NULL) { in GetStateNotifyInfo() 368 if (LnnGetRemoteNodeInfoById(peerUuid, CATEGORY_UUID, &nodeInfo) != SOFTBUS_OK) { in GetStateNotifyInfo() 370 Anonymize(peerUuid, &anonyUuid); in GetStateNotifyInfo() 371 LNN_LOGE(LNN_STATE, "get remote nodeinfo failed, peerUuid=%{public}s", AnonymizeWrapper(anonyUuid)); in GetStateNotifyInfo() 382 static void LnnOnWifiDirectDeviceOnline(const char *peerMac, const char *peerIp, const char *peerUuid, bool isSource) in LnnOnWifiDirectDeviceOnline() argument 385 if (peerMac == NULL || peerUuid == NULL || peerIp == NULL) { in LnnOnWifiDirectDeviceOnline() 391 if (GetStateNotifyInfo(peerIp, peerUuid, &laneLinkInfo) != SOFTBUS_OK) { in LnnOnWifiDirectDeviceOnline() 400 static void LnnOnWifiDirectDeviceOffline(const char *peerMac, const char *peerIp, const char *peerUuid, in LnnOnWifiDirectDeviceOffline() argument 404 if (peerMac == NULL || peerUuid in LnnOnWifiDirectDeviceOffline() [all...] |
H A D | lnn_lane_link_wifi_direct.c | 284 char peerUuid[UUID_BUF_LEN] = {0}; in GenerateForceDownWifiDirectInfo() local 285 if (LnnGetRemoteStrInfo(forceDownInfo->forceDownDevId, STRING_KEY_UUID, peerUuid, in GenerateForceDownWifiDirectInfo() 286 sizeof(peerUuid)) != SOFTBUS_OK) { in GenerateForceDownWifiDirectInfo() 290 if (strcpy_s(info->remoteUuid, sizeof(info->remoteUuid), peerUuid) != EOK) { in GenerateForceDownWifiDirectInfo()
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | static_profile_manager.cpp | 223 void StaticProfileManager::ClearDataWithPeerLogout(const std::string& peerUdid, const std::string& peerUuid) in ClearDataWithPeerLogout() argument 225 if (peerUdid.empty() || peerUuid.empty()) { in ClearDataWithPeerLogout() 226 HILOGE("peerUdid or peerUuid is empty!"); in ClearDataWithPeerLogout() 251 if (staticProfileStore_->RemoveDeviceData(peerUuid) != DP_SUCCESS) { in ClearDataWithPeerLogout() 252 HILOGE("RemoveDeviceData fail, peerUuid=%{public}s", ProfileUtils::GetAnonyString(peerUuid).c_str()); in ClearDataWithPeerLogout()
|
H A D | device_profile_manager.cpp | 921 void DeviceProfileManager::OnDeviceTrustChange(const std::string& peerUdid, const std::string& peerUuid, in OnDeviceTrustChange() argument 924 if (peerUdid.empty() || peerUuid.empty()) { in OnDeviceTrustChange() 925 HILOGE("peerUdid or peerUuid is empty!"); in OnDeviceTrustChange() 932 auto clearDataTask = [this, peerUdid, peerUuid]() { in OnDeviceTrustChange() 933 ClearDataWithPeerLogout(peerUdid, peerUuid); in OnDeviceTrustChange() 934 StaticProfileManager::GetInstance().ClearDataWithPeerLogout(peerUdid, peerUuid); in OnDeviceTrustChange() 943 void DeviceProfileManager::ClearDataWithPeerLogout(const std::string& peerUdid, const std::string& peerUuid) in ClearDataWithPeerLogout() argument 977 if (deviceProfileStore_->RemoveDeviceData(peerUuid) != DP_SUCCESS) { in ClearDataWithPeerLogout() 978 HILOGE("RemoveDeviceData fail, peerUuid=%{public}s", ProfileUtils::GetAnonyString(peerUuid) in ClearDataWithPeerLogout() [all...] |
/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/ |
H A D | device_profile_manager.h | 72 void OnDeviceTrustChange(const std::string& peerUdid, const std::string& peerUuid, 97 void ClearDataWithPeerLogout(const std::string& peerUdid, const std::string& peerUuid);
|
H A D | static_profile_manager.h | 38 void ClearDataWithPeerLogout(const std::string& peerUdid, const std::string& peerUuid);
|
/foundation/deviceprofile/device_info_manager/old/services/core/include/devicemanager/ |
H A D | dp_device_manager.h | 95 void OnDeviceTrustChange(const std::string &peerUdid, const std::string &peerUuid,
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation.c | 479 char peerUuid[UUID_BUF_LEN] = { 0 }; in SetPeerDeviceIdByAuth() local 480 int32_t ret = AuthGetDeviceUuid(authHandle.authId, peerUuid, sizeof(peerUuid)); in SetPeerDeviceIdByAuth() 487 peerUuid, sizeof(peerUuid)) != EOK) { in SetPeerDeviceIdByAuth()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/ |
H A D | dp_device_manager.cpp | 164 const std::string &peerUuid, const DistributedHardware::DmAuthForm authform) in OnDeviceTrustChange() 166 DistributedDeviceProfile::DeviceProfileManager::GetInstance().OnDeviceTrustChange(peerUdid, peerUuid, authform); in OnDeviceTrustChange() 163 OnDeviceTrustChange(const std::string &peerUdid, const std::string &peerUuid, const DistributedHardware::DmAuthForm authform) OnDeviceTrustChange() argument
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_net_ledger.c | 764 char peerUuid[UUID_BUF_LEN] = {0}; in SoftbusDumpPrintLocalPtk() local 765 if (LnnGetRemoteStrInfo(nodeInfo->networkId, STRING_KEY_UUID, peerUuid, UUID_BUF_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintLocalPtk() 766 LNN_LOGE(LNN_LEDGER, "gey peerUuid failed"); in SoftbusDumpPrintLocalPtk() 770 if (LnnGetLocalPtkByUuid(peerUuid, localPtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintLocalPtk()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager.c | 383 static int32_t OnChannelOpened(int32_t channelId, const char *peerUuid, unsigned char isServer) in OnChannelOpened() argument 388 if (LnnConvertDlId(peerUuid, CATEGORY_UUID, CATEGORY_NETWORK_ID, networkId, NETWORK_ID_BUF_LEN) != SOFTBUS_OK) { in OnChannelOpened() 447 static void OnChannelOpenFailed(int32_t channelId, const char *peerUuid) in OnChannelOpenFailed() argument 452 if (LnnConvertDlId(peerUuid, CATEGORY_UUID, CATEGORY_NETWORK_ID, networkId, NETWORK_ID_BUF_LEN) != SOFTBUS_OK) { in OnChannelOpenFailed()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_message_append_test.cpp | 1735 char *peerUuid = const_cast<char *>(reinterpret_cast<const char *>("test.uuid")); in HWTEST_F() local 1741 ReportTransEventExtra(&extra, channelId, conn, &nodeInfo, peerUuid); in HWTEST_F()
|