Home
last modified time | relevance | path

Searched refs:pending_service_ (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/shill/wimax/
Dwimax.cc109 if (pending_service_) { in Stop()
110 pending_service_->SetState(Service::kStateIdle); in Stop()
111 pending_service_ = nullptr; in Stop()
148 if (pending_service_) { in ConnectTo()
153 pending_service_->unique_name().c_str(), in ConnectTo()
158 pending_service_ = service; in ConnectTo()
182 if (pending_service_) { in DisconnectFrom()
188 pending_service_->unique_name().c_str(), in DisconnectFrom()
211 return !pending_service_ && !selected_service(); in IsIdle()
219 if (service == pending_service_) { in OnServiceStopped()
[all …]
Dwimax_unittest.cc79 device_->pending_service_ = nullptr; in TearDown()
110 device_->pending_service_ = service; in TEST_F()
120 EXPECT_FALSE(device_->pending_service_); in TEST_F()
129 device_->pending_service_ = service1; in TEST_F()
133 EXPECT_TRUE(device_->pending_service_); in TEST_F()
137 EXPECT_TRUE(device_->pending_service_); in TEST_F()
141 EXPECT_FALSE(device_->pending_service_); in TEST_F()
162 device_->pending_service_ = service; in TEST_F()
164 EXPECT_TRUE(device_->pending_service_); in TEST_F()
167 EXPECT_FALSE(device_->pending_service_); in TEST_F()
[all …]
Dwimax.h124 WiMaxServiceRefPtr pending_service_; variable
/system/connectivity/shill/wifi/
Dwifi.cc293 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()
[all …]
Dwifi.h640 WiFiServiceRefPtr pending_service_; variable
Dwifi_unittest.cc976 return wifi_->pending_service_; in GetPendingService()