/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/ |
H A D | lnn_ledger_common_test.cpp | 294 EXPECT_TRUE(LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_BR) == SOFTBUS_OK); 399 LnnSetLocalNumInfo(NUM_KEY_AUTH_PORT, LOCAL_AUTH_PORT); 417 int32_t ret = LnnSetLocalNumInfo(NUM_KEY_SESSION_PORT, LOCAL_SESSION_PORT); 419 ret = LnnSetLocalNumInfo(NUM_KEY_AUTH_PORT, LOCAL_AUTH_PORT); 421 ret = LnnSetLocalNumInfo(NUM_KEY_PROXY_PORT, LOCAL_PROXY_PORT); 423 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, LOCAL_CAPACITY); 425 ret = LnnSetLocalNumInfo(NUM_KEY_MASTER_NODE_WEIGHT, MASTER_WEIGHT); 427 ret = LnnSetLocalNumInfo(NUM_KEY_P2P_ROLE, P2P_ROLE); 429 ret = LnnSetLocalNumInfo(NUM_KEY_STATIC_CAP_LEN, STATIC_LEN);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/ |
H A D | ledger_lane_hub_test.cpp | 175 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_BR); in ConstructBtLocalInfo() 181 int32_t ret = LnnSetLocalNumInfo(NUM_KEY_AUTH_PORT, LOCAL_AUTH_PORT); in ConstructWiFiLocalInfo() 183 ret = LnnSetLocalNumInfo(NUM_KEY_PROXY_PORT, LOCAL_PROXY_PORT); in ConstructWiFiLocalInfo() 185 ret = LnnSetLocalNumInfo(NUM_KEY_SESSION_PORT, LOCAL_SESSION_PORT); in ConstructWiFiLocalInfo() 188 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_WIFI_5G); in ConstructWiFiLocalInfo() 190 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, 1 << BIT_WIFI_24G); in ConstructWiFiLocalInfo()
|
H A D | lane_test.cpp | 134 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, (1 << BIT_BR) | in ConstructLocalInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/ |
H A D | lnn_ip_network_impl.c | 166 return LnnSetLocalNumInfo(NUM_KEY_AUTH_PORT, port); in OpenAuthPort() 174 (void)LnnSetLocalNumInfo(NUM_KEY_AUTH_PORT, IP_DEFAULT_PORT); in CloseAuthPort() 205 return LnnSetLocalNumInfo(NUM_KEY_SESSION_PORT, port); in OpenSessionPort() 214 (void)LnnSetLocalNumInfo(NUM_KEY_SESSION_PORT, IP_DEFAULT_PORT); in CloseSessionPort() 246 (void)LnnSetLocalNumInfo(NUM_KEY_PROXY_PORT, port); in OpenProxyPort() 264 (void)LnnSetLocalNumInfo(NUM_KEY_PROXY_PORT, IP_DEFAULT_PORT); in CloseProxyPort()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_network_info_test.cpp | 200 EXPECT_CALL(netLedgerMock, LnnSetLocalNumInfo).WillRepeatedly(Return(SOFTBUS_ERR)); 230 EXPECT_CALL(netLedgerMock, LnnSetLocalNumInfo).WillRepeatedly(Return(SOFTBUS_ERR)); 242 EXPECT_CALL(netLedgerMock, LnnSetLocalNumInfo).WillRepeatedly(Return(SOFTBUS_OK)); 264 EXPECT_CALL(netLedgerMock, LnnSetLocalNumInfo).WillOnce(Return(SOFTBUS_ERR))
|
H A D | lnn_net_ledger_mock.cpp | 391 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo() function 393 return GetNetLedgerInterface()->LnnSetLocalNumInfo(key, info); in LnnSetLocalNumInfo()
|
H A D | lnn_net_builder_deps_mock.cpp | 130 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo() function 132 return GetNetBuilderDepsInterface()->LnnSetLocalNumInfo(key, info); in LnnSetLocalNumInfo()
|
H A D | lnn_net_builder_mock_test.cpp | 161 EXPECT_CALL(NetBuilderMock, LnnSetLocalNumInfo(_, _)).WillRepeatedly(Return(SOFTBUS_OK)); 745 EXPECT_CALL(NetBuilderMock, LnnSetLocalNumInfo(_, _)).WillOnce(Return(SOFTBUS_ERR)); 750 EXPECT_CALL(NetBuilderMock, LnnSetLocalNumInfo(_, _)).WillOnce(Return(SOFTBUS_OK));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/ |
H A D | lnn_ip_network_impl_test.cpp | 213 EXPECT_CALL(ledgerMock, LnnSetLocalNumInfo).WillRepeatedly(Return(SOFTBUS_OK)); 259 EXPECT_CALL(ledgerMock, LnnSetLocalNumInfo).WillRepeatedly(Return(SOFTBUS_OK));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_network_info.c | 230 if (LnnSetLocalNumInfo(NUM_KEY_NET_CAP, (int32_t)netCapability) != SOFTBUS_OK) { in WifiStateProcess() 417 if (LnnSetLocalNumInfo(NUM_KEY_NET_CAP, (int32_t)netCapability) != SOFTBUS_OK) { in BtStateChangeEventHandler()
|
H A D | lnn_net_builder.c | 148 if (LnnSetLocalNumInfo(NUM_KEY_MASTER_NODE_WEIGHT, weight) != SOFTBUS_OK) { in UpdateLocalMasterNode() 952 if (LnnSetLocalNumInfo(NUM_KEY_NET_CAP, netCapability) != SOFTBUS_OK) { in UpdateLocalNetCapability()
|
H A D | lnn_net_builder_init.c | 751 LnnSetLocalNumInfo(NUM_KEY_MASTER_NODE_WEIGHT, LnnGetLocalWeight()); in LnnInitNetBuilderDelay()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_mock.h | 47 virtual int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) = 0; 159 MOCK_METHOD2(LnnSetLocalNumInfo, int32_t (InfoKey, int32_t));
|
H A D | wifi_direct_mock.cpp | 58 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo() function 60 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnSetLocalNumInfo(key, info); in LnnSetLocalNumInfo()
|
H A D | wifi_direct_utils.cpp | 536 int32_t ret = LnnSetLocalNumInfo(NUM_KEY_P2P_ROLE, role); in SyncLnnInfoForP2p()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_ledger_mock.h | 54 virtual int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) = 0; 137 MOCK_METHOD2(LnnSetLocalNumInfo, int32_t (InfoKey, int32_t));
|
H A D | lnn_net_builder_deps_mock.h | 77 virtual int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info); 218 MOCK_METHOD2(LnnSetLocalNumInfo, int32_t (InfoKey, int32_t));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/interface/ |
H A D | bus_center_manager.h | 58 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info);
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/network/ |
H A D | lnn_netmanager_listener.cpp | 116 ret = LnnSetLocalNumInfo(NUM_KEY_NET_CAP, netCapability); in OnInterfaceLinkStateChanged()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils_test.cpp | 301 EXPECT_CALL(mock, LnnSetLocalNumInfo).WillOnce(Return(-1));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_net_ledger.c | 146 if (LnnSetLocalNumInfo(NUM_KEY_STATE_VERSION, info.stateVersion) != SOFTBUS_OK) { in ProcessLocalDeviceInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils.cpp | 540 int32_t ret = LnnSetLocalNumInfo(NUM_KEY_P2P_ROLE, role); in SyncLnnInfoForP2p()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/processor/ |
H A D | p2p_v1_processor_test.cpp | 264 EXPECT_CALL(mock, LnnSetLocalNumInfo(_, _)).WillRepeatedly(Return(SOFTBUS_OK)); in InjectCommonMock()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 2089 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo() function
|