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