From bd5b4dc9b3084d0f28be548942d9045b53ba309a Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 9 Oct 2018 15:10:48 -0700 Subject: [PATCH] tests IFoo: WithFmq is more complicated. When an interface is in the struct, scatter gather isn't used. Bug: 117239572 Test: hidl_test Change-Id: I749dd7cce85d220c1908ad583b1744c799a105cc --- tests/foo/1.0/IFoo.hal | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/foo/1.0/IFoo.hal b/tests/foo/1.0/IFoo.hal index f54994f5dd..4c5442754c 100644 --- a/tests/foo/1.0/IFoo.hal +++ b/tests/foo/1.0/IFoo.hal @@ -122,7 +122,14 @@ interface IFoo { }; struct WithFmq { - fmq_sync descSync; + struct ScatterGather { + fmq_sync descSync; + } scatterGathered; + + struct ContainsPointer { + fmq_sync descSync; + interface foo; + } containsPointer; }; enum Discriminator : uint8_t {