diff options
author | Zhuoyao Zhang <zhuoyao@google.com> | 2016-11-29 12:48:28 -0800 |
---|---|---|
committer | Zhuoyao Zhang <zhuoyao@google.com> | 2016-11-29 12:48:28 -0800 |
commit | ae83dcd90dd6ab0aa0a8950fc79e88cfccdf5a89 (patch) | |
tree | b57ad2d10882d413f578d46ee788bd97e577232a /HandleType.h | |
parent | ccd782b771e283825ad178f1ab33b8c105e6d55d (diff) | |
download | hidl-ae83dcd90dd6ab0aa0a8950fc79e88cfccdf5a89.tar.gz |
Support TYPE_HANDLE for vts.
Bug:33114453
Test: make hidl-gen
Change-Id: Ia05d79e2d5f4233a58978c0e6fd0402a6f28c6a6
Diffstat (limited to 'HandleType.h')
-rw-r--r-- | HandleType.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/HandleType.h b/HandleType.h index d3805f6a..f4c92dc6 100644 --- a/HandleType.h +++ b/HandleType.h @@ -31,6 +31,8 @@ struct HandleType : public Type { StorageMode mode, bool specifyNamespaces) const override; + std::string getVtsType() const override; + void emitReaderWriter( Formatter &out, const std::string &name, @@ -59,6 +61,8 @@ struct HandleType : public Type { bool useNameInEmitReaderWriterEmbedded(bool isReader) const override; void getAlignmentAndSize(size_t *align, size_t *size) const override; + + status_t emitVtsTypeDeclarations(Formatter &out) const override; }; } // namespace android |