Allow passthrough service manager to register client PIDs.
Test: lshal
Bug: 34712252
Change-Id: I54a615385f49b7bcb853811682d40e5b74c9acf7
diff --git a/ServiceManager.h b/ServiceManager.h
index 73dace4..952117e 100644
--- a/ServiceManager.h
+++ b/ServiceManager.h
@@ -42,12 +42,15 @@
const sp<IServiceNotification>& callback) override;
Return<void> debugDump(debugDump_cb _cb) override;
+ Return<void> registerPassthroughClient(const hidl_string &fqName,
+ const hidl_string &name, int32_t pid) override;
virtual void serviceDied(uint64_t cookie, const wp<IBase>& who);
private:
bool remove(const wp<IBase>& who);
size_t countExistingService() const;
void forEachExistingService(std::function<void(const HidlService *)> f) const;
+ void forEachServiceEntry(std::function<void(const HidlService *)> f) const;
using InstanceMap = std::map<
std::string, // instance name e.x. "manager"