/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/ |
H A D | net_ledger_mock.cpp | 58 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) in LnnSetP2pGoMac() argument 60 return GetNetLedgerInterface()->LnnSetP2pGoMac(info, goMac); in LnnSetP2pGoMac()
|
H A D | net_ledger_mock.h | 31 virtual int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 480 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) in LnnSetP2pGoMac() argument 482 if (info == NULL || goMac == NULL) { in LnnSetP2pGoMac() 487 if (strcpy_s(info->p2pInfo.goMac, sizeof(info->p2pInfo.goMac), goMac) != EOK) { in LnnSetP2pGoMac() 500 return info->p2pInfo.goMac; in LnnGetP2pGoMac()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info_test.cpp | 80 .goMac = "goMac", 195 .p2pInfo.goMac = "goMac", 241 .p2pInfo.goMac = "goMac", 386 .goMac = "goMac",
|
H A D | lnn_net_ledger_mock.cpp | 341 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) in LnnSetP2pGoMac() argument 343 return GetNetLedgerInterface()->LnnSetP2pGoMac(info, goMac); in LnnSetP2pGoMac()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info.c | 78 if (!AddStringToJsonObject(json, JSON_KEY_GO_MAC, info->goMac)) { in LnnGetP2pInfoMsg() 143 if (!JSON_GetStringFromOject(json, JSON_KEY_GO_MAC, info->goMac, sizeof(info->goMac))) { in LnnParseP2pInfoMsg()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 94 char goMac[MAC_LEN]; // the mac of p2p Go device, while local device as Gc role. member 244 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils_test.cpp | 296 const std::string goMac = "11:22:33:44:66"; variable 304 WifiDirectUtils::SyncLnnInfoForP2p(role, localMac, goMac);
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils.cpp | 536 …tils::SyncLnnInfoForP2p(WifiDirectRole role, const std::string &localMac, const std::string &goMac) in SyncLnnInfoForP2p() argument 539 role, WifiDirectAnonymizeMac(localMac).c_str(), WifiDirectAnonymizeMac(goMac).c_str()); in SyncLnnInfoForP2p() 550 ret = LnnSetLocalStrInfo(STRING_KEY_P2P_GO_MAC, goMac.c_str()); in SyncLnnInfoForP2p()
|
H A D | wifi_direct_utils.h | 99 …void SyncLnnInfoForP2p(WifiDirectRole role, const std::string &localMac, const std::string &goMac);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_utils.cpp | 532 …tils::SyncLnnInfoForP2p(WifiDirectRole role, const std::string &localMac, const std::string &goMac) in SyncLnnInfoForP2p() argument 535 role, WifiDirectAnonymizeMac(localMac).c_str(), WifiDirectAnonymizeMac(goMac).c_str()); in SyncLnnInfoForP2p() 546 ret = LnnSetLocalStrInfo(STRING_KEY_P2P_GO_MAC, goMac.c_str()); in SyncLnnInfoForP2p()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/ |
H A D | p2p_v1_processor.cpp | 1793 std::string goMac; in GetGoMac() local 1795 …InterfaceManager::GetInstance().ReadInterface(InterfaceInfo::P2P, [&goMac](const InterfaceInfo &in… in GetGoMac() 1796 goMac = interface.GetBaseMac(); in GetGoMac() 1799 return goMac; in GetGoMac() 1801 LinkManager::GetInstance().ForEach([&goMac](InnerLink &link) { in GetGoMac() 1803 goMac = link.GetRemoteBaseMac(); in GetGoMac() 1808 return goMac; in GetGoMac()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_ledger_mock.h | 62 virtual int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/ |
H A D | p2p_v1_processor_test.cpp | 1217 auto goMac = processor.GetGoMac(ct.myRole); variable 1218 ASSERT_EQ(goMac, ct.result) << "my role: " << static_cast<int>(ct.myRole)
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_disctributed_net_ledger_test.cpp | 339 (void)strncpy_s(info.goMac, MAC_LEN, GO_MAC, strlen(GO_MAC));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 1071 LnnSetP2pGoMac(node, info->goMac) != SOFTBUS_OK) { in LnnSetDLP2pInfo()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/ |
H A D | lnn_lane_test.cpp | 107 .p2pInfo.goMac = "abc",
|