From af9aec427d296e8da1bee7989278663311b8838c Mon Sep 17 00:00:00 2001 From: Pavel Maltsev Date: Thu, 12 Jan 2017 16:48:51 -0800 Subject: [PATCH] Testing struct that has vector of other struct Test: hidl_java_test Bug: b/34255213 Change-Id: I6a861f0fec32d5f7d541860bfe7bc3a45d37f1be --- tests/baz/1.0/IBaz.hal | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/baz/1.0/IBaz.hal b/tests/baz/1.0/IBaz.hal index a2d961a7d6..40e4024c9c 100644 --- a/tests/baz/1.0/IBaz.hal +++ b/tests/baz/1.0/IBaz.hal @@ -40,6 +40,11 @@ interface IBaz extends IBase { int32_t[3][5] matrix3x5; }; + struct NestedStruct { + int32_t a; + vec matrices; + }; + @Fragile @NoReally(very="yes", array={"a","b","c"}) oneway doThis(float param); @@ -64,4 +69,6 @@ interface IBaz extends IBase { returnABitField() generates (bitfield good); size(uint32_t size) generates (uint32_t size); + + getNestedStructs() generates(vec data); };