diff options
author | Yifan Hong <elsk@google.com> | 2017-03-02 16:59:39 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2017-03-02 18:00:18 -0800 |
commit | 705e5da46d6f6fa5a2177afe460304668bd9102c (patch) | |
tree | a9d8a188898ac60cf20a6112c3fc527f5cbc1f7d /transport/manager | |
parent | 3d931cd3ff79dc8f293a126e511bba0a54e40e5d (diff) | |
download | libhidl-705e5da46d6f6fa5a2177afe460304668bd9102c.tar.gz |
Update for providing architecture info
to IBase::getDebugInfo() and IServiceManager::debugDump().
Moved PassthroughServiceManager::list to debugDump() because
it need to provide 32-bit libraries as well, which doesn't
meet the contract of list().
Bug: 35803184
Test: lshal -itrpc
Change-Id: I18374188ae6a33ba498ece5cddd92b48526f5f44
Diffstat (limited to 'transport/manager')
-rw-r--r-- | transport/manager/1.0/IServiceManager.hal | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/transport/manager/1.0/IServiceManager.hal b/transport/manager/1.0/IServiceManager.hal index 3b292a4..2bbbe22 100644 --- a/transport/manager/1.0/IServiceManager.hal +++ b/transport/manager/1.0/IServiceManager.hal @@ -17,6 +17,7 @@ package android.hidl.manager@1.0; import IServiceNotification; +import android.hidl.base@1.0::DebugInfo.Architecture; /** * Manages all the hidl hals on a device. @@ -108,20 +109,24 @@ interface IServiceManager { IServiceNotification callback) generates (bool success); + /** + * Returned object for debugDump(). + */ struct InstanceDebugInfo { string interfaceName; string instanceName; vec<int32_t> clientPids; + Architecture arch; }; - /* + /** * Similar to list, but contains more information for each instance. * @return info a vector where each item contains debug information for each * instance. */ debugDump() generates (vec<InstanceDebugInfo> info); - /* + /** * When the passthrough service manager returns a service via * get(string, string), it must dispatch a registerPassthroughClient call * to the binderized service manager to indicate which process has called |