blob: 51251c16603bcae5b8b061cd62441205056f59c2 [file] [log] [blame]
Andreas Huber669bf7a2016-08-29 10:23:17 -07001package android.hardware.tests.baz@1.0;
2
3interface IBase {
4 enum SomeBaseEnum {
5 grrr = 1,
6 };
7
8 struct Foo {
9 struct Bar {
10 float z;
11 string s;
12 };
13
14 enum FooEnum : int8_t {
15 first = 1,
16 second = 2,
17 };
18
19 int32_t x;
20 vec<Bar> aaa;
21 Bar y;
22 };
23
24 someBaseMethod();
25
26 someBoolMethod(bool x) generates (bool y);
27 someBoolArrayMethod(bool[3] x) generates (bool[4] y);
28 someBoolVectorMethod(vec<bool> x) generates (vec<bool> y);
29
30 someOtherBaseMethod(Foo foo) generates (Foo result);
31};