commit | 35121548a924ce414be39aaa855357933305b0cb | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jan 31 15:53:50 2017 -0800 |
committer | Yifan Hong <elsk@google.com> | Wed Feb 01 11:13:37 2017 -0800 |
tree | 4ccd65577705b1c390b154b09d5fcf225298c35d | |
parent | 0f2ef0944419b0856fe8f49b06bd8497a7dca7d9 [diff] |
Change InstanceDebugInfo.refCount to int64_t. Use negative values for N/A values. Test: compiles Change-Id: I4ed9deb2f7fbf892f398bb51713b105679f28069
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp index 5795b02..cdcfd0e 100644 --- a/transport/ServiceManagement.cpp +++ b/transport/ServiceManagement.cpp
@@ -198,7 +198,7 @@ vec.push_back({ .interfaceName = matchedName, .instanceName = "", - .refCount = 0, + .refCount = -1, }); } }
diff --git a/transport/manager/1.0/IServiceManager.hal b/transport/manager/1.0/IServiceManager.hal index ff7201e..10823ca 100644 --- a/transport/manager/1.0/IServiceManager.hal +++ b/transport/manager/1.0/IServiceManager.hal
@@ -111,7 +111,8 @@ struct InstanceDebugInfo { string interfaceName; string instanceName; - uint64_t refCount; + // negative values means N/A. + int64_t refCount; }; /*