Searched refs:LnnSetP2pRole (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 | 36 ON_CALL(*this, LnnSetP2pRole).WillByDefault(Return(SOFTBUS_OK)); in SetupDefaultResult() 48 int32_t LnnSetP2pRole(NodeInfo *info, int32_t role) in LnnSetP2pRole() function 50 return GetNetLedgerInterface()->LnnSetP2pRole(info, role); in LnnSetP2pRole()
|
H A D | net_ledger_mock.h | 29 virtual int32_t LnnSetP2pRole(NodeInfo *info, int32_t role) = 0; 39 MOCK_METHOD(int32_t, LnnSetP2pRole, (NodeInfo *, int32_t), (override));
|
H A D | p2p_info_mock_test.cpp | 74 EXPECT_CALL(netLedgerMock, LnnSetP2pRole(_, _)).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 | 108 ON_CALL(netLedgerMock, LnnSetP2pRole).WillByDefault(Return(SOFTBUS_OK)); 120 EXPECT_CALL(netLedgerMock, LnnSetP2pRole(_, _)).WillRepeatedly(Return(SOFTBUS_ERR));
|
H A D | lnn_net_ledger_mock.cpp | 331 int32_t LnnSetP2pRole(NodeInfo *info, int32_t role) in LnnSetP2pRole() function 333 return GetNetLedgerInterface()->LnnSetP2pRole(info, role); in LnnSetP2pRole()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_ledger_mock.h | 60 virtual int32_t LnnSetP2pRole(NodeInfo *info, int32_t role) = 0; 143 MOCK_METHOD2(LnnSetP2pRole, int32_t (NodeInfo *, int32_t));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 224 int32_t LnnSetP2pRole(NodeInfo *info, int32_t role);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_p2p_info.c | 346 if (LnnSetP2pRole(info, WIFI_DIRECT_ROLE_NONE) != SOFTBUS_OK || in LnnInitLocalP2pInfo()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_ledger_common_test.cpp | 197 EXPECT_TRUE(LnnSetP2pRole(nullptr, PORT) == SOFTBUS_INVALID_PARAM);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 272 int32_t LnnSetP2pRole(NodeInfo *info, int32_t p2pRole) in LnnSetP2pRole() function
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 1069 if (LnnSetP2pRole(node, info->p2pRole) != 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 | 1461 return LnnSetP2pRole(&g_localNetLedger.localInfo, *(int32_t *)p2pRole); in UpdateP2pRole()
|