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
Yifan Hong
b0b5322e7d
Updated indentation to 4 spaces for Android.mk.
...
Test: `cd system/tools/hidl && mma`
Change-Id: I088893c3c8b080239f0f32e3434faf3da3fefc7a
2016-09-26 16:02:39 -07:00
Iliyan Malchev
998892cce7
update auto-generated makefiles
...
b/31524912
Test: pass
Change-Id: Iafea8f87e93181041f42820df39ec43b3c785410
Signed-off-by: Iliyan Malchev <malchev@google.com >
2016-09-22 23:31:33 +00:00
Treehugger Robot
ed76563377
Merge "Additional test cases to verify multi-dimensional arrays work properly."
2016-09-20 20:28:12 +00: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
Zhuoyao Zhang
adc313d43d
Add dependency on libcutils.
...
* Used for get system properies.
Test: pass test hidl_test.
Change-Id: I3b6d2deb442cd627a6f30312f0c204177d410ecb
2016-09-19 12:52:09 -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
Iliyan Malchev
b350caf9dc
interfaces: update makefiles
...
b/31015466
b/31045569
Change-Id: I07d54fd956fedc4b94622ace1c8f2be3f2f93b2b
Signed-off-by: Iliyan Malchev <malchev@google.com >
2016-09-07 14:37:35 -07:00
TreeHugger Robot
c0ba83e30a
Merge "Updated makefiles (includes java-library rules for applicable packages)."
2016-09-01 00:08:22 +00:00
Andreas Huber
7ab75a7325
Updated makefiles (includes java-library rules for applicable packages).
...
Change-Id: I178faf37dddb5149c1bdc217fa1395b2566194d7
Bug: 31221188
2016-08-31 13:56:05 -07:00
Keun Soo Yim
989087535a
Revert "package android.hardware.tests.* as part of VTS (auto-generated)"
...
This reverts commit afba0364c6 .
Change-Id: I9d143d97ef7857502d88fef92b9ae336ee824bcd
2016-08-31 08:47:29 -07:00
Martijn Coenen
cbe590cb9f
Apache2 module license.
...
Bug: 31110244
Change-Id: I7ce63f940199e8cd7d193bdde39fc6cd448db802
2016-08-30 11:28:36 -07:00
Keun Soo Yim
3cdfe14922
build 32- and 64-bit libs (auto-generated)
...
Change-Id: Iccb63cafc5db17abd423d589416d50ff21c89efa
2016-08-26 18:55:21 -07:00
Iliyan Malchev
b9c08207c1
android.hardware.tests.foo@1.0::IFooCallback: add instrumentation
...
Add two instrumentation methods to IFooCallback, to help with timing
measurements in gTest.
The first one, reportResults(), blocks the caller for a given length of
time while waiting for all the other methods to execute, then reports
whether these methods were executed within this length of time, for how
long their caller was blocked, and also how long the execution of the
bodies of each of them took. Note that the execution time for a
method's body is independent of whether it is a oneway or a blocking
method. For example, heyItsTheMeaningOfLife() is a oneway method, so it
returns immediately to the caller (so the caller-blocked time should be
very small). However, if its body takes several seconds to run, then
this is the information that will be returned for
heyItsTheMeaningOfLife() as well.
The second instrumentation method, youBlockedMeFor(), is used by the
caller of IFooCallback to report how long the caller was blocked for.
This information is saved and passed by reportResults() as described
above.
b/30855757 Convert hidl test to gTest
Change-Id: I35ac708e424bcb143fce959609fcc747f1ec37fb
Signed-off-by: Iliyan Malchev <malchev@google.com >
2016-08-25 07:52:09 -07:00
Keun Soo Yim
afba0364c6
package android.hardware.tests.* as part of VTS (auto-generated)
...
this is to run the benchmarks continuously in the lab
Change-Id: Ia45c440a77ccc16db2cb1066ecde3b6521991ec9
2016-08-24 07:58:59 -07:00
Keun Soo Yim
6b4d639626
regenerate Android.mk files
...
Change-Id: I6a8b48943df469c9f345c05fb00c671f6f8dd393
2016-08-22 17:25:48 -07:00
Martijn Coenen
384150191f
Updated makefiles linking against libhidl.
...
Bug: 30839546
Change-Id: I8c68d0b8db0816f9bfe58fc3898114fb9e151ddc
2016-08-19 14:06:56 +02:00
Yifan Hong
ab407f096e
add tests for parsing constant expressions.
...
Change-Id: Ic1f524c604fc72b9d1b7b330b608ff38ce287921
2016-08-16 15:35:14 -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
614bb72e00
android.hardware.tests.foo@1.0::IFooCallback: use booleans
...
b/30853785 auto-generation for bools is broken
Change-Id: Ia1c1e1f03360d5c7e4162b24a83082bc833a8a34
Signed-off-by: Iliyan Malchev <malchev@google.com >
2016-08-14 13:37:04 -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