Don't include hidl internal methods in vts files.
The only method which this currently applies to is interfaceChain. The
implementations for these methods are generated by hidl-gen and they are
not part of a hal's implementation.
Test: -Lvts and verified output.
Change-Id: Ifdb64654f3e864640707b44a1981bc031f488c2b
diff --git a/Interface.cpp b/Interface.cpp
index 436f836..be4f4fe 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -312,6 +312,10 @@
status_t Interface::emitVtsMethodDeclaration(Formatter &out) const {
for (const auto &method : methods()) {
+ if (method->isHidlReserved()) {
+ continue;
+ }
+
out << "api: {\n";
out.indent();
out << "name: \"" << method->name() << "\"\n";