Yifan Hong
97973c69c8
Add test for type resolution.
...
Test: make hidl_test
Bug: 31971432
Change-Id: I5c058079d54e1b480f21550a76ccfd53f54bd0c4
2017-01-13 10:11:08 -08:00
Treehugger Robot
cb5989d239
Merge "Bp/n/sFoo -> Bp/n/sHwFoo"
2017-01-12 01:50:58 +00:00
Yifan Hong
10ac9b44f5
Bp/n/sFoo -> Bp/n/sHwFoo
...
Bug: 33554989
Test: hidl_test
Change-Id: I748181e9eaf5b78318054b9fd99ac1a43d00498a
2017-01-10 16:01:46 -08:00
Mark Salyzyn
a4842ace39
liblog: use log/log.h when utilizing ALOG macros
...
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2017-01-10 15:02:14 -08:00
Martijn Coenen
e8b0161713
Callback elision for HIDL interfaces.
...
Test: mma, hidl_test
Bug: 31380743
Change-Id: Ic5390d49a9493d1180bdd8a15bc47e891637890e
2017-01-05 08:48:23 +01:00
Yifan Hong
87cc71c9fa
Test for echoed interfaces.
...
Test: hidl_test
Bug: 33173166
Change-Id: I0b8b8553b7d3f7b1800d0970a9fc17d01084dfcf
2016-12-16 15:49:39 -08:00
Martijn Coenen
0dbb9903cd
Revert "Fix tests for using IBase instead of IBinder."
...
This reverts commit 1d747311b3
.
Bug: 33173166
Test: builds, hidl_test
2016-12-15 21:34:38 +01:00
Yifan Hong
e7ce822b96
Add test for bitset/mask type.
...
Test: hidl_test
Change-Id: I8bcd304184ff6b7794a9d0b5d3999f071604471d
2016-12-05 12:46:17 -08:00
Yifan Hong
1d747311b3
Fix tests for using IBase instead of IBinder.
...
Echoed interfaces cannot be casted properly, because
interfaceChain cannot be called. So the given vector
of interfaces is re-wrapped. This is temporary; when
b/33173166 is fixed, this change should be reverted.
Test: hidl_test
Generates: b/33173166
Change-Id: I12166f69cf04abf7485dc2455ad731b87c80b3d1
2016-12-03 01:09:23 -08:00
Yifan Hong
ebcc3328e8
Use IBase instead of IBinder for interface keyword.
...
Test: hidl_test
Change-Id: Id51d1957f311d1025dac57d40d4dd5c24d328a6c
2016-12-03 01:09:23 -08:00
Yifan Hong
e19e582bd5
Update makefiles for hidlizing IBase.
...
A new dependency android.hidl.base@1.0 is added for
all projects.
Also updated Android.mk for NFC hal (for java constants)
Test: mma
Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:08:59 -08:00
Yifan Hong
0c4c7a30c2
Update to use the correct library for logging.
...
Generates: b/33193497
Test: mma
Change-Id: Ib8bfc4d2f1d68947099e4756f661ed06689ffd62
2016-11-29 13:10:15 -08:00
Treehugger Robot
2fe5762cae
Merge "Update makefiles for logging."
2016-11-24 16:41:20 +00:00
Steven Moreland
33e87b8a76
Remove HIDL_GENERATED from things written by hand.
...
find . -name "*.h" -exec sed -i 's/HIDL_GENERATED_\(.*\)_H_/\U\1_H/g' {}
+
They now match what would be generated by -Lc++-impl. This prevents
confusion over whether or not the files are autogenerated.
Test: pass
Change-Id: I2c9d7887f6d6bdaa19a5c4bfcf02ee3d1dbc81d1
2016-11-22 15:34:39 -08:00
Martijn Coenen
403161ab73
Use newly introduced hidl_handle.
...
Bug: 32089785
Test: builds
Change-Id: I27c7d3945e1fe390661bf322987011a00fe9b3fe
2016-11-22 12:17:58 +01:00
Steven Moreland
3e3a0998e0
Update makefiles for logging.
...
Bug: 32943424
Test: hidl_test
Change-Id: I86dc81935912861073497c07696378895a25f9ee
2016-11-21 16:19:57 -08:00
Yifan Hong
63544eacb6
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 09:52:57 -08:00
Martijn Coenen
65c86c08a1
Cast hidl_pointer<T> to void*.
...
hidl_pointer<T> can only allow one implicit conversion
operator, and native_handle_t* is the one that makes
most sense. Hence, this requires an explicit cast.
Bug: 32089785
Test: builds
Change-Id: Ie952ee2e4f0c20fa33f793403d51f3d550257310
2016-11-17 15:29:36 +01:00
Yifan Hong
1eb8f1cc1f
Update Android.bp to reexport dependent packages.
...
b/32710416
Test: mma
Change-Id: Iaca7300c366c2c9e860a29e6a111248d315cc5b4
2016-11-09 06:03:22 +00:00
Colin Cross
8f084e00d6
Support genrules with multiple tools
...
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.
Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
(cherry picked from commit b785f5b82e
)
2016-11-07 10:54:59 -08:00
Treehugger Robot
8766c010ba
Merge "Running update-makefiles for fixed spacing."
2016-11-02 00:44:16 +00:00
Yifan Hong
688bb1e2c6
Add test for null native_handle_t*.
...
Test: hidl_test
Bug: 30814137
Change-Id: Ic52a4c588e2fde3859a0ae8c098e5cb60a87efe8
2016-11-02 00:16:17 +00:00
Steven Moreland
7982058699
Running update-makefiles for fixed spacing.
...
Test: pass
Change-Id: I4dcaf70b1c014f3ecf685d4884601be6f17ee51d
2016-11-01 20:06:29 +00: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
ce9779412a
Update headers (for export shared lib headers)
...
Test: mma -j64
Bug: 32337293
Change-Id: I93e7cab90efac407525a1a5f2ad30f816a530e17
2016-10-22 00:28:00 +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
Yifan Hong
d5b5b2ecea
add default implementation to android.hardware.tests.foo/bar/pointer@1.0
...
Test: hidl_test
Test: mma
Merged-In: I808423c040099354513db0ad108210fcec17c8a7
Change-Id: I808423c040099354513db0ad108210fcec17c8a7
2016-10-18 11:39:00 -07: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
Dan Willemsen
242b34edd5
Convert to Android.bp
...
See build/soong/README.md for more information.
Bug: 31742855
Test: mma -j
Change-Id: Icb93f3b1b2caeb5e9c00f88ca35841b927ad075d
2016-09-30 10:31:54 -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
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
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
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
Martijn Coenen
384150191f
Updated makefiles linking against libhidl.
...
Bug: 30839546
Change-Id: I8c68d0b8db0816f9bfe58fc3898114fb9e151ddc
2016-08-19 14:06:56 +02:00
Steven Moreland
61651882cd
Added mock interfaces
...
Change-Id: I227bb450e714e392a3959c0d314842b9879f8b99
2016-08-11 14:38:55 -07:00