aboutsummaryrefslogtreecommitdiff
path: root/Interface.h
diff options
context:
space:
mode:
authorZhuoyao Zhang <zhuoyao@google.com>2016-11-10 14:37:35 -0800
committerZhuoyao Zhang <zhuoyao@google.com>2016-11-10 18:33:49 -0800
commita588b23323213c525bf34dc0562679195afe611e (patch)
treef59808148692503ff1f8b066c44ac3ca0322471c /Interface.h
parent1af73531ba32b3dfc6ef23a8bf0172dd00be43cc (diff)
downloadhidl-a588b23323213c525bf34dc0562679195afe611e.tar.gz
Support generating the new TYPE_HIDL_INTERFACE for vts.
* Needs to distiguish the callback interface vs normal interface. The former has TYPE_HIDL_CALLBACK in vts and the latter has TYPE_HILD_INTERFACE Test: make hidl-gen Bug: 32764837 Change-Id: Ic5bd44ed707ad302be98abe271abad1758ff276f
Diffstat (limited to 'Interface.h')
-rw-r--r--Interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Interface.h b/Interface.h
index 1c74f6fd..f1f10d53 100644
--- a/Interface.h
+++ b/Interface.h
@@ -73,6 +73,7 @@ struct Interface : public Scope {
bool specifyNamespaces) const override;
std::string getJavaType(bool forInitializer) const override;
+ std::string getVtsType() const override;
void emitReaderWriter(
Formatter &out,