/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_ip_manager_test.cpp | 117 EXPECT_CALL(client, AddInterfaceAddress).WillOnce(Return(0)); 123 EXPECT_CALL(client, AddInterfaceAddress).WillOnce(Return(-1)); 127 EXPECT_CALL(client, AddInterfaceAddress).WillOnce(Return(0)); 204 EXPECT_CALL(client, AddInterfaceAddress(_, _, _)).WillOnce(Return(0)); 207 int32_t ret = ipManager.AddInterfaceAddress(interface, ipString, prefixLength); 210 EXPECT_CALL(client, AddInterfaceAddress(_, _, _)).WillOnce(Return(0)); 212 ret = ipManager.AddInterfaceAddress(interface, ipString, prefixLength); 215 EXPECT_CALL(client, AddInterfaceAddress(_, _, _)).WillOnce(Return(-1)); 216 ret = ipManager.AddInterfaceAddress(interface, ipString, prefixLength); 237 ret = ipManager.AddInterfaceAddress(interface, ipString, prefixLength); [all …]
|
H A D | net_conn_client.cpp | 57 int32_t OHOS::NetManagerStandard::NetConnClient::AddInterfaceAddress( in AddInterfaceAddress() function in OHOS::NetManagerStandard::NetConnClient 64 return mock->AddInterfaceAddress(ifName, ipAddr, prefixLength); in AddInterfaceAddress()
|
H A D | net_conn_client.h | 65 …virtual int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t … 76 …AddInterfaceAddress, int32_t(const std::string &ifName, const std::string &ipAddr, int32_t prefixL…
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_ip_manager.cpp | 117 …auto ret = OHOS::NetManagerStandard::NetConnClient::GetInstance().AddInterfaceAddress(interface, i… in ConfigIpv6() 136 int32_t ret = AddInterfaceAddress(interface, localIpStr, local.GetPrefixLength()); in ConfigIpv4() 177 int32_t WifiDirectIpManager::AddInterfaceAddress( in AddInterfaceAddress() function in OHOS::SoftBus::WifiDirectIpManager 187 …ret = OHOS::NetManagerStandard::NetConnClient::GetInstance().AddInterfaceAddress(interface, ipStri… in AddInterfaceAddress()
|
H A D | wifi_direct_ip_manager.h | 76 …static int32_t AddInterfaceAddress(const std::string &interface, const std::string &ipString, int3…
|
/ohos5.0/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_lan_management.cpp | 121 auto ret = NetConnClient::GetInstance().AddInterfaceAddress(newNetLinkInfo.ifaceName_, in SetIp()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/ |
H A D | i_net_conn_service.h | 90 virtual int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr,
|
H A D | net_conn_service_proxy.h | 76 int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr,
|
/ohos5.0/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | mock_netsys_native_client.h | 194 …int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLe…
|
H A D | netsys_controller.h | 191 …int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLe…
|
H A D | i_netsys_controller_service.h | 206 …virtual int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t …
|
H A D | netsys_controller_service_impl.h | 179 …int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLe…
|
/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_service_stub_test.h | 237 …int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLe… in AddInterfaceAddress() function
|
/ohos5.0/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller_service_impl.cpp | 192 int32_t NetsysControllerServiceImpl::AddInterfaceAddress(const std::string &ifName, const std::stri… in AddInterfaceAddress() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl 198 return mockNetsysClient_.AddInterfaceAddress(ifName, ipAddr, prefixLength); in AddInterfaceAddress() 200 return netsysClient_.AddInterfaceAddress(ifName, ipAddr, prefixLength); in AddInterfaceAddress()
|
H A D | netsys_controller.cpp | 278 int32_t NetsysController::AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in AddInterfaceAddress() function in OHOS::NetManagerStandard::NetsysController 287 return netsysService_->AddInterfaceAddress(ifName, ipAddr, prefixLength); in AddInterfaceAddress()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | net_conn_client.h | 403 int32_t AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr,
|
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | mock_netsys_native_client_test.cpp | 93 ret = nativeClient_.AddInterfaceAddress(iface, "", 0);
|
H A D | netsys_controller_service_impl_test.cpp | 159 ret = instance_->AddInterfaceAddress(testName, testName, 1); 439 ret = instance_->AddInterfaceAddress(testName, "", prefixLength);
|
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unit_test/ |
H A D | network_route.cpp | 201 int ret = netsysServiceR_->AddInterfaceAddress("eth0", "172.17.5.245", 23); in TestInterfaceAddAddress()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | net_manager_native.h | 83 int32_t AddInterfaceAddress(std::string ifName, std::string addrString, int32_t prefixLength);
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | net_conn_client.cpp | 737 int32_t NetConnClient::AddInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in AddInterfaceAddress() function in OHOS::NetManagerStandard::NetConnClient 747 return proxy->AddInterfaceAddress(ifName, ipAddr, prefixLength); in AddInterfaceAddress()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 88 …virtual int32_t AddInterfaceAddress(const std::string &interfaceName, const std::string &addrStrin…
|
H A D | netsys_native_service_proxy.h | 65 int32_t AddInterfaceAddress(const std::string &interfaceName, const std::string &addrString,
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 349 int32_t NetsysNativeService::AddInterfaceAddress(const std::string &interfaceName, const std::strin… in AddInterfaceAddress() function in OHOS::NetsysNative::NetsysNativeService 352 int32_t result = netsysService_->AddInterfaceAddress(interfaceName, addrString, prefixLength); in AddInterfaceAddress()
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 89 int32_t AddInterfaceAddress(const std::string &interfaceName, const std::string &addrString,
|