Searched refs:GetInterfaceIndex (Results 1 - 17 of 17) sorted by relevance
/system/connectivity/shill/net/ |
H A D | mock_rtnl_handler.h | 49 MOCK_METHOD1(GetInterfaceIndex, int(const std::string& interface_name));
|
H A D | rtnl_handler_unittest.cc | 217 EXPECT_EQ(-1, RTNLHandler::GetInstance()->GetInterfaceIndex("")); 221 EXPECT_EQ(-1, RTNLHandler::GetInstance()->GetInterfaceIndex(name)); 235 EXPECT_EQ(-1, RTNLHandler::GetInstance()->GetInterfaceIndex("eth0")); 236 EXPECT_EQ(-1, RTNLHandler::GetInstance()->GetInterfaceIndex("wlan0")); 238 RTNLHandler::GetInstance()->GetInterfaceIndex("usb0"));
|
H A D | rtnl_handler.h | 111 virtual int GetInterfaceIndex(const std::string& interface_name);
|
H A D | rtnl_handler.cc | 417 int RTNLHandler::GetInterfaceIndex(const string& interface_name) { function in class:shill::RTNLHandler
|
/system/connectivity/shill/cellular/ |
H A D | modem_unittest.cc | 97 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(kLinkName)). 122 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(StrEq(kLinkName))). 194 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(StrEq(kLinkName))).WillOnce( 203 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(StrEq(kLinkName))) 255 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(_)).WillOnce(Return(-1)); 261 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(_)).WillOnce(Return(-2)); 267 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(_)).WillOnce(Return(1)); 272 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(_)).WillOnce(Return(2));
|
H A D | modem_1_unittest.cc | 92 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(kLinkName)).
|
H A D | modem.cc | 168 *interface_index = rtnl_handler_->GetInterfaceIndex(link_name_);
|
/system/connectivity/apmanager/ |
H A D | dhcp_server.cc | 69 rtnl_handler_->GetInterfaceIndex(interface_name_), server_address_); 92 int interface_index = rtnl_handler_->GetInterfaceIndex(interface_name_);
|
H A D | dhcp_server_unittest.cc | 128 EXPECT_CALL(*rtnl_handler_.get(), GetInterfaceIndex(kTestInterfaceName))
|
/system/connectivity/dhcp_client/ |
H A D | device_info.cc | 76 int if_index = rtnl_handler_->GetInterfaceIndex(interface_name);
|
H A D | device_info_unittest.cc | 88 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(kFakeDeviceName)) 133 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(kFakeDeviceName))
|
/system/extras/tests/net_test/ |
H A D | anycast_test.py | 82 self.ifindices[netid] = net_test.GetInterfaceIndex(iface)
|
H A D | net_test.py | 174 def GetInterfaceIndex(ifname): function
|
H A D | sock_diag.py | 284 iface = GetInterfaceIndex(iface) if iface else 0
|
H A D | multinetwork_base.py | 376 cls.ifindices[netid] = net_test.GetInterfaceIndex(iface)
|
/system/connectivity/shill/ |
H A D | eap_listener_unittest.cc | 74 int GetInterfaceIndex() { return listener_.interface_index_; } function in class:shill::EapListenerTest 135 EXPECT_EQ(kInterfaceIndex, GetInterfaceIndex());
|
H A D | arp_client_unittest.cc | 75 int GetInterfaceIndex() { return client_.interface_index_; } function in class:shill::ArpClientTest 151 EXPECT_EQ(kInterfaceIndex, GetInterfaceIndex());
|
Completed in 225 milliseconds