diff options
author | Steven Moreland | 2018-10-09 17:10:48 -0500 |
---|---|---|
committer | Steven Moreland | 2018-10-09 17:50:31 -0500 |
commit | bd5b4dc9b3084d0f28be548942d9045b53ba309a (patch) | |
tree | 58a6dfced30ce6110e2a43c8d01dbba443f1d3aa /tests | |
parent | 7daf2659ead879352696a09fbd36e0e451e44d54 (diff) | |
download | platform-hardware-interfaces-bd5b4dc9b3084d0f28be548942d9045b53ba309a.tar.gz platform-hardware-interfaces-bd5b4dc9b3084d0f28be548942d9045b53ba309a.tar.xz platform-hardware-interfaces-bd5b4dc9b3084d0f28be548942d9045b53ba309a.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/foo/1.0/IFoo.hal | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/foo/1.0/IFoo.hal b/tests/foo/1.0/IFoo.hal index f54994f5..4c544275 100644 --- a/tests/foo/1.0/IFoo.hal +++ b/tests/foo/1.0/IFoo.hal | |||
@@ -122,7 +122,14 @@ interface IFoo { | |||
122 | }; | 122 | }; |
123 | 123 | ||
124 | struct WithFmq { | 124 | struct WithFmq { |
125 | fmq_sync<uint8_t> descSync; | 125 | struct ScatterGather { |
126 | fmq_sync<uint8_t> descSync; | ||
127 | } scatterGathered; | ||
128 | |||
129 | struct ContainsPointer { | ||
130 | fmq_sync<uint8_t> descSync; | ||
131 | interface foo; | ||
132 | } containsPointer; | ||
126 | }; | 133 | }; |
127 | 134 | ||
128 | enum Discriminator : uint8_t { | 135 | enum Discriminator : uint8_t { |