Searched refs:LnnSetP2pGoMac (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/ |
H A D | net_ledger_mock.cpp | 38 ON_CALL(*this, LnnSetP2pGoMac).WillByDefault(Return(SOFTBUS_OK)); in SetupDefaultResult() 58 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) in LnnSetP2pGoMac() function 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; 41 MOCK_METHOD(int32_t, LnnSetP2pGoMac, (NodeInfo *, const char *), (override));
|
H A D | p2p_info_mock_test.cpp | 82 EXPECT_CALL(netLedgerMock, LnnSetP2pGoMac(_, _)).WillRepeatedly(Return(SOFTBUS_ERR));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info_test.cpp | 110 ON_CALL(netLedgerMock, LnnSetP2pGoMac).WillByDefault(Return(SOFTBUS_OK)); 128 EXPECT_CALL(netLedgerMock, LnnSetP2pGoMac(_, _)).WillRepeatedly(Return(SOFTBUS_ERR));
|
H A D | lnn_net_ledger_mock.cpp | 341 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac) in LnnSetP2pGoMac() function 343 return GetNetLedgerInterface()->LnnSetP2pGoMac(info, goMac); in LnnSetP2pGoMac()
|
/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; 145 MOCK_METHOD2(LnnSetP2pGoMac, int32_t (NodeInfo *, const char *));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 244 int32_t LnnSetP2pGoMac(NodeInfo *info, const char *goMac);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info.c | 348 LnnSetP2pGoMac(info, "") != SOFTBUS_OK || in LnnInitLocalP2pInfo()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_ledger_common_test.cpp | 201 EXPECT_TRUE(LnnSetP2pGoMac(nullptr, nullptr) == SOFTBUS_INVALID_PARAM);
|
/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() function
|
/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/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 1452 return LnnSetP2pGoMac(&g_localNetLedger.localInfo, (char *)mac); in UpdateP2pGoMac()
|