Home
last modified time | relevance | path

Searched refs:GetIndex (Results 1 – 12 of 12) sorted by relevance

/system/connectivity/shill/pppoe/
Dpppoe_service_unittest.cc149 EXPECT_CALL(device_info_, GetIndex(StrEq(kLinkName))).WillOnce(Return(0)); in TEST_F()
170 EXPECT_CALL(device_info_, GetIndex(StrEq(kLinkName))).WillOnce(Return(0)); in TEST_F()
Dpppoe_service.cc229 const int interface_index = device_info->GetIndex(interface_name); in OnPPPConnected()
/system/connectivity/shill/
Dmock_device_info.h49 MOCK_CONST_METHOD1(GetIndex, int(const std::string& interface_name));
Ddevice_info.h155 virtual int GetIndex(const std::string& interface_name) const;
Ddevice_info.cc137 RemoveInfo(GetIndex(device_name)); in AddDeviceToBlackList()
147 RemoveInfo(GetIndex(device_name)); in RemoveDeviceFromBlackList()
704 int DeviceInfo::GetIndex(const string& interface_name) const { in GetIndex() function in shill::DeviceInfo
Ddevice_info_unittest.cc338 EXPECT_EQ(-1, device_info_.GetIndex(kTestDeviceName)); in TEST_F()
349 EXPECT_EQ(kTestDeviceIndex, device_info_.GetIndex(kTestDeviceName)); in TEST_F()
362 EXPECT_EQ(-1, device_info_.GetIndex(kTestDeviceName)); in TEST_F()
/system/connectivity/shill/wimax/
Dwimax_provider_unittest.cc137 EXPECT_CALL(device_info_, GetIndex(GetTestLinkName(2))).WillOnce(Return(-1)); in TEST_F()
138 EXPECT_CALL(device_info_, GetIndex(GetTestLinkName(3))).WillOnce(Return(-1)); in TEST_F()
149 EXPECT_CALL(device_info_, GetIndex(GetTestLinkName(1))).WillOnce(Return(1)); in TEST_F()
163 EXPECT_CALL(device_info_, GetIndex(GetTestLinkName(1))).WillOnce(Return(-1)); in TEST_F()
169 EXPECT_CALL(device_info_, GetIndex(GetTestLinkName(1))).WillOnce(Return(1)); in TEST_F()
Dwimax_provider.cc340 int index = device_info->GetIndex(link_name); in CreateDevice()
/system/connectivity/shill/vpn/
Dl2tp_ipsec_driver_unittest.cc660 EXPECT_CALL(device_info_, GetIndex(kInterfaceName)) in TEST_F()
693 EXPECT_CALL(device_info_, GetIndex(kInterfaceName)) in TEST_F()
Dl2tp_ipsec_driver.cc462 int interface_index = device_info_->GetIndex(interface_name); in Notify()
/system/connectivity/shill/cellular/
Dcellular_unittest.cc1536 EXPECT_CALL(device_info_, GetIndex(kInterfaceName)) in TEST_F()
1551 EXPECT_CALL(device_info_, GetIndex(kInterfaceName)) in TEST_F()
1571 EXPECT_CALL(device_info_, GetIndex(kInterfaceName2)) in TEST_F()
Dcellular.cc1111 int interface_index = device_info->GetIndex(interface_name); in OnPPPConnected()