Home
last modified time | relevance | path

Searched refs:services_ (Results 1 – 21 of 21) sorted by relevance

/system/connectivity/dhcp_client/
Dmanager.cc37 services_.push_back(service); in StartService()
42 for (auto it = services_.begin(); it != services_.end(); ++it) { in StopService()
44 services_.erase(it); in StopService()
Dmanager.h43 std::vector<scoped_refptr<Service>> services_; variable
/system/connectivity/shill/vpn/
Dvpn_provider_unittest.cc76 provider_.services_.push_back(service); in AddService()
80 return provider_.services_[idx]; in GetServiceAt()
84 return provider_.services_.size(); in GetServiceCount()
201 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
210 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
216 provider_.services_.push_back(new VPNService(&control_, nullptr, &metrics_, in TEST_F()
220 provider_.services_.clear(); in TEST_F()
231 provider_.services_.push_back(service0.get()); in TEST_F()
232 provider_.services_.push_back(service1.get()); in TEST_F()
233 provider_.services_.push_back(service2.get()); in TEST_F()
[all …]
Dvpn_provider.cc175 for (const auto& service : services_) { in OnDeviceInfoAvailable()
185 const auto it = std::find(services_.begin(), services_.end(), service); in RemoveService()
186 if (it != services_.end()) { in RemoveService()
187 services_.erase(it); in RemoveService()
285 services_.push_back(service); in CreateService()
295 for (const auto& service : services_) { in FindService()
341 for (const auto& service : services_) { in HasActiveService()
350 for (const auto& service : services_) { in DisconnectAll()
Dvpn_provider.h132 std::vector<VPNServiceRefPtr> services_; variable
Dvpn_service_unittest.cc232 provider->services_.push_back(service_); in TEST_F()
236 EXPECT_TRUE(provider->services_.empty()); in TEST_F()
/system/connectivity/shill/wimax/
Dwimax_provider_unittest.cc246 provider_.services_[service->GetStorageIdentifier()] = service; in TEST_F()
275 provider_.services_[services[i]->GetStorageIdentifier()] = services[i]; in TEST_F()
302 provider_.services_[services[i]->GetStorageIdentifier()] = services[i]; in TEST_F()
307 EXPECT_TRUE(provider_.services_.empty()); in TEST_F()
324 provider_.services_[services[i]->GetStorageIdentifier()] = services[i]; in TEST_F()
334 EXPECT_EQ(3, provider_.services_.size()); in TEST_F()
335 EXPECT_FALSE(ContainsKey(provider_.services_, in TEST_F()
371 provider_.services_[service0->GetStorageIdentifier()] = service0; in TEST_F()
372 provider_.services_[service1->GetStorageIdentifier()] = service1; in TEST_F()
393 EXPECT_TRUE(provider_.services_.empty()); in TEST_F()
[all …]
Dwimax_provider.cc153 services_.erase(service->GetStorageIdentifier()); in OnServiceUnloaded()
421 services_.find(storage_id); in FindService()
422 if (find_it == services_.end()) { in FindService()
440 services_[service->GetStorageIdentifier()] = service; in GetUniqueService()
466 for (const auto& entry : services_) { in StartLiveServices()
481 for (map<string, WiMaxServiceRefPtr>::iterator it = services_.begin(); in StopDeadServices()
482 it != services_.end(); ) { in StopDeadServices()
496 services_.erase(it++); in StopDeadServices()
507 while (!services_.empty()) { in DestroyAllServices()
509 WiMaxServiceRefPtr service = services_.begin()->second; in DestroyAllServices()
[all …]
Dwimax_provider.h171 std::map<std::string, WiMaxServiceRefPtr> services_; variable
/system/connectivity/shill/
Dmanager.cc308 for (const auto& service : services_) { in Stop()
483 for (ServiceRefPtr& service : services_) { in PushProfileInternal()
543 for (auto it = services_.begin(); it != services_.end();) { in PopProfileInternal()
824 auto service_it = std::find(services_.begin(), services_.end(), service); in RemoveService()
825 CHECK(service_it != services_.end()); in RemoveService()
835 for (auto it = services_.begin(); it != services_.end();) { in HandleProfileEntryDeletion()
869 for (const auto& service : services_) { in GetServiceWithStorageIdentifier()
920 for (const auto& service : services_) { in GetServiceWithGUID()
938 if (services_.empty() || !services_[0]->connection().get()) { in GetDefaultService()
942 return services_[0]; in GetDefaultService()
[all …]
Dmanager_unittest.cc525 return (svc0.get() == manager()->services_[0].get() && in ServiceOrderIs()
526 svc1.get() == manager()->services_[1].get()); in ServiceOrderIs()
1438 ASSERT_EQ(4, manager()->services_.size()); in TEST_F()
1481 EXPECT_EQ(2, manager()->services_.size()); in TEST_F()
1482 EXPECT_EQ(s_will_not_remove0.get(), manager()->services_[0].get()); in TEST_F()
1483 EXPECT_EQ(s_will_not_remove1.get(), manager()->services_[1].get()); in TEST_F()
1521 ASSERT_EQ(4, manager()->services_.size()); in TEST_F()
1562 EXPECT_EQ(2, manager()->services_.size()); in TEST_F()
1563 EXPECT_EQ(s_will_not_remove0.get(), manager()->services_[0].get()); in TEST_F()
1564 EXPECT_EQ(s_will_not_remove1.get(), manager()->services_[1].get()); in TEST_F()
Dmanager.h825 std::vector<ServiceRefPtr> services_; variable
/system/connectivity/apmanager/
Dmanager.cc54 services_.push_back(service); in CreateService()
60 for (auto it = services_.begin(); it != services_.end(); ++it) { in RemoveService()
62 services_.erase(it); in RemoveService()
Dmanager.h100 std::vector<scoped_refptr<Service>> services_; variable
/system/core/init/
Dservice.cpp631 services_.emplace_back(std::move(service)); in AddService()
685 services_.push_back(std::move(svc_p)); in MakeExecOneshotService()
691 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByName()
695 if (svc != services_.end()) { in FindServiceByName()
702 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByPid()
706 if (svc != services_.end()) { in FindServiceByPid()
713 auto svc = std::find_if(services_.begin(), services_.end(), in FindServiceByKeychord()
718 if (svc != services_.end()) { in FindServiceByKeychord()
725 for (const auto& s : services_) { in ForEachService()
732 for (const auto& s : services_) { in ForEachServiceInClass()
[all …]
Dservice.h187 std::vector<std::unique_ptr<Service>> services_; variable
/system/connectivity/shill/wifi/
Dwifi_provider.cc108 while (!services_.empty()) { in Stop()
109 WiFiServiceRefPtr service = services_.back(); in Stop()
467 services_.push_back(service); in AddService()
475 for (const auto& service : services_) { in FindService()
487 for (const auto& service : services_) { in GetHiddenSSIDList()
498 it = std::find(services_.begin(), services_.end(), service); in ForgetService()
499 if (it == services_.end()) { in ForgetService()
503 services_.erase(it); in ForgetService()
510 services_.begin(), services_.end(), in ReportRememberedNetworkCount()
526 services_.begin(), services_.end(), in ReportServiceSourceMetrics()
[all …]
Dwifi_provider.h252 std::vector<WiFiServiceRefPtr> services_; variable
Dwifi_provider_unittest.cc206 return provider_.services_; in GetServices()
342 provider_.services_.push_back(service); in AddMockService()
/system/weaved/buffet/
Dmanager.cc186 for (const auto& pair : services_) { in ~Manager()
463 services_.emplace(client, service); in CreateServicesForClients()
475 services_.erase(client); in OnClientDisconnected()
Dmanager.h125 android::sp<BinderWeaveService>> services_; variable