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()
272 HidlService* hidlService = lookup(fqName, name); in get()
287 forEachExistingService([&] (HidlService *otherService) { in get()
349 const HidlService *hidlService = lookup(baseFqName, name); in addImpl()
374 const HidlService *hidlService = lookup(childFqName, name); in addImpl()
389 HidlService *hidlService = ifaceMap.lookup(name); in addImpl()
393 std::make_unique<HidlService>(fqName, name, service, callingContext.pid)); in addImpl()
439 forEachExistingService([&] (const HidlService *service) { in list()
467 const std::unique_ptr<HidlService> &service = serviceMapping.second; in listByInterface()
476 const std::unique_ptr<HidlService> &service = serviceMapping.second; in listByInterface()
509 HidlService *service = ifaceMap.lookup(name); in registerForNotifications()
518 auto adding = std::make_unique<HidlService>(fqName, name); in registerForNotifications()
555 HidlService *service = ifaceMap.lookup(name); in unregisterForNotifications()
579 HidlService* registered = lookup(fqName, name); in registerClientCallback()
620 forEachExistingService([&] (HidlService *service) { in unregisterClientCallback()
631 forEachServiceEntry([&] (HidlService *service) { in handleClientCallbacks()
678 HidlService* registered = lookup(fqName, name); in tryUnregister()
726 forEachServiceEntry([&] (const HidlService *service) { in debugDump()
771 HidlService *service = ifaceMap.lookup(name); in registerPassthroughClient()
774 auto adding = std::make_unique<HidlService>(fqName, name); in registerPassthroughClient()
791 const std::unique_ptr<HidlService> &service = servicePair.second; in removeService()