Tri Vo
35c7bd2e2b
VTS tests now static link to HAL def libs.
...
And use VtsHalTargetTestDefaults.
Bug: 64040096
Test: compiles
Merged-In: I3cfb1a64f6abcf3145337a736800b72d92a0b152
Change-Id: I3cfb1a64f6abcf3145337a736800b72d92a0b152
(cherry picked from commit 6c2bd86f70
)
2017-08-03 13:28:08 -07:00
Steven Moreland
208a586cf8
Update HIDL makefiles.
...
Allow them to be static.
This is required for a couple of reasons:
- enabling HIDL passthrough in recovery
- enabling VTS tests to be static blobs
Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Merged-In: I1b2401fb273ab80819e3870aa71fe742269674ba
Change-Id: I1b2401fb273ab80819e3870aa71fe742269674ba
(cherry picked from commit 7206708528
)
2017-08-02 12:52:41 -07:00
Connor O'Brien
601ae82ebc
Merge "Fix consumerir test bugs" into oc-dev
...
am: 9f0b8369e9
Change-Id: I6e28e41595743e614a4f10f6e014673edc4c4bad
2017-06-29 02:15:16 +00:00
Connor O'Brien
991aac7bf4
Fix consumerir test bugs
...
The tests currently fail for some correct implementations; revise them
so this no longer occurs.
Bug: 63081607
Test: built & ran revised test
Change-Id: I21b72fd864de57272bd6eb42dca238f661137b93
Signed-off-by: Connor O'Brien <connoro@google.com>
2017-06-28 16:46:43 -07:00
Steven Moreland
e4d318948a
Update makefiles.
...
Adds default configuration to all hals.
Test: pass
Merged-In: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-19 15:53:53 -07:00
Steven Moreland
06c85d986a
Update makefiles.
...
Adds default configuration to all hals.
Test: pass
Change-Id: Icdf6b56df82c4b7b7de815e7febea9a07ab96856
2017-05-18 16:14:16 -07:00
Steven Moreland
8716f3063e
Update makefiles for c++-sources and c++-headers.
...
Test: pass
Bug: 38174080
Merged-In: I683455736eed35e6ced24e2763c2bdb5fb6c9601
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 19:58:45 -07:00
Steven Moreland
cb360c60d8
Update makefiles for c++-sources and c++-headers.
...
Test: pass
Bug: 38174080
Change-Id: I683455736eed35e6ced24e2763c2bdb5fb6c9601
2017-05-09 14:34:19 -07:00
Steven Moreland
ee1d248ae2
Remove redundant dependencies
...
android.hidl.base@1.0 and android.hidlmanager@1.0 are built into libhidltransport.
Test: links
Bug: 33276472
Change-Id: I424371932af129bba9d58dcf8652c64297f35f05
2017-05-01 09:47:58 -07:00
Andreas Huber
6fa374ad30
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:23:46 -07:00
Andreas Huber
6733baff6c
Changed the naming scheme for Treble java libraries (both static and dynamic)
...
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java
Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:16:27 -07:00
Steven Moreland
0dd5ba23fb
Update makefiles.
...
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
2017-04-11 16:41:07 -07:00
Steven Moreland
b2799c370f
Update makefiles.
...
Test: pass
Change-Id: I5cf42c8ff1e11207394e4852ba0bd03e4e3b7d2e
2017-04-11 09:57:40 -07:00
Andreas Huber
675ae49ab1
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
2017-03-28 16:14:43 -07:00
Andreas Huber
3e4acb8b3a
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: make
Change-Id: Ic77394d4d2e1ccedba3a28230d870c5d6108bd40
2017-03-28 16:10:42 -07:00
Steven Moreland
e90c31f125
Update makefiles.
...
Test: pass
Change-Id: I925baccbe51a32b7b7f3f66cf2918d017ee6b039
2017-03-24 21:50:45 -07:00
Yuexi Ma
6b8720110b
Change vts target base test class name
...
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I38ae6cc940d0f17bb3352f360efdf9c70697c76b
2017-03-10 00:42:13 -08:00
Steven Moreland
691a455b9f
Add hidl_default and make modules use hidl_default.
...
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh
Test: no warnings
Bug: 35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702
2017-03-08 16:22:00 -08:00
Steven Moreland
c8942d898b
Ir test: remove warnings
...
Test: pass
Change-Id: If13d93872f0a6eae8914371f78a568f798fd5f93
2017-03-08 16:22:00 -08:00
Yuexi Ma
93d2541aae
Add columns to namespace for vts target base test invocation
...
Test: make vts
Change-Id: Ia0284fbc11eadef572dd510bb5847160852bd517
2017-02-28 20:49:00 +00:00
Yuexi Ma
178dfd5e29
change all vts hidl tests to use VtsHalHidlTargetBaseTest
...
Bug: 33385836
Test: mma
Change-Id: I660d6e0fce6422d87d4b227273a77c95d20ed3f2
2017-02-28 07:59:59 +00:00
Steven Moreland
d28a3dce40
Remove viral dependency on libhwbinder.
...
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh
Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272
2017-02-24 12:01:06 -08:00
Tri Vo
81f9968c71
Remove .vts spec files.
...
Test: mmma hardware/interfaces
Change-Id: Iabbcd336d37ceb58ea4cc649ee5c104424494513
2017-02-21 15:55:00 -08:00
Zhuoyao Zhang
f7693eed97
Update the test binary and source file name.
...
* To confirm with Vts naming convention.
Bug: 35273456
Test: mma
Change-Id: Ide6d9d15618e65d8cb74363f3a8acd52609cd0dd
2017-02-17 10:34:33 -08:00
Treehugger Robot
8cd0125d2e
Merge "Remove --coverage in Android.bp"
2017-02-15 05:08:19 +00:00
Steven Moreland
46c0b94992
Move hidl shims to the vendor partition.
...
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Merged-In: I3f86c77c147514fe470f08088a66de312ae32d4e
Change-Id: I3f86c77c147514fe470f08088a66de312ae32d4e
2017-02-13 23:14:38 +00:00
Zhuoyao Zhang
65c99d7f08
Update vts files on aosp.
...
* Based on the latest hidl-gen and .hal files.
Test: mma
make vts.
Change-Id: I4765450d985afd552fe720d91b9ab3422f5b7a47
2017-02-12 13:51:06 -08:00
Dan Willemsen
84107a0630
Remove --coverage in Android.bp
...
It's no longer allowed now that Soong supports code coverage.
Bug: 32749731
Test: None
Change-Id: I09ef27983e0744543c3a6e1c0c73d69217dd582c
2017-02-10 09:29:36 -08:00
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
Keun Soo Yim
5d6712c7e1
move VTS stub files and non-functional tests (aosp)
...
Test: mma
Bug: 34976004
Merged-In: Id9c88a9778fba49f0841a474aa067d271f14e207
Change-Id: Id9c88a9778fba49f0841a474aa067d271f14e207
2017-02-04 02:52:31 +00:00
Zhuoyao Zhang
bd752892b3
Support driver/profiler for all hals.
...
* Update the make file to generate driver/profiler for hals.
Test: mma
Change-Id: I2a91d913b05beb8e1ecf28a205852f848ef1f5ee
2017-02-01 20:53:21 -08:00
Keun Soo Yim
3079b3c68e
use the default binder/passthrough mode in vts tests
...
Test: mma
Change-Id: I9146d599c623aae1196fcf7e37b7b2715796c748
2017-01-24 18:00:59 -08:00
Keun Soo Yim
a5163c113c
update the used precondition var name for IR
...
Test: mma
Change-Id: Ibec34c82e41d1f93568c29e390a1fc031fa3d3bc
2017-01-24 14:18:57 -08:00
Connor O'Brien
c75771089a
IR HAL Target-side test
...
Test: make vts; vts-tradefed run -m HalIrHidlTargetTest
Change-Id: I6b750f66a0bc207056abcb493693baebc8af81a5
Signed-off-by: Connor O'Brien <connoro@google.com>
2017-01-19 18:45:52 -08:00
Chris Phoenix
26ae7f4613
consumerir HAL uses "default" service name
...
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: builds; verify HAL still works
In support of b/33844934
Change-Id: Ie7394569d20afba0228f01830385eb598795c831
Merged-In: I1b3b021aaa98ce99560126ddd277caa427ddf151
2017-01-18 17:18:23 -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
Connor O'Brien
7a4e7eb250
Remove length arg from transmit() in IR HAL
...
The length argument is not necessary since the pattern is
passed to transmit() as a hidl_vec, so remove it.
Test: Built and called new transmit() function.
Merged-in: I4bee4557c2cca6562a43df5e22a7d6b846f20bb4
Change-Id: I4bee4557c2cca6562a43df5e22a7d6b846f20bb4
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-12-19 16:30:02 -08: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
Connor O'Brien
2cc3483727
Add android.hardware.consumerir@1.0 service.
...
Test: make android.hardware.consumerir@1.0-service
Change-Id: Ife45f98836d4d5a3b40d26f21d43e1903fdb8fb3
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-12-12 11:25:17 -08:00
Connor O'Brien
ac9430e6f4
Add consumerir HIDL default implementation
...
Create a basic HAL implementation that passes commands
through to the old HAL.
Test: make android.hardware.consumerir@1.0-impl
Change-Id: Idc4b0a67cf936645b699c24504e9fab219b1ffbe
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-12-12 11:25:17 -08:00
Connor O'Brien
bf5cddbea0
consumerir: define the consumerir HIDL interface
...
Change-Id: Ifa8632915f8c5bb15da5f379202f5ddf2e08c09a
Signed-off-by: Connor O'Brien <connoro@google.com>
2016-12-12 11:25:17 -08:00