/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_ip_manager_test.cpp | 135 EXPECT_CALL(client, DelInterfaceAddress).WillOnce(Return(-1)); in HWTEST_F() 140 EXPECT_CALL(client, DelInterfaceAddress).WillOnce(Return(0)); in HWTEST_F() 145 EXPECT_CALL(client, DelInterfaceAddress).WillOnce(Return(0)); in HWTEST_F() 220 EXPECT_CALL(client, DelInterfaceAddress).WillOnce(Return(0)); in HWTEST_F() 226 EXPECT_CALL(client, DelInterfaceAddress).WillOnce(Return(-1)); in HWTEST_F() 231 EXPECT_CALL(client, DelInterfaceAddress).WillOnce(Return(0)); in HWTEST_F()
|
H A D | net_conn_client.h | 66 virtual int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength); 82 DelInterfaceAddress, int32_t(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength));
|
H A D | net_conn_client.cpp | 67 int32_t OHOS::NetManagerStandard::NetConnClient::DelInterfaceAddress( in DelInterfaceAddress() function in OHOS::NetManagerStandard::NetConnClient 74 return mock->DelInterfaceAddress(ifName, ipAddr, prefixLength); in DelInterfaceAddress()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | net_conn_client.h | 54 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength);
|
H A D | net_conn_client.cpp | 89 int32_t NetConnClient::DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength) in DelInterfaceAddress() function in OHOS::NetManagerStandard::NetConnClient
|
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_lan_management.cpp | 89 ret += NetConnClient::GetInstance().DelInterfaceAddress(newNetLinkInfo.ifaceName_,
in ReleaseLanNetLink() 144 auto ret = NetConnClient::GetInstance().DelInterfaceAddress(netLinkInfo_.ifaceName_,
in DelIp()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_net_agent.h | 95 bool DelInterfaceAddress(const std::string interface, const std::string ipAddress, int prefixLength);
|
H A D | wifi_net_agent.cpp | 166 bool WifiNetAgent::DelInterfaceAddress(const std::string interface, const std::string ipAddress, int prefixLength) in DelInterfaceAddress() function in OHOS::Wifi::WifiNetAgent 168 int32_t result = NetConnClient::GetInstance().DelInterfaceAddress(interface, ipAddress, prefixLength); in DelInterfaceAddress() 170 WIFI_LOGI("DelInterfaceAddress successful"); in DelInterfaceAddress() 173 WIFI_LOGI("DelInterfaceAddress failed"); in DelInterfaceAddress()
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller_service_impl.cpp | 222 int32_t NetsysControllerServiceImpl::DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in DelInterfaceAddress() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl 228 return mockNetsysClient_.DelInterfaceAddress(ifName, ipAddr, prefixLength); in DelInterfaceAddress() 230 return netsysClient_.DelInterfaceAddress(ifName, ipAddr, prefixLength); in DelInterfaceAddress() 233 int32_t NetsysControllerServiceImpl::DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in DelInterfaceAddress() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl 239 return mockNetsysClient_.DelInterfaceAddress(ifName, ipAddr, prefixLength); in DelInterfaceAddress() 241 return netsysClient_.DelInterfaceAddress(ifName, ipAddr, prefixLength, netCapabilities); in DelInterfaceAddress()
|
H A D | netsys_controller.cpp | 362 int32_t NetsysController::DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in DelInterfaceAddress() function in OHOS::NetManagerStandard::NetsysController 373 return netsysService_->DelInterfaceAddress(ifName, ipAddr, prefixLength); in DelInterfaceAddress() 376 int32_t NetsysController::DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, in DelInterfaceAddress() function in OHOS::NetManagerStandard::NetsysController 387 return netsysService_->DelInterfaceAddress(ifName, ipAddr, prefixLength, netCapabilities); in DelInterfaceAddress()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | network.cpp | 157 NetsysController::GetInstance().DelInterfaceAddress(netLinkInfo_.ifaceName_, inetAddr.address_, in ReleaseBasicNetwork() 173 NetsysController::GetInstance().DelInterfaceAddress(netLinkInfo_.ifaceName_, inetAddr.address_, in ReleaseBasicNetwork() 199 NetsysController::GetInstance().DelInterfaceAddress(netLinkInfo_.ifaceName_, inetAddr.address_, prefixLen); in ReleaseVirtualNetwork() 307 NetsysController::GetInstance().DelInterfaceAddress(netLinkInfo_.ifaceName_, inetAddr.address_, prefixLen); in UpdateIpAddrs()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 101 virtual int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, 103 virtual int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString,
|
H A D | netsys_native_service_proxy.h | 67 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, 69 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString,
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 91 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, 93 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString,
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | net_manager_native.h | 90 int32_t DelInterfaceAddress(std::string ifName, std::string addrString, int32_t prefixLength); 91 int32_t DelInterfaceAddress(std::string ifName, std::string addrString, int32_t prefixLength,
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_stub_test.cpp | 177 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, 183 int32_t DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString,
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 193 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength) override; 204 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength,
|
H A D | i_netsys_controller_service.h | 219 virtual int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength) = 0; 230 virtual int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength,
|
H A D | netsys_controller.h | 203 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength); 214 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength,
|
H A D | mock_netsys_native_client.h | 44 constexpr const char *MOCK_INTERFACEDELADDRESS_API = "DelInterfaceAddress"; 205 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength);
|
H A D | netsys_native_client.h | 234 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength); 245 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength,
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | p2p_group_operating_state.cpp | 307 WifiNetAgent::GetInstance().DelInterfaceAddress(group.GetInterface(), in ProcessCmdRemoveGroup() 310 WifiNetAgent::GetInstance().DelInterfaceAddress(group.GetInterface(), in ProcessCmdRemoveGroup()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 360 int32_t NetsysNativeService::DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, in DelInterfaceAddress() function in OHOS::NetsysNative::NetsysNativeService 363 int32_t result = netsysService_->DelInterfaceAddress(interfaceName, addrString, prefixLength); in DelInterfaceAddress() 364 NETNATIVE_LOG_D("DelInterfaceAddress"); in DelInterfaceAddress() 368 int32_t NetsysNativeService::DelInterfaceAddress(const std::string &interfaceName, const std::string &addrString, in DelInterfaceAddress() function in OHOS::NetsysNative::NetsysNativeService 371 int32_t result = netsysService_->DelInterfaceAddress(interfaceName, addrString, prefixLength, netCapabilities); in DelInterfaceAddress() 372 NETNATIVE_LOG_D("DelInterfaceAddress"); in DelInterfaceAddress()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | net_manager_native.cpp | 166 int32_t NetManagerNative::DelInterfaceAddress(std::string ifName, std::string addrString, int32_t prefixLength) in DelInterfaceAddress() function in OHOS::nmd::NetManagerNative 171 int32_t NetManagerNative::DelInterfaceAddress(std::string ifName, std::string addrString, int32_t prefixLength, in DelInterfaceAddress() function in OHOS::nmd::NetManagerNative
|
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_ip_manager.cpp | 211 ret = OHOS::NetManagerStandard::NetConnClient::GetInstance().DelInterfaceAddress(interface, ipString, prefixLength); in DeleteInterfaceAddress()
|