IServiceManager.hal: add pid to debugDump
Test: internal boots, hidl_test, lshal works
Bug: 36414311
Change-Id: I60a43ee52abf7f65043ad9c684ad6595cec3614d
diff --git a/transport/manager/1.0/IServiceManager.hal b/transport/manager/1.0/IServiceManager.hal
index 77cf253..9e1c2fc 100644
--- a/transport/manager/1.0/IServiceManager.hal
+++ b/transport/manager/1.0/IServiceManager.hal
@@ -113,11 +113,19 @@
generates (bool success);
/**
+ * Special values for InstanceDebugInfo pids.
+ */
+ enum PidConstant : int32_t {
+ NO_PID = -1,
+ };
+
+ /**
* Returned object for debugDump().
*/
struct InstanceDebugInfo {
string interfaceName;
string instanceName;
+ int32_t pid; // PidConstants:NO_PID if unavailable
vec<int32_t> clientPids;
Architecture arch;
};