Home
last modified time | relevance | path

Searched refs:kLinkName (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/cellular/
Dmodem_unittest.cc55 const char kLinkName[] = "usb0"; variable
97 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(kLinkName)). in SetUp()
120 SetArgumentPointee<1>(string(kLinkName)), in TEST_F()
122 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(StrEq(kLinkName))). in TEST_F()
143 kLinkName, in TEST_F()
151 ConstructCellular(StrEq(kLinkName), in TEST_F()
161 modem_->OnDeviceInfoAvailable(kLinkName); in TEST_F()
173 modem_->OnDeviceInfoAvailable(kLinkName); in TEST_F()
192 SetArgumentPointee<1>(string(kLinkName)), in TEST_F()
194 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(StrEq(kLinkName))).WillOnce( in TEST_F()
[all …]
Dmodem_1_unittest.cc48 const char kLinkName[] = "usb0"; variable
92 EXPECT_CALL(rtnl_handler_, GetInterfaceIndex(kLinkName)). in SetUp()
113 std::make_tuple(kLinkName, MM_MODEM_PORT_TYPE_NET) }; in TEST_F()
/system/connectivity/shill/pppoe/
Dpppoe_service_unittest.cc144 static const char kLinkName[] = "ppp0"; in TEST_F() local
145 map<string, string> params = { {kPPPInterfaceName, kLinkName} }; in TEST_F()
147 &control_interface_, &dispatcher_, &metrics_, &manager_, kLinkName, 0); in TEST_F()
149 EXPECT_CALL(device_info_, GetIndex(StrEq(kLinkName))).WillOnce(Return(0)); in TEST_F()
157 EXPECT_CALL(manager_, IsDHCPv6EnabledForDevice(StrEq(kLinkName))) in TEST_F()
167 static const char kLinkName[] = "ppp0"; in TEST_F() local
170 EXPECT_CALL(device_info_, GetIndex(StrEq(kLinkName))).WillOnce(Return(0)); in TEST_F()
171 EXPECT_CALL(device_info_, RegisterDevice(LinkNamed(kLinkName))); in TEST_F()
179 {kPPPInterfaceName, kLinkName}, in TEST_F()