Lines Matching refs:HidlService
63 forEachExistingService([&] (const HidlService *) { in countExistingService() argument
70 void ServiceManager::forEachExistingService(std::function<bool(const HidlService *)> f) const { in forEachExistingService()
71 forEachServiceEntry([&] (const HidlService *service) { in forEachExistingService()
79 void ServiceManager::forEachExistingService(std::function<bool(HidlService *)> f) { in forEachExistingService()
80 forEachServiceEntry([&] (HidlService *service) { in forEachExistingService()
88 void ServiceManager::forEachServiceEntry(std::function<bool(const HidlService *)> f) const { in forEachServiceEntry()
100 void ServiceManager::forEachServiceEntry(std::function<bool(HidlService *)> f) { in forEachServiceEntry()
112 HidlService* ServiceManager::lookup(const std::string& fqName, const std::string& name) { in lookup()
120 HidlService *hidlService = ifaceMap.lookup(name); in lookup()
159 const HidlService *ServiceManager::PackageInterfaceMap::lookup( in lookup()
170 HidlService *ServiceManager::PackageInterfaceMap::lookup( in lookup()
173 return const_cast<HidlService*>( in lookup()
178 std::unique_ptr<HidlService> &&service) { in insertService()
200 const std::unique_ptr<HidlService> &service = instanceMapping.second; in addPackageListener()
239 const std::unique_ptr<HidlService> &service = servicePair.second; in removeServiceListener()
277 HidlService* hidlService = lookup(fqName, name); in get()
292 forEachExistingService([&] (HidlService *otherService) { in get()
361 const HidlService *hidlService = lookup(baseFqName, name); in addImpl()
384 const HidlService *hidlService = lookup(childFqName, name); in addImpl()
436 HidlService *hidlService = ifaceMap.lookup(name); in addImpl()
440 std::make_unique<HidlService>(fqName, name, service, callingContext.pid)); in addImpl()
486 forEachExistingService([&] (const HidlService *service) { in list()
514 const std::unique_ptr<HidlService> &service = serviceMapping.second; in listByInterface()
523 const std::unique_ptr<HidlService> &service = serviceMapping.second; in listByInterface()
556 HidlService *service = ifaceMap.lookup(name); in registerForNotifications()
565 auto adding = std::make_unique<HidlService>(fqName, name); in registerForNotifications()
602 HidlService *service = ifaceMap.lookup(name); in unregisterForNotifications()
626 HidlService* registered = lookup(fqName, name); in registerClientCallback()
667 forEachExistingService([&] (HidlService *service) { in unregisterClientCallback()
678 forEachServiceEntry([&] (HidlService *service) { in handleClientCallbacks()
725 HidlService* registered = lookup(fqName, name); in tryUnregister()
773 forEachServiceEntry([&] (const HidlService *service) { in debugDump()
818 HidlService *service = ifaceMap.lookup(name); in registerPassthroughClient()
821 auto adding = std::make_unique<HidlService>(fqName, name); in registerPassthroughClient()
838 const std::unique_ptr<HidlService> &service = servicePair.second; in removeService()