Lines Matching refs:affected_service
874 WiFiService* affected_service = in HandleDisconnect() local
877 if (!affected_service) { in HandleDisconnect()
885 << affected_service->unique_name(); in HandleDisconnect()
887 if (affected_service == current_service_.get() && pending_service_.get()) { in HandleDisconnect()
890 affected_service->SetState(Service::kStateIdle); in HandleDisconnect()
893 ServiceDisconnected(affected_service); in HandleDisconnect()
898 if (affected_service == selected_service()) { in HandleDisconnect()
904 if (!DisableNetworkForService(affected_service, &error)) { in HandleDisconnect()
908 << affected_service->unique_name() << ", " in HandleDisconnect()
912 << "for service " << affected_service->unique_name() << "."; in HandleDisconnect()
916 metrics()->NotifySignalAtDisconnect(*affected_service, in HandleDisconnect()
917 affected_service->SignalLevel()); in HandleDisconnect()
918 affected_service->NotifyCurrentEndpoint(nullptr); in HandleDisconnect()
919 metrics()->NotifyServiceDisconnect(*affected_service); in HandleDisconnect()
921 if (affected_service == pending_service_.get()) { in HandleDisconnect()
948 void WiFi::ServiceDisconnected(WiFiServiceRefPtr affected_service) { in ServiceDisconnected() argument
949 SLOG(this, 2) << __func__ << " service " << affected_service->unique_name(); in ServiceDisconnected()
953 if (!affected_service->IsInFailState() && in ServiceDisconnected()
954 !affected_service->explicitly_disconnected() && in ServiceDisconnected()
955 !affected_service->expecting_disconnect()) { in ServiceDisconnected()
958 if (SuspectCredentials(affected_service, &failure)) { in ServiceDisconnected()
961 affected_service->SetFailure(failure); in ServiceDisconnected()
969 affected_service->SetFailure(Service::kFailureOutOfRange); in ServiceDisconnected()
975 affected_service->SetState(Service::kStateIdle); in ServiceDisconnected()
1603 WiFiService* affected_service = in StateChanged() local
1605 if (!affected_service) { in StateChanged()
1612 if (affected_service->IsConnected()) { in StateChanged()
1629 provider_->IncrementConnectCount(affected_service->frequency()); in StateChanged()
1631 GetServiceLeaseName(*affected_service))) { in StateChanged()
1633 affected_service->SetState(Service::kStateConfiguring); in StateChanged()
1634 if (affected_service->IsSecurityMatch(kSecurityWep)) { in StateChanged()
1641 affected_service->ResetSuspectedCredentialFailures(); in StateChanged()
1649 affected_service->SetState(Service::kStateAssociating); in StateChanged()
1657 affected_service->SetState(Service::kStateAssociating); in StateChanged()
1664 affected_service == current_service_ && in StateChanged()
1665 affected_service->IsConnected()) { in StateChanged()