summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Iskhakov2017-08-31 17:18:45 -0500
committerTimur Iskhakov2017-08-31 17:18:45 -0500
commita3b0f1f43142d204e4b3fe4d8c2aaf1caf4eafe2 (patch)
tree47a8a28aab85a6087ba720703a47e37087f75a5d
parent5c6da2669cea95d775b4a1ab0ddcdad4cac82671 (diff)
downloadplatform-hardware-interfaces-a3b0f1f43142d204e4b3fe4d8c2aaf1caf4eafe2.tar.gz
platform-hardware-interfaces-a3b0f1f43142d204e4b3fe4d8c2aaf1caf4eafe2.tar.xz
platform-hardware-interfaces-a3b0f1f43142d204e4b3fe4d8c2aaf1caf4eafe2.zip
Check array dimenstion order
Bug: 65257916 Test: mma Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd
-rw-r--r--tests/foo/1.0/IFoo.hal4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/foo/1.0/IFoo.hal b/tests/foo/1.0/IFoo.hal
index a43b883c..00337a60 100644
--- a/tests/foo/1.0/IFoo.hal
+++ b/tests/foo/1.0/IFoo.hal
@@ -122,6 +122,10 @@ interface IFoo {
122 bitfield<BitField> bf; 122 bitfield<BitField> bf;
123 }; 123 };
124 124
125 typedef int32_t[5][6][7] multidimArrayOne;
126 typedef multidimArrayOne[8][9][10] multidimArrayTwo;
127 typedef multidimArrayTwo[2][3][4] multidimArrayThree;
128
125 doThis(float param); 129 doThis(float param);
126 doThatAndReturnSomething(int64_t param) generates (int32_t result); 130 doThatAndReturnSomething(int64_t param) generates (int32_t result);
127 doQuiteABit(int32_t a, int64_t b, float c, double d) generates (double something); 131 doQuiteABit(int32_t a, int64_t b, float c, double d) generates (double something);