Home
last modified time | relevance | path

Searched refs:IsConnectedViaTether (Results 1 – 10 of 10) sorted by relevance

/system/connectivity/shill/ethernet/
Dmock_ethernet.h50 MOCK_CONST_METHOD0(IsConnectedViaTether, bool());
Dethernet_service.cc150 return ethernet_->IsConnectedViaTether() ? kTetheringConfirmedState : in GetTethering()
Dethernet_service_unittest.cc126 EXPECT_CALL(*ethernet_, IsConnectedViaTether()) in TEST_F()
/system/connectivity/shill/wifi/
Dmock_wifi.h63 MOCK_CONST_METHOD0(IsConnectedViaTether, bool());
Dwifi_service_unittest.cc2028 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()
Dwifi_service.cc319 if (IsConnected() && wifi_ && wifi_->IsConnectedViaTether()) { in GetTethering()
/system/connectivity/shill/
Dipconfig.h226 FRIEND_TEST(DeviceTest, IsConnectedViaTether);
Ddevice.h182 virtual bool IsConnectedViaTether() const;
382 FRIEND_TEST(DeviceTest, IsConnectedViaTether);
Ddevice_unittest.cc1240 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()
Ddevice.cc416 bool Device::IsConnectedViaTether() const { in IsConnectedViaTether() function in shill::Device