OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Treehugger Robot [Wed, 28 Sep 2016 17:16:52 +0000 (17:16 +0000)]
Merge "Verify that vectors of arrays within structures are properly marshaled"
Andreas Huber [Fri, 23 Sep 2016 19:16:36 +0000 (12:16 -0700)]
Verify that vectors of arrays within structures are properly marshaled
in the Java backend.
Change-Id: I70baa4ac55d8b0e06b31b2e50662be14b8528ff3
Bug:
31682327
Test: hidl_test_java
Yifan Hong [Mon, 26 Sep 2016 22:38:09 +0000 (15:38 -0700)]
Updated indentation to 4 spaces for Android.mk.
Test: `cd system/tools/hidl && mma`
Change-Id: I088893c3c8b080239f0f32e3434faf3da3fefc7a
Yifan Hong [Tue, 20 Sep 2016 20:41:30 +0000 (13:41 -0700)]
Updated tests for constant expressions.
Test: `make android.hardware.tests.expression@1.0` compiles
and generates enum class Color with autofilled values.
Test: `make hidl_test_java` succeeded.
Test: `make hidl_test` succeeded.
Bug:
31628863 Add test for autofilling enum values.
Bug:
31592132 allow constant expressions be array sizes.
Change-Id: I79f35365f1d37843922725ad5a405848f3e8ec08
Andreas Huber [Fri, 23 Sep 2016 16:15:24 +0000 (09:15 -0700)]
Updated makefiles that also add static java library targets.
Bug:
31684178
Test: hidl_test and hidl_test_java
Change-Id: Ib53d1be2b1535837ca97cb61796e335141fc7611
Iliyan Malchev [Thu, 22 Sep 2016 22:53:53 +0000 (15:53 -0700)]
android.hardware.nfc@1.0: provide a default implementation
b/
31524912
Test: pass
Change-Id: Id9d34f62f4a2b92bdc3beb3e62c89c82743c0ca0
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Thu, 22 Sep 2016 23:23:07 +0000 (16:23 -0700)]
update auto-generated makefiles
b/
31524912
Test: pass
Change-Id: Iafea8f87e93181041f42820df39ec43b3c785410
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Thu, 22 Sep 2016 17:54:27 +0000 (10:54 -0700)]
[Java] Add a test to verify that typedefs in types.hal does not mistakenly
generate a makefile rule.
Bug:
31678014
Test: regenerate makefiles using hidl-gen.
Change-Id: I72ceaedd33288269b74e2aa233043c741994cd1a
Treehugger Robot [Thu, 22 Sep 2016 19:53:14 +0000 (19:53 +0000)]
Merge "Verify that structs with multiple array fields now successfully compile for Java"
Andreas Huber [Thu, 22 Sep 2016 16:47:48 +0000 (09:47 -0700)]
Verify that structs with multiple array fields now successfully compile for Java
Previously "_hidl_array_offset_*" was redeclared multiple times in the same
scope.
Bug:
31675085
Test: run hidl_test, hidl_test_java
Change-Id: I370956ae3008c05bda66dc5cdc44d33c9883376f
Mitchell Wills [Thu, 18 Aug 2016 18:44:58 +0000 (11:44 -0700)]
Initial pieces of WiFi HAL interface definition
Test: make -j48 android.hardware.wifi@1.0 android.hardware.wifi@1.0-java
Bug:
31350762
Change-Id: I1b598be397e08165fc9fd607888e064b139e8007
Treehugger Robot [Tue, 20 Sep 2016 20:28:11 +0000 (20:28 +0000)]
Merge "Additional test cases to verify multi-dimensional arrays work properly."
Andreas Huber [Mon, 19 Sep 2016 20:59:52 +0000 (13:59 -0700)]
Additional test cases to verify multi-dimensional arrays work properly.
Bug:
31438033
Change-Id: I1fc58cbbe6f161f7f71a43fa43d743843ba22f76
Test: run updated "hidl_test" and "hidl_test_java"
Zhuoyao Zhang [Tue, 13 Sep 2016 00:54:52 +0000 (17:54 -0700)]
Add dependency on libcutils.
* Used for get system properies.
Test: pass test hidl_test.
Change-Id: I3b6d2deb442cd627a6f30312f0c204177d410ecb
Yifan Hong [Mon, 19 Sep 2016 19:25:19 +0000 (19:25 +0000)]
Merge "Remove @hal_type from .hal files."
Yifan Hong [Mon, 19 Sep 2016 17:19:24 +0000 (10:19 -0700)]
Remove @hal_type from .hal files.
Test: ran make android.hardware.nfc@1.0 successfully
compiles.
Bug:
31527823
Change-Id: Ib2c2f40ef6a8939a8344ade6138a7b0f32f14ba9
Iliyan Malchev [Sun, 18 Sep 2016 01:42:46 +0000 (18:42 -0700)]
fix update-makefiles.sh to not need Android.mk
When auto-generating Android.mk for HIDL packages, update-makefiles.sh
now just looks for all directories hosting .hal files, converts them to
HIDL package names, and invokes hidl-gen on these package names to
generate the appropriate Android.mk files.
Change-Id: I8a824672f33be58508ae7c07de463f4f589a9a73
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Wed, 14 Sep 2016 22:27:21 +0000 (15:27 -0700)]
Add tests to verify that multi-dimensional arrays in Java work (inside structs)
Bug:
31438033
Change-Id: Ic27868fb0f603ca4acb2a42f144493d6ec26044f
Andreas Huber [Mon, 12 Sep 2016 22:01:02 +0000 (15:01 -0700)]
Adds tests to verify proper C++ code generation for multi-dimensional arrays
and vectors of arrays.
Bug:
31438033
Change-Id: Ia7c2198de31bdb4705687726abe3d0371625e56a
Treehugger Robot [Tue, 13 Sep 2016 04:52:48 +0000 (04:52 +0000)]
Merge "interfaces: regenerate makefiles"
Treehugger Robot [Mon, 12 Sep 2016 17:50:11 +0000 (17:50 +0000)]
Merge "Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]"
Iliyan Malchev [Fri, 9 Sep 2016 23:24:19 +0000 (16:24 -0700)]
interfaces: regenerate makefiles
b/
31372383
Change-Id: I4fd9d3f174a22f29bc3beb9aeb7c30fc6bd4acd8
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Fri, 9 Sep 2016 21:56:15 +0000 (14:56 -0700)]
Java test interface extended to verify vec<STRUCT-TYPE> and STRUCT-TYPE[]
argument/result passing.
Bug:
31380705
Change-Id: I17fd03a10f9740f68a6fb318a5c2ef9847f4c050
Andreas Huber [Tue, 30 Aug 2016 19:23:59 +0000 (12:23 -0700)]
WireMQDescriptor => MQDescriptor
b/
31091383 Adding WireMQDescriptor as a hidl type
Change-Id: Iff23c833e8ab232ad37fd9bfbfe4d49fbc06b369
Iliyan Malchev [Thu, 8 Sep 2016 22:12:36 +0000 (15:12 -0700)]
android.hardware.tests.msgq@1.0: modify ITestMsgQ
Modify the configure() method so that the implementation does not have
to rely on status_t to return service errors.
b/
31367910
b/
31348667
Change-Id: I0bc88c396ce4e55ed38b534b7e3ae2c0a4faad62
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Wed, 7 Sep 2016 19:45:02 +0000 (12:45 -0700)]
interfaces: update makefiles
b/
31015466
b/
31045569
Change-Id: I07d54fd956fedc4b94622ace1c8f2be3f2f93b2b
Signed-off-by: Iliyan Malchev <malchev@google.com>
TreeHugger Robot [Thu, 1 Sep 2016 00:08:22 +0000 (00:08 +0000)]
Merge "Updated makefiles (includes java-library rules for applicable packages)."
Andreas Huber [Wed, 31 Aug 2016 16:10:55 +0000 (09:10 -0700)]
Updated makefiles (includes java-library rules for applicable packages).
Change-Id: I178faf37dddb5149c1bdc217fa1395b2566194d7
Bug:
31221188
Keun Soo Yim [Wed, 31 Aug 2016 07:38:54 +0000 (07:38 +0000)]
Revert "package android.hardware.tests.* as part of VTS (auto-generated)"
This reverts commit
afba0364c6fbf7e2fb5018b35b904c968f90ebd0.
Change-Id: I9d143d97ef7857502d88fef92b9ae336ee824bcd
Yifan Hong [Thu, 18 Aug 2016 22:09:28 +0000 (15:09 -0700)]
add test for constant expression evaluation output
Simply run:
# hidl_gen converts .hal to .h correctly
make hidl_gen_test
# converted .h can compile
make android.hardware.tests.expression@1.0
to run the tests.
b/
30951879: int8_t is same as char, and when emitting output the
character corresponding to that number is emitted instead of
the number itself.
Change-Id: Icacba6b6262cc0026a94f64527b80e2c0e35e72e
Iliyan Malchev [Wed, 31 Aug 2016 05:24:19 +0000 (05:24 +0000)]
Merge "Apache2 module license."
Martijn Coenen [Tue, 30 Aug 2016 18:27:56 +0000 (11:27 -0700)]
Apache2 module license.
Bug:
31110244
Change-Id: I7ce63f940199e8cd7d193bdde39fc6cd448db802
Andreas Huber [Mon, 29 Aug 2016 17:23:17 +0000 (10:23 -0700)]
Interface 'IBaz' and friends used by "hidl_test_java".
Change-Id: If49d996e34ba5aa48488e92e71234208001bfddb
Keun Soo Yim [Sat, 27 Aug 2016 01:55:21 +0000 (18:55 -0700)]
build 32- and 64-bit libs (auto-generated)
Change-Id: Iccb63cafc5db17abd423d589416d50ff21c89efa
Iliyan Malchev [Sat, 20 Aug 2016 23:44:50 +0000 (16:44 -0700)]
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>
Zhuoyao Zhang [Wed, 24 Aug 2016 22:05:11 +0000 (15:05 -0700)]
Add test aidl file for benchmark binder performance.
Bug:
31068579
Change-Id: Idf7d5da902eb17f166ac07dc966c009bc1d9c7ae
Keun Soo Yim [Fri, 19 Aug 2016 01:20:09 +0000 (18:20 -0700)]
package android.hardware.tests.* as part of VTS (auto-generated)
this is to run the benchmarks continuously in the lab
Change-Id: Ia45c440a77ccc16db2cb1066ecde3b6521991ec9
Keun Soo Yim [Tue, 23 Aug 2016 00:25:48 +0000 (17:25 -0700)]
regenerate Android.mk files
Change-Id: I6a8b48943df469c9f345c05fb00c671f6f8dd393
Martijn Coenen [Fri, 19 Aug 2016 12:06:56 +0000 (14:06 +0200)]
Updated makefiles linking against libhidl.
Bug:
30839546
Change-Id: I8c68d0b8db0816f9bfe58fc3898114fb9e151ddc
Yifan Hong [Sat, 13 Aug 2016 00:39:44 +0000 (17:39 -0700)]
add tests for parsing constant expressions.
Change-Id: Ic1f524c604fc72b9d1b7b330b608ff38ce287921
Andreas Huber [Tue, 16 Aug 2016 17:17:39 +0000 (10:17 -0700)]
"import types" should never be necessary, it is implicit (if types.hal exists)
Change-Id: I63e6a2104415a5a71bf3eb93c646f9bf32f1b079
Iliyan Malchev [Tue, 16 Aug 2016 14:46:00 +0000 (14:46 +0000)]
Merge "android.hardware.tests.foo@1.0::IFooCallback: use booleans"
Iliyan Malchev [Tue, 16 Aug 2016 14:45:18 +0000 (14:45 +0000)]
Merge "android.hardware.tests.foo@1.0: add oneway methods"
Hridya Valsaraju [Mon, 15 Aug 2016 23:53:34 +0000 (23:53 +0000)]
Merge "Move .hal for FMQ benchmark code to hardware/interfaces."
Hridya Valsaraju [Mon, 15 Aug 2016 16:56:09 +0000 (16:56 +0000)]
Merge "Move .hal file for FMQ tests to harware/interfaces"
Iliyan Malchev [Sun, 14 Aug 2016 20:37:02 +0000 (13:37 -0700)]
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>
Iliyan Malchev [Sun, 14 Aug 2016 06:05:56 +0000 (23:05 -0700)]
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>
Steven Moreland [Sat, 13 Aug 2016 00:04:28 +0000 (00:04 +0000)]
Merge "Added mock interfaces"
Hridya Valsaraju [Tue, 9 Aug 2016 17:05:20 +0000 (10:05 -0700)]
Move .hal for FMQ benchmark code to hardware/interfaces.
This is required to convert to the new hidl-gen.
Change-Id: Ia4df37d993be45ac6cb69836fd159dceef10d75c
Hridya Valsaraju [Mon, 8 Aug 2016 18:12:30 +0000 (11:12 -0700)]
Move .hal file for FMQ tests to harware/interfaces
This is required to convert to the new hidl-gen.
Change-Id: I87a5d3d006fe80ad16d4abb63d400b3c52a2bae9
Martijn Coenen [Fri, 12 Aug 2016 11:07:36 +0000 (11:07 +0000)]
Merge "libhwbinder benchmark interface."
Martijn Coenen [Wed, 10 Aug 2016 13:37:03 +0000 (15:37 +0200)]
libhwbinder benchmark interface.
Change-Id: I2863272033bfe986f70f75c51412b8c1a55a84f3
Zhuoyao Zhang [Thu, 11 Aug 2016 05:37:34 +0000 (22:37 -0700)]
Add annotation of hal_type for Nfc/NfcCallback interface.
Change-Id: I5bb53c396ea11a94fa556cf561b584b6f12f476c
Steven Moreland [Thu, 11 Aug 2016 19:52:43 +0000 (12:52 -0700)]
Added mock interfaces
Change-Id: I227bb450e714e392a3959c0d314842b9879f8b99
Iliyan Malchev [Wed, 10 Aug 2016 15:02:31 +0000 (08:02 -0700)]
script to auto-generate makefiles for HALs
Change-Id: I9d21a811d8e2fc604702388ad1910476df16f43a
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Wed, 10 Aug 2016 14:39:17 +0000 (07:39 -0700)]
android.hardware.nfc@1.0: regenerate Android.mk
hidl-gen \
-Lmakefile \
-randroid.hardware:hardware/interfaces \
android.hardware.nfc@1.0
Change-Id: Ib2d965db93fb248f74ce44efea02b3c4bb2dbe08
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Mon, 8 Aug 2016 20:29:22 +0000 (13:29 -0700)]
fix the fix
Change-Id: Ib371beb0c9f3792fbe3149d5dc4f50ae017b56c2
Signed-off-by: Iliyan Malchev <malchev@google.com>
Iliyan Malchev [Mon, 8 Aug 2016 16:56:14 +0000 (09:56 -0700)]
fix build
Add hidl-gen as a dependency on HAL modules, and set the -r path
properly in the absence of $TOP being defined.
Proper fix will include auto-generating the makefile correctly form
hidl-gen.
Change-Id: I9dbe27b80c6c9ab4be9f88bf50496bdfd7cee423
Signed-off-by: Iliyan Malchev <malchev@google.com>
Andreas Huber [Fri, 29 Jul 2016 22:05:03 +0000 (15:05 -0700)]
nfc interfaces in the new style.
Change-Id: I989828d51a2ac1c79906d865b5bdab227457d2e6
Signed-off-by: Iliyan Malchev <malchev@google.com>
Thomas Joseph Avila [Thu, 14 Apr 2016 18:48:07 +0000 (11:48 -0700)]
Initial empty repository