Home
last modified time | relevance | path

Searched refs:IsAutoConnectable (Results 1 – 24 of 24) sorted by relevance

/system/connectivity/shill/cellular/
Dcellular_service_unittest.cc337 TEST_F(CellularServiceTest, IsAutoConnectable) { in TEST_F() argument
345 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
352 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
358 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
367 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
377 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
387 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
390 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
393 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
397 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
[all …]
Dcellular_service.h130 bool IsAutoConnectable(const char** reason) const override;
147 FRIEND_TEST(CellularServiceTest, IsAutoConnectable);
Dcellular_capability_cdma.h90 FRIEND_TEST(CellularServiceTest, IsAutoConnectable);
Dcellular_service.cc116 bool CellularService::IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::CellularService
137 return Service::IsAutoConnectable(reason); in IsAutoConnectable()
/system/connectivity/shill/ethernet/
Dethernet_service_unittest.cc141 TEST_F(EthernetServiceTest, IsAutoConnectable) { in TEST_F() argument
146 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
148 EXPECT_TRUE(service_->IsAutoConnectable(nullptr)); in TEST_F()
Dethernet_service.cc132 bool EthernetService::IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::EthernetService
133 if (!Service::IsAutoConnectable(reason)) { in IsAutoConnectable()
Dethernet_service.h57 bool IsAutoConnectable(const char** reason) const override;
/system/connectivity/shill/vpn/
Dvpn_service_unittest.cc105 bool IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::VPNServiceTest
106 return service_->IsAutoConnectable(reason); in IsAutoConnectable()
275 EXPECT_FALSE(IsAutoConnectable(&reason)); in TEST_F()
284 EXPECT_FALSE(IsAutoConnectable(&reason)); in TEST_F()
296 EXPECT_FALSE(IsAutoConnectable(&reason)); in TEST_F()
303 EXPECT_FALSE(IsAutoConnectable(&reason)); in TEST_F()
306 TEST_F(VPNServiceTest, IsAutoConnectable) { in TEST_F() argument
314 EXPECT_TRUE(IsAutoConnectable(&reason)); in TEST_F()
Dvpn_service.cc182 bool VPNService::IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::VPNService
183 if (!Service::IsAutoConnectable(reason)) { in IsAutoConnectable()
Dvpn_service.h63 bool IsAutoConnectable(const char** reason) const override;
/system/connectivity/shill/wimax/
Dwimax_service.h100 FRIEND_TEST(WiMaxServiceTest, IsAutoConnectable);
107 bool IsAutoConnectable(const char** reason) const override;
Dwimax_service_unittest.cc324 TEST_F(WiMaxServiceTest, IsAutoConnectable) { in TEST_F() argument
328 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
339 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
345 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
Dwimax_service.cc207 bool WiMaxService::IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::WiMaxService
208 if (!Service::IsAutoConnectable(reason)) { in IsAutoConnectable()
/system/connectivity/shill/
Dservice_unittest.cc990 TEST_F(ServiceTest, IsAutoConnectable) { in TEST_F() argument
998 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
1002 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
1008 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
1019 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
1023 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
1025 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
1029 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
1033 EXPECT_FALSE(service_->IsAutoConnectable(&reason)); in TEST_F()
1035 EXPECT_TRUE(service_->IsAutoConnectable(&reason)); in TEST_F()
[all …]
Dservice.h568 virtual bool IsAutoConnectable(const char** reason) const;
677 FRIEND_TEST(CellularServiceTest, IsAutoConnectable);
694 FRIEND_TEST(ServiceTest, IsAutoConnectable);
Ddevice.h364 FRIEND_TEST(CellularServiceTest, IsAutoConnectable);
Dservice.cc314 if (IsAutoConnectable(&reason)) { in AutoConnect()
1296 bool Service::IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::Service
Dmanager.h621 FRIEND_TEST(ServiceTest, IsAutoConnectable);
/system/connectivity/shill/wifi/
Dmock_wifi_service.h69 MOCK_CONST_METHOD1(IsAutoConnectable, bool(const char** reason));
Dwifi_service.h179 bool IsAutoConnectable(const char** reason) const override;
216 FRIEND_TEST(WiFiServiceTest, IsAutoConnectable);
Dwifi_service_unittest.cc1364 TEST_F(WiFiServiceTest, IsAutoConnectable) { in TEST_F() argument
1370 EXPECT_FALSE(service->IsAutoConnectable(&reason)); in TEST_F()
1380 EXPECT_TRUE(service->IsAutoConnectable(&reason)); in TEST_F()
1389 EXPECT_FALSE(service->IsAutoConnectable(&reason)); in TEST_F()
1396 EXPECT_FALSE(service->IsAutoConnectable(&reason)); in TEST_F()
1406 EXPECT_TRUE(service->IsAutoConnectable(&reason)); in TEST_F()
1414 EXPECT_FALSE(service->IsAutoConnectable(&reason)); in TEST_F()
Dwifi_service.cc193 bool WiFiService::IsAutoConnectable(const char** reason) const { in IsAutoConnectable() function in shill::WiFiService
194 if (!Service::IsAutoConnectable(reason)) { in IsAutoConnectable()
Dwifi_provider_unittest.cc1922 EXPECT_CALL(*service0, IsAutoConnectable(_)) in TEST_F()
1925 EXPECT_CALL(*service1, IsAutoConnectable(_)) in TEST_F()
1947 EXPECT_CALL(*service0, IsAutoConnectable(_)) in TEST_F()
1950 EXPECT_CALL(*service1, IsAutoConnectable(_)).WillRepeatedly(Return(true)); in TEST_F()
Dwifi_provider.cc817 if (service->auto_connect() && service->IsAutoConnectable(&reason)) { in NumAutoConnectableServices()