Lines Matching refs:wifi

125         nullptr, wifi(), ssid, bssid, WPASupplicant::kNetworkModeInfrastructure,  in MakeEndpoint()
131 nullptr, wifi(), ssid, bssid, WPASupplicant::kNetworkModeInfrastructure, in MakeOpenEndpoint()
134 WiFiEndpoint* MakeOpenEndpointWithWiFi(WiFiRefPtr wifi, in MakeOpenEndpointWithWiFi() argument
140 nullptr, wifi, ssid, bssid, WPASupplicant::kNetworkModeInfrastructure, in MakeOpenEndpointWithWiFi()
157 void SetWiFi(WiFiServiceRefPtr service, WiFiRefPtr wifi) { in SetWiFi() argument
158 service->SetWiFi(wifi); // Has side-effects. in SetWiFi()
160 void SetWiFiForService(WiFiServiceRefPtr service, WiFiRefPtr wifi) { in SetWiFiForService() argument
161 service->wifi_ = wifi; in SetWiFiForService()
208 scoped_refptr<MockWiFi> wifi() { return wifi_; } in wifi() function in shill::WiFiServiceTest
503 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
531 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
541 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
556 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
558 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
562 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())).Times(0); in TEST_F()
573 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
578 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
591 EXPECT_CALL(*wifi(), ConnectTo(service.get())); in TEST_F()
603 EXPECT_CALL(*wifi(), ConnectTo(service.get())); in TEST_F()
622 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
637 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
638 SetWiFiForService(wifi_service, wifi()); in TEST_F()
654 SetWiFiForService(wifi_service, wifi()); in TEST_F()
655 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
671 SetWiFiForService(wifi_service, wifi()); in TEST_F()
672 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
686 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
709 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
715 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
721 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
727 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
733 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
747 EXPECT_CALL(*wifi(), ConnectTo(wifi_service.get())); in TEST_F()
778 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
780 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
787 EXPECT_CALL(*wifi(), ClearCachedCredentials(_)).Times(0); in TEST_F()
789 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
796 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
798 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
805 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
807 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
814 EXPECT_CALL(*wifi(), ClearCachedCredentials(_)).Times(0); in TEST_F()
816 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
825 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())).Times(0); in TEST_F()
828 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
840 EXPECT_CALL(*wifi(), ClearCachedCredentials(eap_wifi_service.get())); in TEST_F()
843 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
870 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
873 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
879 EXPECT_CALL(*wifi(), ClearCachedCredentials(_)).Times(0); in TEST_F()
882 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
888 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
891 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
900 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
903 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
909 EXPECT_CALL(*wifi(), ClearCachedCredentials(_)).Times(0); in TEST_F()
912 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
918 EXPECT_CALL(*wifi(), ClearCachedCredentials(wifi_service.get())); in TEST_F()
921 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
1091 EXPECT_CALL(*wifi(), ClearCachedCredentials(_)).Times(1); in TEST_F()
1097 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
1106 EXPECT_CALL(*wifi(), ClearCachedCredentials(_)).Times(0); in TEST_F()
1222 EXPECT_CALL(*wifi(), DisconnectFromIfActive(service.get())).Times(1); in TEST_F()
1229 EXPECT_CALL(*wifi(), DisconnectFrom(_)).Times(0); in TEST_F()
1237 EXPECT_CALL(*wifi(), DisconnectFrom(_)).Times(0); in TEST_F()
1250 EXPECT_CALL(*wifi(), ClearCachedCredentials(service.get())).Times(1); in TEST_F()
1251 EXPECT_CALL(*wifi(), DisconnectFromIfActive(service.get())).Times(1); in TEST_F()
1257 EXPECT_CALL(*wifi(), ClearCachedCredentials(service.get())).Times(1); in TEST_F()
1258 EXPECT_CALL(*wifi(), DisconnectFromIfActive(service.get())).Times(1); in TEST_F()
1367 EXPECT_CALL(*wifi(), IsIdle()) in TEST_F()
1377 EXPECT_CALL(*wifi(), IsIdle()) in TEST_F()
1386 EXPECT_CALL(*wifi(), IsIdle()) in TEST_F()
1397 EXPECT_CALL(*wifi(), ConnectTo(_)).Times(0); in TEST_F()
1404 EXPECT_CALL(*wifi(), IsIdle()) in TEST_F()
1407 EXPECT_CALL(*wifi(), ConnectTo(_)); in TEST_F()
1958 EXPECT_CALL(*wifi(), DestroyIPConfigLease(service->GetStorageIdentifier())). in TEST_F()
1971 SetWiFi(service, wifi()); in TEST_F()
2028 EXPECT_CALL(*wifi(), IsConnectedViaTether()).Times(0); in TEST_F()
2029 SetWiFiForService(service, wifi()); in TEST_F()
2031 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
2040 EXPECT_CALL(*wifi(), IsConnectedViaTether()) in TEST_F()
2045 Mock::VerifyAndClearExpectations(wifi().get()); 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()
2066 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
2067 EXPECT_CALL(*wifi(), IsConnectedViaTether()) in TEST_F()
2092 Mock::VerifyAndClearExpectations(wifi().get()); in TEST_F()
2093 EXPECT_CALL(*wifi(), IsConnectedViaTether()).WillOnce(Return(true)); in TEST_F()
2149 SetWiFiForService(service, wifi()); in TEST_F()
2195 SetWiFiForService(service, wifi()); in TEST_F()