Update hidl-gen for vts backend.
* Generate the type definition from all imported interface/types.
* Update the logic to generate a single profiler package for a hal
package.
Test: make hidl-gen
Change-Id: I634c435af9913f74fa0e2495908a1805097649c4
diff --git a/Interface.cpp b/Interface.cpp
index c9372a4..0fdad27 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -732,11 +732,8 @@
status_t Interface::emitVtsAttributeType(Formatter &out) const {
out << "type: " << getVtsType() << "\n"
<< "predefined_type: \""
- << localName()
- << "\"\n"
- << "is_callback: "
- << (StringHelper::EndsWith(localName(), "Callback") ? "true" : "false")
- << "\n";
+ << fullName()
+ << "\"\n";
return OK;
}