Home
last modified time | relevance | path

Searched refs:DelInterfaceAddress (Results 1 - 25 of 51) sorted by relevance

123

/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_ip_manager_test.cpp135 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 Dnet_conn_client.h66 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 Dnet_conn_client.cpp67 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 Dnet_conn_client.h54 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength);
H A Dnet_conn_client.cpp89 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 Dethernet_lan_management.cpp89 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 Dwifi_net_agent.h95 bool DelInterfaceAddress(const std::string interface, const std::string ipAddress, int prefixLength);
H A Dwifi_net_agent.cpp166 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 Dnetsys_controller_service_impl.cpp222 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 Dnetsys_controller.cpp362 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 Dnetwork.cpp157 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 Di_netsys_service.h101 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 Dnetsys_native_service_proxy.h67 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 Dnetsys_native_service.h91 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 Dnet_manager_native.h90 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 Dnetsys_native_service_stub_test.cpp177 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 Dnetsys_controller_service_impl.h193 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 Di_netsys_controller_service.h219 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 Dnetsys_controller.h203 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 Dmock_netsys_native_client.h44 constexpr const char *MOCK_INTERFACEDELADDRESS_API = "DelInterfaceAddress";
205 int32_t DelInterfaceAddress(const std::string &ifName, const std::string &ipAddr, int32_t prefixLength);
H A Dnetsys_native_client.h234 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 Dp2p_group_operating_state.cpp307 WifiNetAgent::GetInstance().DelInterfaceAddress(group.GetInterface(), in ProcessCmdRemoveGroup()
310 WifiNetAgent::GetInstance().DelInterfaceAddress(group.GetInterface(), in ProcessCmdRemoveGroup()
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service.cpp360 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 Dnet_manager_native.cpp166 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 Dwifi_direct_ip_manager.cpp211 ret = OHOS::NetManagerStandard::NetConnClient::GetInstance().DelInterfaceAddress(interface, ipString, prefixLength); in DeleteInterfaceAddress()

Completed in 21 milliseconds

123