/system/connectivity/dhcp_client/ |
D | manager.cc | 37 services_.push_back(service); in StartService() 42 for (auto it = services_.begin(); it != services_.end(); ++it) { in StopService() 44 services_.erase(it); in StopService()
|
D | manager.h | 43 std::vector<scoped_refptr<Service>> services_; variable
|
/system/connectivity/shill/vpn/ |
D | vpn_provider_unittest.cc | 76 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 …]
|
D | vpn_provider.cc | 175 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()
|
D | vpn_provider.h | 132 std::vector<VPNServiceRefPtr> services_; variable
|
D | vpn_service_unittest.cc | 232 provider->services_.push_back(service_); in TEST_F() 236 EXPECT_TRUE(provider->services_.empty()); in TEST_F()
|
/system/connectivity/shill/wimax/ |
D | wimax_provider_unittest.cc | 246 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 …]
|
D | wimax_provider.cc | 153 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 …]
|
D | wimax_provider.h | 171 std::map<std::string, WiMaxServiceRefPtr> services_; variable
|
/system/connectivity/shill/ |
D | manager.cc | 308 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 …]
|
D | manager_unittest.cc | 525 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()
|
D | manager.h | 825 std::vector<ServiceRefPtr> services_; variable
|
/system/connectivity/apmanager/ |
D | manager.cc | 54 services_.push_back(service); in CreateService() 60 for (auto it = services_.begin(); it != services_.end(); ++it) { in RemoveService() 62 services_.erase(it); in RemoveService()
|
D | manager.h | 100 std::vector<scoped_refptr<Service>> services_; variable
|
/system/core/init/ |
D | service.cpp | 631 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 …]
|
D | service.h | 187 std::vector<std::unique_ptr<Service>> services_; variable
|
/system/connectivity/shill/wifi/ |
D | wifi_provider.cc | 108 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 …]
|
D | wifi_provider.h | 252 std::vector<WiFiServiceRefPtr> services_; variable
|
D | wifi_provider_unittest.cc | 206 return provider_.services_; in GetServices() 342 provider_.services_.push_back(service); in AddMockService()
|
/system/weaved/buffet/ |
D | manager.cc | 186 for (const auto& pair : services_) { in ~Manager() 463 services_.emplace(client, service); in CreateServicesForClients() 475 services_.erase(client); in OnClientDisconnected()
|
D | manager.h | 125 android::sp<BinderWeaveService>> services_; variable
|