/system/connectivity/shill/ |
D | metrics_unittest.cc | 451 const int kInterfaceIndex = 1; in TEST_F() local 452 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F() 453 metrics_.NotifyDeviceConnectStarted(kInterfaceIndex, false); in TEST_F() 454 metrics_.NotifyDeviceConnectFinished(kInterfaceIndex); in TEST_F() 464 const int kInterfaceIndex = 1; in TEST_F() local 465 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F() 466 metrics_.NotifyDeviceDisableStarted(kInterfaceIndex); in TEST_F() 467 metrics_.NotifyDeviceDisableFinished(kInterfaceIndex); in TEST_F() 477 const int kInterfaceIndex = 1; in TEST_F() local 478 metrics_.RegisterDevice(kInterfaceIndex, Technology::kCellular); in TEST_F() [all …]
|
D | arp_client_unittest.cc | 45 ArpClientTest() : client_(kInterfaceIndex) {} in ArpClientTest() 66 static const int kInterfaceIndex; member in shill::ArpClientTest 90 const int ArpClientTest::kInterfaceIndex = 123; member in shill::ArpClientTest 144 IsLinkAddress(kInterfaceIndex, ByteString()), in StartClientWithFD() 151 EXPECT_EQ(kInterfaceIndex, GetInterfaceIndex()); in TEST_F() 273 IsLinkAddress(kInterfaceIndex, remote_mac), in TEST_F() 307 IsLinkAddress(kInterfaceIndex, broadcast_mac), in TEST_F()
|
D | eap_listener_unittest.cc | 45 EapListenerTest() : listener_(&dispatcher_, kInterfaceIndex) {} in EapListenerTest() 69 static const int kInterfaceIndex; member in shill::EapListenerTest 93 const int EapListenerTest::kInterfaceIndex = 123; member in shill::EapListenerTest 127 Bind(fd, IsEapLinkAddress(kInterfaceIndex), sizeof(sockaddr_ll))) in StartListenerWithFD() 135 EXPECT_EQ(kInterfaceIndex, GetInterfaceIndex()); in TEST_F()
|
/system/connectivity/apmanager/ |
D | dhcp_server_unittest.cc | 124 const int kInterfaceIndex = 1; in TEST_F() local 129 .WillOnce(Return(kInterfaceIndex)); in TEST_F() 131 AddInterfaceAddress(kInterfaceIndex, _, _, _)).Times(1); in TEST_F() 133 SetInterfaceFlags(kInterfaceIndex, IFF_UP, IFF_UP)).Times(1); in TEST_F()
|
/system/connectivity/shill/vpn/ |
D | third_party_vpn_driver_unittest.cc | 54 kInterfaceIndex, Technology::kVPN)) {} in ThirdPartyVpnDriverTest() 72 static const int kInterfaceIndex; member in shill::ThirdPartyVpnDriverTest 88 const int ThirdPartyVpnDriverTest::kInterfaceIndex = 123; member in shill::ThirdPartyVpnDriverTest 110 EXPECT_FALSE(driver_->ClaimInterface("eth1", kInterfaceIndex)); in TEST_F() 111 EXPECT_TRUE(driver_->ClaimInterface(interface, kInterfaceIndex)); in TEST_F() 116 EXPECT_EQ(kInterfaceIndex, driver_->device_->interface_index()); in TEST_F() 247 kInterfaceName, kInterfaceIndex, Technology::kVPN); in TEST_F()
|
D | l2tp_ipsec_driver_unittest.cc | 70 kInterfaceName, kInterfaceIndex)), in L2TPIPSecDriverTest() 90 static const int kInterfaceIndex; member in shill::L2TPIPSecDriverTest 211 const int L2TPIPSecDriverTest::kInterfaceIndex = 123; member in shill::L2TPIPSecDriverTest 661 .WillOnce(Return(kInterfaceIndex)); in TEST_F() 663 CreatePPPDevice(_, _, _, _, kInterfaceName, kInterfaceIndex)) in TEST_F() 694 .WillOnce(Return(kInterfaceIndex)); in TEST_F()
|
D | vpn_provider_unittest.cc | 195 const int kInterfaceIndex = 1; in TEST_F() local 205 kInterfaceIndex)); in TEST_F() 219 EXPECT_TRUE(provider_.OnDeviceInfoAvailable(kInterfaceName, kInterfaceIndex)); in TEST_F()
|
D | openvpn_driver_unittest.cc | 115 kInterfaceName, kInterfaceIndex, Technology::kVPN)), in OpenVPNDriverTest() 155 static const int kInterfaceIndex; member in shill::OpenVPNDriverTest 290 const int OpenVPNDriverTest::kInterfaceIndex = 123; member in shill::OpenVPNDriverTest 1133 kInterfaceIndex)); in TEST_F() 1148 EXPECT_TRUE(driver_->ClaimInterface(kInterfaceName, kInterfaceIndex)); in TEST_F() 1150 EXPECT_EQ(kInterfaceIndex, driver_->device_->interface_index()); in TEST_F() 1249 EXPECT_CALL(device_info_, DeleteInterface(kInterfaceIndex)); in TEST_F() 1259 EXPECT_CALL(device_info_, DeleteInterface(kInterfaceIndex)); in TEST_F() 1376 EXPECT_CALL(*device_info, DeleteInterface(kInterfaceIndex)) in TEST_F() 1380 OpenVPNDriver::OnOpenVPNExited(weak, kInterfaceIndex, kExitStatus); in TEST_F() [all …]
|
/system/connectivity/shill/ethernet/ |
D | ethernet_unittest.cc | 82 kInterfaceIndex)), in EthernetTest() 137 static const int kInterfaceIndex; member in shill::EthernetTest 151 SetInterfaceFlags(kInterfaceIndex, IFF_UP, IFF_UP)); in StartEthernet() 242 const int EthernetTest::kInterfaceIndex = 123; member in shill::EthernetTest
|
/system/connectivity/shill/net/ |
D | rtnl_message_unittest.cc | 752 const int kInterfaceIndex = 0x1234; in TEST_F() local 758 kInterfaceIndex, in TEST_F() 766 EXPECT_EQ(kInterfaceIndex, msg.interface_index()); in TEST_F()
|
/system/connectivity/shill/cellular/ |
D | cellular_unittest.cc | 384 const int kInterfaceIndex = -1; in FakeUpConnectedPPP() local 387 nullptr, kInterfaceName, kInterfaceIndex)); in FakeUpConnectedPPP() 1529 const int kInterfaceIndex = 1; in TEST_F() local 1534 nullptr, kInterfaceName, kInterfaceIndex); in TEST_F() 1537 .WillOnce(Return(kInterfaceIndex)); in TEST_F() 1540 CreatePPPDevice(_, _, _, _, kInterfaceName, kInterfaceIndex)) in TEST_F() 1552 .WillOnce(Return(kInterfaceIndex)); in TEST_F()
|
/system/connectivity/shill/wifi/ |
D | wifi_unittest.cc | 136 const int kInterfaceIndex = 1234; variable 483 manager(), "wifi", "", kInterfaceIndex)) { in WiFiPropertyTest() 586 kDeviceName, kDeviceAddress, kInterfaceIndex)), in WiFiObjectTest()
|