Tri Vo
06da29ffae
Use filegroup as genrule srcs.
...
Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb
2017-02-10 02:18:07 +00:00
Andreas Huber
0574bacb2a
Updated makefiles
...
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.
Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 16:56:56 -08:00
Tri Vo
ac9f1c02f3
Remove vts driver/profiler build rules.
...
Generate filegroups for .hal files so that driver/profiler build rules
can migrate to another project.
Bug: 34893894
Test: mmma hardware/interfaces -j32
Change-Id: Iefc98a6df16706fbb798bc32405fe8ff0c3de450
2017-02-06 13:54:41 -08:00
Yifan Hong
5835d9ea59
Merge "Add test for type resolution."
2017-01-17 21:03:05 +00:00
Martijn Coenen
0bb0ba5f79
Merge "Testing struct that has vector of other struct"
2017-01-16 14:48:11 +00:00
Treehugger Robot
31265c5312
Merge "Add a new method to trigger a blocking read."
2017-01-14 08:07:25 +00:00
Hridya Valsaraju
586bed1c17
Add a new method to trigger a blocking read.
...
The new method will request the service to trigger a blocking
read with the default Event Flag notification bitmask defined
by the MessageQueue class.
Test: FMQ unit tests
Change-Id: I5a61e2b4527ba31cd5ea6521c553a87904af8056
2017-01-13 20:58:17 -08:00
Steven Moreland
7c8d9bbaf1
Revert "move VTS HIDL HAL tests to the corresponding interface directories"
...
This reverts commit ec7746fa80
.
Test: no test
Merged-In: I9ec4493403d71419df99fe9761211eab057cdb0a
Change-Id: I39f2acaa5ee376b90bcddd0891ac6f309cb40a2b
2017-01-14 00:20:11 +00:00
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
Pavel Maltsev
af9aec427d
Testing struct that has vector of other struct
...
Test: hidl_java_test
Bug: b/34255213
Change-Id: I6a861f0fec32d5f7d541860bfe7bc3a45d37f1be
2017-01-13 11:35:36 +01:00
Ruchi Kandoi
aeb3de7b3f
Merge changes from topic 'port-nfc-vts-AOSP'
...
* changes:
Fix VTS paths on 32-bit target
Remove obsolete references to IPCThreadState/ProcessState.
Update Android.bp of Nfc with make rule for profiler.
Use lowercase booleans in VTS test configs.
Update to use the correct logging library.
Update coverage configs with new format.
Update NFC VTS configs to reflect new source paths
increase the timeouts to 10mins for nfc target-side tests
enable profiling directly from AndroidTest.xml
NFC: vts: Update VTS driver files as per HAL changes
NFC: Add target-side VTS tests for NFC
use svc nfc enable/disable which is always the same.
move VTS HIDL HAL tests to the corresponding interface directories
Build target-side NFC test with coverage.
Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
Nfc: Split libhidl into base and transport.
NFC: Update vts files to include the Annotations.
NFC HAL target-side test (template)
Update vts files for nfc hidl file style change.
VTS driver build target for NFC 1.0
add nfc vts files and vts profiler build rule
2017-01-12 23:13:44 +00:00
Keun Soo Yim
ec7746fa80
move VTS HIDL HAL tests to the corresponding interface directories
...
Bug: 32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
(cherry picked from commit 8a36c0b01c
)
2017-01-12 11:02:22 -08:00
Steven Moreland
6de0aa81a3
MemoryTest: add method for testing
...
Bug: 34134129
Test: compiles
Change-Id: If0d2a9c00f93f548da5e9261a93d4715412620c3
2017-01-12 16:27:43 +01: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
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
0270fefc48
Merge "move foocallback to hidl_test"
2017-01-05 19:24:25 +00: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
Hridya Valsaraju
9ba9244e5f
Add a method to trigger multiple FMQ blocking reads.
...
Test: FMQ unit tests
Bug: 33815422
Change-Id: Idcd1fd79232a1b0caa5784e8dd4f3a929f52fded
2017-01-04 16:19:36 -08:00
Yifan Hong
b500bc6189
move foocallback to hidl_test
...
Fix: 32778024
Test: hidl_test
Change-Id: Icec3bd23c30dea635c315ec3b98f3a72447e840a
2017-01-04 13:39:13 -08:00
Hridya Valsaraju
f70884cf4b
Templatize MQDescriptor
...
Bug: 33948735
Test: FMQ unit tests and benchmarks
Merged-In: I5c3beff2c6a69e151e0cb11af299956638cc441b
Change-Id: I5c3beff2c6a69e151e0cb11af299956638cc441b
2016-12-29 22:33:40 -08:00
Martijn Coenen
73f99f6e1f
Add test method to IBaz.
...
For testing death recipients.
Test: mma, hidl_test_java
Bug: 31632518
Change-Id: Ib359c790f68132484fbcd1a5522f45b99d1131f8
2016-12-28 17:44:15 +00:00
Treehugger Robot
ac7f1d21e8
Merge "Add a method to test EventFlag configuration and usage"
2016-12-22 21:55:07 +00:00
Hridya Valsaraju
710e4a3f0d
Add a method to test EventFlag configuration and usage
...
Bug: 31223612 33295104
Test: FMQ unit tests.
Change-Id: Idbddd38730edd0ec14c37d3cb5e67f78705c3d4a
2016-12-21 14:16:10 -08:00
Yifan Hong
d9389bb3d5
Add test for Java GC for binder objects.
...
Test: hidl_test_java
Bug: 33042939
Change-Id: I87d9de63834c617a568f7d1795c901fdd4c6f8e0
2016-12-19 18:17:33 -08: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
b85d8763c7
Update makefiles for Java package path.
...
use V1_0 instead of 1.0.
Bug: 33554192
Test: hidl_test_java
Change-Id: Ic2d95265df10914a60a5bb743d75e839948838c3
2016-12-13 18:06:24 -08:00
Yifan Hong
59cd3a4c14
Update test for method name and result name.
...
Test: compiles
Bug: 33277700
Change-Id: I40de6f09da8d8bf9d03516bfb7a65a54d01fa18a
2016-12-13 10:52:55 -08:00
Yifan Hong
8b54c22992
Add test for eliding bitfield returns.
...
Test: mma
Bug: 33298401
Change-Id: I9e50c20b29215664040183bcdfee6b6902c00e3d
2016-12-12 15:30:49 -08:00
Elliott Hughes
827e038651
Merge "Remove unused hardware/interfaces tests dependency on libtestUtil."
2016-12-08 17:21:53 +00:00
Elliott Hughes
2d224c8026
Remove unused hardware/interfaces tests dependency on libtestUtil.
...
Bug: N/A
Test: builds
Change-Id: Ic0beba4a8ac19c4883bf49e330b23e4e6f64985a
2016-12-07 13:11:45 -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
Yifan Hong
961e625526
Update to use the correct logging library.
...
Test: compiles
Change-Id: I00467b964fd56e6379cddde26152e413f2f00379
2016-12-03 10:04:15 -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
Martijn Coenen
0cb4a94083
Test interface for hidlized IMemory.
...
Test: hidl_test
Change-Id: I9d6260092bf58406905e543065319bc1f4db119f
2016-12-02 08:53:17 -08:00
Treehugger Robot
5329acb61f
Merge "Revert "Use get instead of implicit cast on Return<*>.""
2016-12-01 20:55:39 +00:00
Treehugger Robot
832f1a7978
Merge "Always specify underlying enum type."
2016-12-01 17:15:54 +00:00
Steven Moreland
fafbbd7026
Revert "Use get instead of implicit cast on Return<*>."
...
This reverts commit dc5f84f993
.
Change-Id: Ib81f732d1e0b822a5f53cbc7ed8a13e146ad8b7a
2016-12-01 08:20:32 -08:00
Steven Moreland
73600f7955
Always specify underlying enum type.
...
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
2016-11-29 14:12:34 -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
Steven Moreland
dc5f84f993
Use get instead of implicit cast on Return<*>.
...
Bug: 31348667
Test: hidl_test
Change-Id: Icc22f440077feeff1119ca7b2b44fab684b453db
2016-11-28 12:06:22 -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