Searched refs:HidlService (Results 1 – 6 of 6) sorted by relevance
34 HidlService::HidlService( in HidlService() function in android::hidl::manager::implementation::HidlService45 sp<IBase> HidlService::getService() const { in getService()48 void HidlService::setService(sp<IBase> service, pid_t pid) { in setService()60 pid_t HidlService::getDebugPid() const { in getDebugPid()63 const std::string &HidlService::getInterfaceName() const { in getInterfaceName()66 const std::string &HidlService::getInstanceName() const { in getInstanceName()70 void HidlService::addListener(const sp<IServiceNotification> &listener) { in addListener()84 bool HidlService::removeListener(const wp<IBase>& listener) { in removeListener()99 void HidlService::registerPassthroughClient(pid_t pid) { in registerPassthroughClient()103 const std::set<pid_t> &HidlService::getPassthroughClients() const { in getPassthroughClients()[all …]
26 using ::android::hidl::manager::implementation::HidlService;43 class MockHidlService : public HidlService {45 MockHidlService() : HidlService("fqname", "instance") {} in MockHidlService()62 std::unique_ptr<HidlService> makeService() { in makeService()85 std::unique_ptr<HidlService> service = makeService(); in TEST_F()100 std::unique_ptr<HidlService> service = makeService(); in TEST_F()115 std::unique_ptr<HidlService> service = makeService(); in TEST_F()137 std::unique_ptr<HidlService> service = makeService(); in TEST_F()156 std::unique_ptr<HidlService> service = makeService(); in TEST_F()180 std::unique_ptr<HidlService> service = makeService(); in TEST_F()[all …]
63 forEachExistingService([&] (const HidlService *) { in countExistingService() argument70 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()[all …]
103 void forEachExistingService(std::function<bool(const HidlService *)> f) const;104 void forEachExistingService(std::function<bool(HidlService *)> f);105 void forEachServiceEntry(std::function<bool(const HidlService *)> f) const;106 void forEachServiceEntry(std::function<bool(HidlService *)> f);108 HidlService* lookup(const std::string& fqName, const std::string& name);112 std::unique_ptr<HidlService>125 HidlService *lookup(127 const HidlService *lookup(130 void insertService(std::unique_ptr<HidlService> &&service);
40 struct HidlService { struct41 HidlService(const std::string &interfaceName,45 HidlService(const std::string &interfaceName, in HidlService() argument47 : HidlService( in HidlService()53 virtual ~HidlService() {} in ~HidlService() argument
65 "HidlService.cpp",