Lines Matching full:endpoints
20 auto& endpoints = std::get<endpointsPos>(iface->second); in updateEndpointsOnDbus() local
26 if (endpoints.empty()) in updateEndpointsOnDbus()
33 i->set_property("endpoints", endpoints); in updateEndpointsOnDbus()
36 else if (!endpoints.empty()) in updateEndpointsOnDbus()
39 i->register_property("endpoints", endpoints); in updateEndpointsOnDbus()
43 if (endpoints.empty()) in updateEndpointsOnDbus()
65 auto& endpoints = std::get<endpointsPos>(iface->second); in scheduleUpdateEndpointsOnDbus() local
67 if (endpoints.size() > endpointsCountTimerThreshold) in scheduleUpdateEndpointsOnDbus()
92 // Use associationOwners to find the association paths and endpoints in removeAssociation()
94 // these endpoints from the actual association D-Bus objects, and if in removeAssociation()
95 // the endpoints property is then empty, the whole association object in removeAssociation()
108 // Find the association paths and endpoints owned by this object in removeAssociation()
181 // Compare the new endpoints versus the original endpoints, and in checkAssociationEndpointRemoves()
187 // was there previously, and if not, remove all of its endpoints in checkAssociationEndpointRemoves()
188 // from the D-Bus endpoints property which will cause the whole in checkAssociationEndpointRemoves()
189 // association path to be removed if no endpoints remain. in checkAssociationEndpointRemoves()
198 // The association is still there. Check if the endpoints in checkAssociationEndpointRemoves()
227 auto& endpoints = std::get<endpointsPos>(iface); in addEndpointsToAssocIfaces() local
229 // Only add new endpoints in addEndpointsToAssocIfaces()
232 if (std::find(endpoints.begin(), endpoints.end(), e) == endpoints.end()) in addEndpointsToAssocIfaces()
234 endpoints.push_back(e); in addEndpointsToAssocIfaces()
284 // Check for endpoints being removed instead of added in associationChanged()
331 auto& endpoints = p->second; in addPendingAssociation() local
333 std::find_if(endpoints.begin(), endpoints.end(), in addPendingAssociation()
338 if (e == endpoints.end()) in addPendingAssociation()
340 endpoints.emplace_back(owner, std::move(assoc)); in addPendingAssociation()
380 boost::container::flat_set<std::string> endpoints{endpoint}; in addSingleAssociation() local
382 addEndpointsToAssocIfaces(io, server, assocPath, endpoints, assocMaps); in addSingleAssociation()
499 for (const auto& [assocPath, endpoints] : assocs) in findAssociations()
501 if (std::find(endpoints.begin(), endpoints.end(), in findAssociations()
502 endpointPath) != endpoints.end()) in findAssociations()
549 * otherwise just update the D-Bus endpoints property.
564 auto& endpoints = std::get<endpointsPos>(assoc->second); in removeAssociationIfacesEntry() local
565 auto e = std::find(endpoints.begin(), endpoints.end(), endpointPath); in removeAssociationIfacesEntry()
566 if (e != endpoints.end()) in removeAssociationIfacesEntry()
568 endpoints.erase(e); in removeAssociationIfacesEntry()