summaryrefslogtreecommitdiff
path: root/transport/manager
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2017-02-03 15:11:44 -0800
committerYifan Hong <elsk@google.com>2017-02-07 10:27:52 -0800
commit7f49f59f349b9d097c6ab533b4a20090d0bc5740 (patch)
tree6fae7b907e06d64dc747b34edeccd8d1ae0e4be5 /transport/manager
parent0173273dd445a355c5e19e7f75a34c297f424324 (diff)
downloadlibhidl-7f49f59f349b9d097c6ab533b4a20090d0bc5740.tar.gz
Allow passthrough service manager to register client PIDs.
Also removed unused implementation PassthroughServiceManager::debugDump() Test: lshal Bug: 34712252 Change-Id: I564f3e6560d548f36eb4333a086444660984a261
Diffstat (limited to 'transport/manager')
-rw-r--r--transport/manager/1.0/IServiceManager.hal7
1 files changed, 3 insertions, 4 deletions
diff --git a/transport/manager/1.0/IServiceManager.hal b/transport/manager/1.0/IServiceManager.hal
index 2eafed0..61f6047 100644
--- a/transport/manager/1.0/IServiceManager.hal
+++ b/transport/manager/1.0/IServiceManager.hal
@@ -111,10 +111,7 @@ interface IServiceManager {
struct InstanceDebugInfo {
string interfaceName;
string instanceName;
- // negative values means N/A.
- int32_t pid;
- // 0 means N/A.
- uint64_t ptr;
+ vec<int32_t> clientPids;
};
/*
@@ -123,4 +120,6 @@ interface IServiceManager {
* instance.
*/
debugDump() generates (vec<InstanceDebugInfo> info);
+
+ oneway registerPassthroughClient(string fqName, string name, int32_t pid);
};