Home
last modified time | relevance | path

Searched refs:HidlService (Results 1 – 6 of 6) sorted by relevance

/system/hwservicemanager/
DHidlService.cpp34 HidlService::HidlService( in HidlService() function in android::hidl::manager::implementation::HidlService
45 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 …]
DServiceManager.cpp63 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()
[all …]
Dtest_lazy.cpp26 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()
122 std::unique_ptr<HidlService> service = makeService(); in TEST_F()
141 std::unique_ptr<HidlService> service = makeService(); in TEST_F()
165 std::unique_ptr<HidlService> service = makeService(); in TEST_F()
188 std::unique_ptr<HidlService> service = makeService(); in TEST_F()
[all …]
DServiceManager.h104 void forEachExistingService(std::function<bool(const HidlService *)> f) const;
105 void forEachExistingService(std::function<bool(HidlService *)> f);
106 void forEachServiceEntry(std::function<bool(const HidlService *)> f) const;
107 void forEachServiceEntry(std::function<bool(HidlService *)> f);
109 HidlService* lookup(const std::string& fqName, const std::string& name);
113 std::unique_ptr<HidlService>
126 HidlService *lookup(
128 const HidlService *lookup(
131 void insertService(std::unique_ptr<HidlService> &&service);
DHidlService.h41 struct HidlService { struct
42 HidlService(const std::string &interfaceName,
46 HidlService(const std::string &interfaceName, in HidlService() argument
48 : HidlService( in HidlService()
54 virtual ~HidlService() {} in ~HidlService() argument
DAndroid.bp49 "HidlService.cpp",