Lines Matching refs:pending_service_
293 pending_service_ = nullptr; // breaks a reference cycle in Stop()
313 << (pending_service_.get() ? "is set." : "is not set."); in Stop()
461 if (pending_service_ && pending_service_ == service) { in ConnectTo()
469 if (pending_service_ && pending_service_ != service) { in ConnectTo()
485 pending_service_->set_expecting_disconnect(true); in ConnectTo()
486 DisconnectFrom(pending_service_.get()); in ConnectTo()
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()
558 if (pending_service_ && service != pending_service_) { in DisconnectFrom()
568 if (!pending_service_ && service != current_service_) { in DisconnectFrom()
578 if (pending_service_) { in DisconnectFrom()
582 ServiceDisconnected(pending_service_); in DisconnectFrom()
626 current_service_.get() != pending_service_.get()); in DisconnectFrom()
663 return !current_service_ && !pending_service_; in IsIdle()
676 if (service == pending_service_) { in ClearCachedCredentials()
678 DisconnectFrom(pending_service_.get()); in ClearCachedCredentials()
837 if (current_service_ || selected_service() != pending_service_) { in CurrentBSSChanged()
843 CHECK(current_service_.get() != pending_service_.get() || in CurrentBSSChanged()
849 (!pending_service_ || !pending_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()
921 if (affected_service == pending_service_.get()) { in HandleDisconnect()
926 } else if (pending_service_.get()) { in HandleDisconnect()
939 << pending_service_->unique_name() in HandleDisconnect()
1004 if (pending_service_.get() && in HandleRoam()
1005 service.get() != pending_service_.get()) { in HandleRoam()
1020 << pending_service_->unique_name(); in HandleRoam()
1029 << pending_service_->unique_name() in HandleRoam()
1039 DisconnectFrom(pending_service_.get()); in HandleRoam()
1044 if (pending_service_.get()) { in HandleRoam()
1464 if ((pending_service_.get() && pending_service_->IsConnecting()) || in ScanTask()
1604 pending_service_.get() ? pending_service_.get() : current_service_.get(); in StateChanged()
2101 if (pending_service_) { in ScanTimerHandler()
2103 << pending_service_->unique_name(); in ScanTimerHandler()
2147 if (pending_service_) { in SetPendingService()
2151 pending_service_ = service; in SetPendingService()
2157 CHECK(pending_service_); in PendingTimeoutHandler()
2159 WiFiServiceRefPtr pending_service = pending_service_; in PendingTimeoutHandler()
2160 pending_service_->DisconnectWithFailure( in PendingTimeoutHandler()
2168 if (pending_service_) { in PendingTimeoutHandler()
2169 CHECK(!pending_service_->HasEndpoints()); in PendingTimeoutHandler()
2171 DisconnectFrom(pending_service_.get()); in PendingTimeoutHandler()