Searched refs:IsConnectedViaTether (Results 1 – 10 of 10) sorted by relevance
/system/connectivity/shill/ethernet/ |
D | mock_ethernet.h | 50 MOCK_CONST_METHOD0(IsConnectedViaTether, bool());
|
D | ethernet_service.cc | 150 return ethernet_->IsConnectedViaTether() ? kTetheringConfirmedState : in GetTethering()
|
D | ethernet_service_unittest.cc | 126 EXPECT_CALL(*ethernet_, IsConnectedViaTether()) in TEST_F()
|
/system/connectivity/shill/wifi/ |
D | mock_wifi.h | 63 MOCK_CONST_METHOD0(IsConnectedViaTether, bool());
|
D | wifi_service_unittest.cc | 2028 EXPECT_CALL(*wifi(), IsConnectedViaTether()).Times(0); in TEST_F() 2040 EXPECT_CALL(*wifi(), IsConnectedViaTether()) in TEST_F() 2057 EXPECT_CALL(*wifi(), IsConnectedViaTether()).WillOnce(Return(false)); in TEST_F() 2062 EXPECT_CALL(*wifi(), IsConnectedViaTether()).WillOnce(Return(true)); in TEST_F() 2067 EXPECT_CALL(*wifi(), IsConnectedViaTether()) in TEST_F() 2093 EXPECT_CALL(*wifi(), IsConnectedViaTether()).WillOnce(Return(true)); in TEST_F()
|
D | wifi_service.cc | 319 if (IsConnected() && wifi_ && wifi_->IsConnectedViaTether()) { in GetTethering()
|
/system/connectivity/shill/ |
D | ipconfig.h | 226 FRIEND_TEST(DeviceTest, IsConnectedViaTether);
|
D | device.h | 182 virtual bool IsConnectedViaTether() const; 382 FRIEND_TEST(DeviceTest, IsConnectedViaTether);
|
D | device_unittest.cc | 1240 TEST_F(DeviceTest, IsConnectedViaTether) { in TEST_F() argument 1241 EXPECT_FALSE(device_->IsConnectedViaTether()); in TEST_F() 1245 EXPECT_FALSE(device_->IsConnectedViaTether()); in TEST_F() 1255 EXPECT_TRUE(device_->IsConnectedViaTether()); in TEST_F() 1263 EXPECT_FALSE(device_->IsConnectedViaTether()); in TEST_F()
|
D | device.cc | 416 bool Device::IsConnectedViaTether() const { in IsConnectedViaTether() function in shill::Device
|