Home
last modified time | relevance | path

Searched refs:remoteUuid (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_manager_test.cpp317 std::string remoteUuid("0123456789ABCDEF"); variable
324 NotifyOnline(remoteMac.c_str(), remoteIp.c_str(), remoteUuid.c_str(), isSource);
345 NotifyOnline(remoteMac.c_str(), remoteIp.c_str(), remoteUuid.c_str(), isSource);
402 std::string remoteUuid("0123456789ABCDEF"); variable
404 NotifyPtkSyncResult(remoteUuid.c_str(), result);
409 NotifyPtkSyncResult(remoteUuid.c_str(), result);
422 std::string remoteUuid("0123456789ABCDEF"); variable
431 RefreshRelationShip(remoteUuid.c_str(), remoteMac.c_str());
448 std::string remoteUuid("0123456789ABCDEF"); variable
456 link.SetRemoteDeviceId(remoteUuid); in __anond28ca6eb1802()
[all …]
H A Dwifi_direct_utils.cpp186 auto remoteUuid = NetworkIdToUuid(remoteNetworkId); in GetLocalPtk() local
189 auto ret = LnnGetLocalPtkByUuid(remoteUuid.c_str(), (char *)ptkBytes, sizeof(ptkBytes)); in GetLocalPtk()
191 ret = LnnGetLocalDefaultPtkByUuid(remoteUuid.c_str(), (char *)ptkBytes, sizeof(ptkBytes)); in GetLocalPtk()
203 auto remoteUuid = NetworkIdToUuid(remoteNetworkId); in GetRemotePtk() local
206 ret = LnnGetRemoteDefaultPtkByUuid(remoteUuid.c_str(), (char *)ptkBytes, sizeof(ptkBytes)); in GetRemotePtk()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/
H A Dwifi_direct_manager_virtual.c95 static void NotifyOnline(const char *remoteMac, const char *remoteIp, const char *remoteUuid, bool … in NotifyOnline() argument
99 (void)remoteUuid; in NotifyOnline()
103 static void NotifyOffline(const char *remoteMac, const char *remoteIp, const char *remoteUuid, cons… in NotifyOffline() argument
107 (void)remoteUuid; in NotifyOffline()
124 static void RefreshRelationShip(const char *remoteUuid, const char *remoteMac) in RefreshRelationShip() argument
126 (void)remoteUuid; in RefreshRelationShip()
H A Dwifi_direct_manager.h27 …void (*onDeviceOnLine)(const char *remoteMac, const char *remoteIp, const char *remoteUuid, bool i…
28 …void (*onDeviceOffLine)(const char *remoteMac, const char *remoteIp, const char *remoteUuid, const…
55 void (*refreshRelationShip)(const char *remoteUuid, const char *remoteMac);
78 …void (*notifyOnline)(const char *remoteMac, const char *remoteIp, const char *remoteUuid, bool isS…
79 …void (*notifyOffline)(const char *remoteMac, const char *remoteIp, const char *remoteUuid, const c…
H A Dwifi_direct_manager.cpp183 info->linkType, OHOS::SoftBus::WifiDirectAnonymizeDeviceId(info->remoteUuid).c_str()); in ForceDisconnectDevice()
203 static void RefreshRelationShip(const char *remoteUuid, const char *remoteMac) in RefreshRelationShip() argument
206 OHOS::SoftBus::WifiDirectAnonymizeDeviceId(remoteUuid).c_str(), in RefreshRelationShip()
208 OHOS::SoftBus::LinkManager::GetInstance().RefreshRelationShip(remoteUuid, remoteMac); in RefreshRelationShip()
425 OHOS::SoftBus::WifiDirectAnonymizeDeviceId(remoteUuid).c_str()); in NotifyOnline()
428 listener.onDeviceOnLine(remoteMac, remoteIp, remoteUuid, isSource); in NotifyOnline()
438 OHOS::SoftBus::WifiDirectAnonymizeDeviceId(remoteUuid).c_str(), in NotifyOffline()
442 listener.onDeviceOffLine(remoteMac, remoteIp, remoteUuid, localIp); in NotifyOffline()
461 OHOS::SoftBus::WifiDirectAnonymizeDeviceId(link->remoteUuid).c_str(), in NotifyConnectedForSink()
486 auto remoteUuid = OHOS::SoftBus::WifiDirectUtils::NetworkIdToUuid(remoteNetworkId); in IsNegotiateChannelNeeded() local
[all …]
H A Dwifi_direct_types.h100 char remoteUuid[UUID_BUF_LEN]; member
187 char remoteUuid[UUID_BUF_LEN]; member
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/channel/
H A Dproxy_negotiate_channel.cpp79 char remoteUuid[UUID_BUF_LEN] {}; in CoCProxyNegotiateChannel() local
80 if (TransProxyPipelineGetUuidByChannelId(channelId, remoteUuid, UUID_BUF_LEN) != SOFTBUS_OK) { in CoCProxyNegotiateChannel()
84 remoteDeviceId_ = remoteUuid; in CoCProxyNegotiateChannel()
H A Dauth_negotiate_channel.cpp41 char remoteUuid[UUID_BUF_LEN] {}; in AuthNegotiateChannel() local
42 auto ret = AuthGetDeviceUuid(handle_.authId, remoteUuid, UUID_BUF_LEN); in AuthNegotiateChannel()
44 remoteDeviceId_ = remoteUuid; in AuthNegotiateChannel()
358 if (param.remoteUuid.length() < UUID_BUF_LEN - 1) { in OpenConnection()
364 …WifiDirectAnonymizeDeviceId(param.remoteUuid).c_str(), WifiDirectAnonymizeIp(param.remoteIp).c_str… in OpenConnection()
378 const char *remoteUdid = LnnConvertDLidToUdid(param.remoteUuid.c_str(), CATEGORY_UUID); in OpenConnection()
394 requestIdToDeviceIdMap_[requestId] = param.remoteUuid; in OpenConnection()
H A Dauth_negotiate_channel.h46 std::string remoteUuid; member
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/
H A Dwifi_direct_processor.h32 explicit WifiDirectProcessor(const std::string &remoteUuid) in WifiDirectProcessor() argument
33 : remoteDeviceId_(remoteUuid), acceptNegotiateData_(true) {} in WifiDirectProcessor()
H A Dp2p_v1_processor.cpp343 …to innerLink = LinkManager::GetInstance().GetReuseLink(info.info_.linkType, info.info_.remoteUuid); in ProcessForceDisconnectCommand()
517 …DirectManager()->notifyOnline(sinkLink.remoteMac, sinkLink.remoteIp, sinkLink.remoteUuid, active_); in ProcessNegotiateCommandAtWaitingAuthHandShakeState()
591 …DirectManager()->notifyOnline(sinkLink.remoteMac, sinkLink.remoteIp, sinkLink.remoteUuid, active_); in ProcessAuthConnEvent()
1844 param.remoteUuid = msg.GetRemoteDeviceId(); in OpenAuthConnection()
1994 …bool cpyRet = strcpy_s(sinkLink.remoteUuid, sizeof(sinkLink.remoteUuid), remoteDeviceId_.c_str()) … in GenerateSinkLink()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/
H A Dforce_disconnect_command.cpp30 remoteDeviceId_ = info.remoteUuid; in ForceDisconnectCommand()
31 auto innerLink = LinkManager::GetInstance().GetReuseLink(info.linkType, info.remoteUuid); in ForceDisconnectCommand()
H A Dsimple_processor_selector.cpp44 return std::make_shared<P2pV1Processor>(info.remoteUuid); in operator ()()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_listener/
H A Dlnn_lane_listener_test.cpp638 EXPECT_EQ(strncpy_s(link.remoteUuid, UDID_BUF_LEN, PEER_UDID, UDID_BUF_LEN), EOK);
640 LnnOnWifiDirectDeviceOnline(nullptr, link.remoteIp, link.remoteUuid, true);
641 LnnOnWifiDirectDeviceOnline(link.remoteMac, nullptr, link.remoteUuid, true);
643 LnnOnWifiDirectDeviceOnline(link.remoteMac, link.remoteIp, link.remoteUuid, true);
645 LnnOnWifiDirectDeviceOffline(nullptr, link.remoteIp, link.remoteUuid, localIp);
646 LnnOnWifiDirectDeviceOffline(link.remoteMac, nullptr, link.remoteUuid, localIp);
648 LnnOnWifiDirectDeviceOffline(link.remoteMac, link.remoteIp, link.remoteUuid, localIp);
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/
H A Dinstant_statistics.cpp120 const InnerLinkBasicInfo &link, const std::string &remoteUuid) in InstUpdateRemoteInfoByInnerLink() argument
126 if (remoteUuid.empty()) { in InstUpdateRemoteInfoByInnerLink()
129 InstSetPeerDeviceIdForRemoteInfo(remoteInfo->uuid, remoteUuid); in InstUpdateRemoteInfoByInnerLink()
173 std::string remoteUuid = link.remoteDeviceId; in InstAddRemoteInfoByLinkManager() local
174 if (remoteUuid.empty()) { in InstAddRemoteInfoByLinkManager()
180 if (InstantIsParaMatch(rInfo->uuid, remoteUuid)) { in InstAddRemoteInfoByLinkManager()
182 InstUpdateRemoteInfoByInnerLink(rInfo, link, remoteUuid); in InstAddRemoteInfoByLinkManager()
190 InstUpdateRemoteInfoByInnerLink(rInfo, link, remoteUuid); in InstAddRemoteInfoByLinkManager()
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/
H A Dwifi_direct_utils.cpp186 auto remoteUuid = NetworkIdToUuid(remoteNetworkId); in GetLocalPtk() local
189 auto ret = LnnGetLocalPtkByUuid(remoteUuid.c_str(), (char *)ptkBytes, sizeof(ptkBytes)); in GetLocalPtk()
191 ret = LnnGetLocalDefaultPtkByUuid(remoteUuid.c_str(), (char *)ptkBytes, sizeof(ptkBytes)); in GetLocalPtk()
203 auto remoteUuid = NetworkIdToUuid(remoteNetworkId); in GetRemotePtk() local
206 ret = LnnGetRemoteDefaultPtkByUuid(remoteUuid.c_str(), (char *)ptkBytes, sizeof(ptkBytes)); in GetRemotePtk()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_bnep.cpp989 Uuid remoteUuid; in ProcessBnepSetupConnectionRequest() local
1005 remoteUuid = Uuid::ConvertFrom16Bits(uuid); in ProcessBnepSetupConnectionRequest()
1012 remoteUuid = Uuid::ConvertFrom32Bits(uuid); in ProcessBnepSetupConnectionRequest()
1016 remoteUuid = Uuid::ConvertFromBytesLE(data + offset); in ProcessBnepSetupConnectionRequest()
1023 CheckRoleUuid(localUuid, remoteUuid); in ProcessBnepSetupConnectionRequest()
1170 void PanBnep::CheckRoleUuid(Uuid localUuid, Uuid remoteUuid) in CheckRoleUuid() argument
1172 if (remoteUuid.GetUuidType() != Uuid::UUID16_BYTES_TYPE) { in CheckRoleUuid()
1176 } else if ((remoteUuid.ConvertTo16Bits() != BNEP_UUID_PANU) || in CheckRoleUuid()
1180 remoteUuid.ConvertTo16Bits(), localUuid.ConvertTo16Bits()); in CheckRoleUuid()
H A Dpan_bnep.h246 void CheckRoleUuid(Uuid localUuid, Uuid remoteUuid);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_listener.c492 if (LnnGetRemoteNodeInfoById(link->remoteUuid, CATEGORY_UUID, &nodeInfo) != SOFTBUS_OK) { in CreateSinkLinkInfo()
494 Anonymize(link->remoteUuid, &anonyUuid); in CreateSinkLinkInfo()
549 if (LnnGetRemoteNodeInfoById(link->remoteUuid, CATEGORY_UUID, &nodeInfo) != SOFTBUS_OK) { in LnnOnWifiDirectDisconnectedForSink()
551 Anonymize(link->remoteUuid, &anonyUuid); in LnnOnWifiDirectDisconnectedForSink()
H A Dlnn_lane_link_wifi_direct.c290 if (strcpy_s(info->remoteUuid, sizeof(info->remoteUuid), peerUuid) != EOK) { in GenerateForceDownWifiDirectInfo()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/
H A Dauth_session_message.h52 const char *remoteUuid, const AuthSessionInfo *info);
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1192 if (isMetaAuth || remoteUuid == NULL) { in PackWifiDirectInfo()
1200 if (remoteUuid == NULL) { in PackWifiDirectInfo()
1204 if (LnnGetLocalPtkByUuid(remoteUuid, localPtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in PackWifiDirectInfo()
1622 static void AddDiscoveryType(JsonObj *json, const char *remoteUuid) in AddDiscoveryType() argument
1624 if (remoteUuid == NULL) { in AddDiscoveryType()
1628 if (LnnGetNetworkIdByUuid(remoteUuid, networkId, sizeof(networkId)) != SOFTBUS_OK) { in AddDiscoveryType()
1650 bool isMetaAuth, const char *remoteUuid) in PackBt() argument
1656 AddDiscoveryType(json, remoteUuid); in PackBt()
1966 const char *remoteUuid, const AuthSessionInfo *info) in PackDeviceInfoMessage() argument
1991 ret = PackBt(json, nodeInfo, version, isMetaAuth, remoteUuid); in PackDeviceInfoMessage()
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/
H A Ddistributed_sched_mission_manager.h117 void NotifyMissionsChangedToRemoteInner(const std::string& remoteUuid,
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/
H A Dp2p_v1_processor_test.cpp318 (void)strcpy_s(forceInfo.remoteUuid, sizeof(forceInfo.remoteUuid), uuid.c_str()); in PrepareDisconnectParameter()