Steven Moreland
bd5b4dc9b3
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
2018-10-09 15:50:31 -07:00
Steven Moreland
2b01956dac
IFoo: send struct with fmq.
...
Bug: 117239572
Test: hidl_test
Change-Id: I968916a9d62e1c8f7a237bd24e6b4267dd013366
2018-10-08 20:11:34 +00:00
Steven Moreland
dad22198be
IFoo: remove pointer from u.
...
pointer needs a fixup (to abort) since they can't be used in remote
transactions, so removing it from the union here.
Bug: 117322722
Test: hidl_test
Change-Id: Ie582f6b79a8176ca1585bf4b1f43ae9d5d97fa92
2018-10-05 11:16:20 -07:00
Steven Moreland
3bcfa475e2
Test for vec<union> vec<struct w/ union>.
...
Bug: 31973802
Test: hidl_test
Change-Id: I4367f1f525caa8d1edb95b7bfdac78f21b234576
2017-12-14 16:02:46 -08:00
Timur Iskhakov
d8299ff809
Print full name test
...
Bug: 65563308
Test: hidl_test
Change-Id: I629a5a7fa708b567591e27bdb39ed5626add4895
2017-09-13 18:00:29 -07:00
Timur Iskhakov
a3b0f1f431
Check array dimenstion order
...
Bug: 65257916
Test: mma
Change-Id: I5dcd859120800909b6fc4811c5e5a0d2f8790bcd
2017-08-31 15:18:45 -07:00
Yifan Hong
4093a44585
Add tests for .equals and toString
...
Test: hidl_test
Test: hidl_test_java
Bug: 32834072
Bug: 33459772
Change-Id: Ic1a87529fe5f8c12f7bfbdc2fa668e66922e075f
2017-02-22 16:09:17 -08:00
Yifan Hong
04e53a1ca2
Add test for putting different types in a struct / union.
...
Test: hidl_test
Change-Id: Icf1f40b1c92f76a45a3792e8c5d359031ad719bc
2017-01-06 11:06:14 -08:00
Yifan Hong
e7ce822b96
Add test for bitset/mask type.
...
Test: hidl_test
Change-Id: I8bcd304184ff6b7794a9d0b5d3999f071604471d
2016-12-05 12:46:17 -08:00
Martijn Coenen
b7307d5c8a
Add method to IFoo for testing NULL interfaces.
...
Bug: 32410513
Test: mma, hidl_test
Change-Id: I791c3a95e670a859e5e494ead987d2a93f5047a5
2016-11-01 13:09:53 +01:00
Yifan Hong
ebfa633103
Add interface methods for testing vec<handle>.
...
Test: hidl_test
Bug: 32160974
Change-Id: I7eda1650fcf8d58778b2aad97a5bd62afc95bc36
2016-10-31 12:02:35 +00:00
Steven Moreland
6b9bae82ee
Removed overloaded functions from IFoo.hal.
...
Bug: 31758541
Test: hidl_test
Change-Id: Ic92cf9996357a8aa9b3785540784c686887032e0
2016-10-22 00:16:57 +00:00
Andreas Huber
847b14511a
Adds tests to verify proper marshaling of vectors of interface types.
...
Bug: 30570663
Test: hidl_test
Change-Id: I1e4d1f826773abbde6b9019eb6af90ac64007e38
2016-10-20 09:20:50 -07:00
Steven Moreland
a3d9fe2cd4
Revert "Remove test for overloaded function."
...
This reverts commit 93800287fb .
Change-Id: I95b0aeb64eaf9938c6558e5817bd79c3f2e5496e
2016-10-18 18:32:49 +00:00
Steven Moreland
93800287fb
Remove test for overloaded function.
...
Bug: 31758541
Test: hidl_test
Change-Id: Ib02d9e8531ea2b7ec36bf8785e6827cfa45b53ba
2016-10-17 17:53:09 -07:00
Steven Moreland
86c848de0b
Added test for overloading.
...
Test: make, hidl_test
Bug: 31758541
Change-Id: Ia0fdad2f0b0155065a7dec5526ab5d14a9ec1f52
2016-10-11 22:40:50 +00:00
Yifan Hong
799ebcb7fa
Add test for importing a single type.
...
Test: `cd system/tools/hidl && mma`
Bug: 31821285
Change-Id: I0be97b16b84f76b64c09f9dc52709416601cbbdf
2016-10-07 19:43:43 -07:00
Yifan Hong
223b82a07d
Add test for vec<vec<T>> as a return value.
...
Bug: 31955917
Test: hidl_test
Change-Id: I9ae7f9b04126261210cb4621266676727877d92f
2016-10-05 14:12:30 -07:00
Yifan Hong
61db854465
Add test for referring to nested types.
...
Bug: 31821285
Test: `make hidl_test && adb sync && adb shell hidl_test`
Change-Id: Iae030baa5bbe6e890512b494a0b657163c6a99a6
2016-10-04 10:40:55 -07:00
Andreas Huber
88476c157b
Verify that method arguments and results can share the same name.
...
Bug: 30778622
Test: hidl_test, hidl_test_java
Change-Id: Idb35a03337010c1fb63c2896f216392398e03e0c
2016-09-28 13:43:39 -07:00
Andreas Huber
8e237941ef
Additional test cases to verify multi-dimensional arrays work properly.
...
Bug: 31438033
Change-Id: I1fc58cbbe6f161f7f71a43fa43d743843ba22f76
Test: run updated "hidl_test" and "hidl_test_java"
2016-09-19 14:07:54 -07:00
Andreas Huber
cf8560c508
Adds tests to verify proper C++ code generation for multi-dimensional arrays
...
and vectors of arrays.
Bug: 31438033
Change-Id: Ia7c2198de31bdb4705687726abe3d0371625e56a
2016-09-13 09:34:40 -07:00
Martijn Coenen
cbe590cb9f
Apache2 module license.
...
Bug: 31110244
Change-Id: I7ce63f940199e8cd7d193bdde39fc6cd448db802
2016-08-30 11:28:36 -07:00
Andreas Huber
564cc0ab33
"import types" should never be necessary, it is implicit (if types.hal exists)
...
Change-Id: I63e6a2104415a5a71bf3eb93c646f9bf32f1b079
2016-08-16 10:17:39 -07:00
Iliyan Malchev
e96606a7df
android.hardware.tests.foo@1.0: add oneway methods
...
b/30843534: oneway methods seem broken
Change-Id: I3e152d6bd70da60648157269a9465921afa661b3
Signed-off-by: Iliyan Malchev <malchev@google.com >
2016-08-13 23:06:34 -07:00
Steven Moreland
61651882cd
Added mock interfaces
...
Change-Id: I227bb450e714e392a3959c0d314842b9879f8b99
2016-08-11 14:38:55 -07:00