Lines Matching refs:current_service_

292   current_service_ = nullptr;            // breaks a reference cycle  in Stop()
320 (current_service_.get() && current_service_->IsConnecting())) { in Scan()
519 CHECK(current_service_.get() != pending_service_.get()); in ConnectTo()
533 if (service != current_service_ && service != pending_service_) { in DisconnectFromIfActive()
548 if (service != current_service_ && service != pending_service_) { in DisconnectFrom()
568 if (!pending_service_ && service != current_service_) { in DisconnectFrom()
593 if (current_service_ == selected_service()) { in DisconnectFrom()
596 current_service_ = nullptr; in DisconnectFrom()
622 current_service_ = nullptr; in DisconnectFrom()
625 CHECK(current_service_ == nullptr || in DisconnectFrom()
626 current_service_.get() != pending_service_.get()); in DisconnectFrom()
663 return !current_service_ && !pending_service_; in IsIdle()
767 if (!current_service_ || !current_service_->roam_threshold_db_set()) { in SetRoamThreshold()
837 if (current_service_ || selected_service() != pending_service_) { in CurrentBSSChanged()
838 SelectService(current_service_); in CurrentBSSChanged()
843 CHECK(current_service_.get() != pending_service_.get() || in CurrentBSSChanged()
844 current_service_.get() == nullptr); in CurrentBSSChanged()
848 if ((!current_service_ || !current_service_->HasRecentConnectionIssues()) && in CurrentBSSChanged()
875 current_service_.get() ? current_service_.get() : pending_service_.get(); in HandleDisconnect()
887 if (affected_service == current_service_.get() && pending_service_.get()) { in HandleDisconnect()
896 current_service_ = nullptr; in HandleDisconnect()
1024 if (service.get() != current_service_.get()) { in HandleRoam()
1031 << (current_service_ ? in HandleRoam()
1032 current_service_->unique_name() : in HandleRoam()
1050 current_service_ = service; in HandleRoam()
1055 if (current_service_->roam_threshold_db_set()) { in HandleRoam()
1057 current_service_->roam_threshold_db()); in HandleRoam()
1067 if (service.get() != current_service_.get()) { in HandleRoam()
1072 << (current_service_.get() ? in HandleRoam()
1074 current_service_->unique_name().c_str()) : in HandleRoam()
1079 current_service_ = service; in HandleRoam()
1084 if (!current_service_->IsConnecting()) { in HandleRoam()
1085 current_service_->SetState(Service::kStateAssociating); in HandleRoam()
1313 if (!current_service_) { in CertificationTask()
1322 current_service_->AddEAPCertification(subject, depth); in CertificationTask()
1327 if (!current_service_) { in EAPEventTask()
1336 const string& pin = current_service_->eap()->pin(); in EAPEventTask()
1338 string rpcid = FindNetworkRpcidForService(current_service_.get(), in EAPEventTask()
1352 current_service_->DisconnectWithFailure(failure, &unused_error, __func__); in EAPEventTask()
1465 (current_service_.get() && current_service_->IsConnecting())) { in ScanTask()
1604 pending_service_.get() ? pending_service_.get() : current_service_.get(); in StateChanged()
1664 affected_service == current_service_ && in StateChanged()
1757 if (current_service_->unreliable()) { in OnLinkMonitorFailure()
1779 SetHT40EnableForService(current_service_.get(), false); in OnUnreliableLink()
1913 if (current_service_) { in OnAfterResume()
1914 SetHT40EnableForService(current_service_.get(), true); in OnAfterResume()
2009 if (current_service_ && in OnConnected()
2010 current_service_->IsSecurityMatch(kSecurityWep)) { in OnConnected()
2014 current_service_->ResetSuspectedCredentialFailures(); in OnConnected()
2020 if (!current_service_) { in OnIPConfigFailure()
2025 if (current_service_->IsSecurityMatch(kSecurityWep) && in OnIPConfigFailure()
2027 current_service_->AddSuspectedCredentialFailure()) { in OnIPConfigFailure()
2033 current_service_->DisconnectWithFailure(Service::kFailureBadPassphrase, in OnIPConfigFailure()
2097 if (current_service_) { in ScanTimerHandler()
2099 << current_service_->unique_name(); in ScanTimerHandler()
2200 CHECK(current_service_); in ReconnectTimeoutHandler()
2201 current_service_->SetFailure(Service::kFailureConnect); in ReconnectTimeoutHandler()
2202 DisconnectFrom(current_service_.get()); in ReconnectTimeoutHandler()
2954 return (current_service_ && current_service_->IsConnected()); in IsConnectedToCurrentService()