Lines Matching full:endpoints
22 auto& endpoints = std::get<endpointsPos>(iface->second); in updateEndpointsOnDbus() local
28 if (endpoints.empty()) in updateEndpointsOnDbus()
35 i->set_property("endpoints", endpoints); in updateEndpointsOnDbus()
38 else if (!endpoints.empty()) in updateEndpointsOnDbus()
41 i->register_property("endpoints", endpoints); in updateEndpointsOnDbus()
45 if (endpoints.empty()) in updateEndpointsOnDbus()
67 auto& endpoints = std::get<endpointsPos>(iface->second); in scheduleUpdateEndpointsOnDbus() local
69 if (endpoints.size() > endpointsCountTimerThreshold) in scheduleUpdateEndpointsOnDbus()
94 // Use associationOwners to find the association paths and endpoints in removeAssociation()
96 // these endpoints from the actual association D-Bus objects, and if in removeAssociation()
97 // the endpoints property is then empty, the whole association object in removeAssociation()
110 // Find the association paths and endpoints owned by this object in removeAssociation()
183 // Compare the new endpoints versus the original endpoints, and in checkAssociationEndpointRemoves()
189 // was there previously, and if not, remove all of its endpoints in checkAssociationEndpointRemoves()
190 // from the D-Bus endpoints property which will cause the whole in checkAssociationEndpointRemoves()
191 // association path to be removed if no endpoints remain. in checkAssociationEndpointRemoves()
200 // The association is still there. Check if the endpoints in checkAssociationEndpointRemoves()
229 auto& endpoints = std::get<endpointsPos>(iface); in addEndpointsToAssocIfaces() local
231 // Only add new endpoints in addEndpointsToAssocIfaces()
234 if (std::find(endpoints.begin(), endpoints.end(), e) == endpoints.end()) in addEndpointsToAssocIfaces()
236 endpoints.push_back(e); in addEndpointsToAssocIfaces()
286 // Check for endpoints being removed instead of added in associationChanged()
333 auto& endpoints = p->second; in addPendingAssociation() local
335 std::find_if(endpoints.begin(), endpoints.end(), in addPendingAssociation()
340 if (e == endpoints.end()) in addPendingAssociation()
342 endpoints.emplace_back(owner, std::move(assoc)); in addPendingAssociation()
382 boost::container::flat_set<std::string> endpoints{endpoint}; in addSingleAssociation() local
384 addEndpointsToAssocIfaces(io, server, assocPath, endpoints, assocMaps); in addSingleAssociation()
500 for (const auto& [assocPath, endpoints] : assocs) in findAssociations()
502 if (std::find(endpoints.begin(), endpoints.end(), in findAssociations()
503 endpointPath) != endpoints.end()) in findAssociations()
550 * otherwise just update the D-Bus endpoints property.
565 auto& endpoints = std::get<endpointsPos>(assoc->second); in removeAssociationIfacesEntry() local
566 auto e = std::find(endpoints.begin(), endpoints.end(), endpointPath); in removeAssociationIfacesEntry()
567 if (e != endpoints.end()) in removeAssociationIfacesEntry()
569 endpoints.erase(e); in removeAssociationIfacesEntry()