Chris Phoenix
6823dd80e0
vibrator 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
Bug: 33844934
Change-Id: I0c22f99133418658eadca8e1cae8218cf2277cf1
2017-01-21 02:34:06 +00:00
Steven Moreland
66816de87f
Remove useless Android.mk files.
...
Test: none
Change-Id: I99f4d3e5b943742009e366b13bee2c32e38a3fba
2017-01-18 11:49:08 -08:00
Zhuoyao Zhang
6ec5b21a81
Update profiling code for host-side tests.
...
* Parse profiling data for each test case.
* Merge the profiling data for each test case at the end of test
and upload the profiling info to web.
Bug:34226555
Test: run vts -m VibratorHidlProfilingTest
Change-Id: I9e13eada8e7db338a29c6943868d12e76844e2c4
2017-01-17 20:10:26 -08:00
Steven Moreland
96232e327f
Revert "Revert "move VTS HIDL HAL tests to the corresponding interface directories""
...
This reverts commit 070e8d2116
.
Change-Id: I66dd4e6cf875e39e58b0d91724a603b37d32c0ac
2017-01-14 00:00:26 +00:00
Ruchi Kandoi
070e8d2116
Revert "move VTS HIDL HAL tests to the corresponding interface directories"
...
Test: No
This reverts commit ec7746fa80
.
Change-Id: I9ec4493403d71419df99fe9761211eab057cdb0a
2017-01-13 15:17:32 -08:00
Mark Salyzyn
3ff5260601
liblog: use log/log.h when utilizing ALOG macros
...
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2017-01-11 15:47:40 -08:00
Yifan Hong
a18049ad13
Bp/nFoo -> Bp/nHwFoo.
...
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00
Hsin-Yi Chen
23bd70d552
Fix VTS paths on 32-bit target
...
Decide target_basepaths by device's bitness.
On 32-bit target, do not include */lib64.
Bug: 33930594
Test: vts-tradefed run commandAndExit vts -m VibratorHidlTest -l INFO
Change-Id: I340ded1d763dc194da461ecf183c6a2ff5f5ee6f
2017-01-05 11:37:31 +08:00
Zhuoyao Zhang
c57e359d1a
Update Android.bp and vts/Android.mk for Hidl HALs
...
* Using update-makefiles.sh to add make rule for profiler in Android.bp
* Remove make rule for profiler in vts/Android.mk.
Bug:31930023
Test: mma
Change-Id: Iea834d8610501c2fce63f65742db31bafb85c0b8
2016-12-22 17:09:12 -08:00
Keun Soo Yim
a489e2b637
specify the hw binder service name from a host-side test
...
Bug: 33544423
Test: run vts -m VibratorHidlTest
Change-Id: I8c3cb4c4cfb3bddf98d079679a6190e394cf1563
2016-12-16 18:34:41 -08:00
Keun Soo Yim
b62dc3e6ee
use the new oneshot vts driver generation build rule
...
Test: mma
Change-Id: Ib15399d6e7d5049b7a1912623ac2d95de9dfba73
2016-12-16 13:40:33 -08:00
Yifan Hong
f35ee3b192
Revert "Revert "Update makefiles for Java package path.""
...
This reverts commit a8789f27cb
.
Change-Id: I69980b580a556188ba868bb096ae1590b01759f5
2016-12-13 22:20:16 +00:00
Yifan Hong
a8789f27cb
Revert "Update makefiles for Java package path."
...
This reverts commit ab0792ccdc
.
Change-Id: I47fc272d9fa8875e3d7ccb10cb748c738fbf8135
2016-12-13 22:18:34 +00:00
Yifan Hong
ab0792ccdc
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 11:32:56 -08:00
Yifan Hong
d2532c4822
Update dependencies for vibrator vts.
...
It uses the implicit cast in libhidlbase.
Test: compiles with CL 308798 on AOSP.
Change-Id: I1e026cae56ff5e394df7313f09715c0cf5fc28e0
2016-12-07 17:12:54 -08:00
Yifan Hong
501839495f
Update makefiles for hidlizing IBase.
...
A new dependency android.hidl.base@1.0 is added for
all projects.
Test: mma
Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00
Zhuoyao Zhang
3053fc0907
Fix VibratorHidlProfilingTest with the new configure to enable
...
profiling.
Test: run vts -m VibratorHidlProfilingTest
Change-Id: If0b14263747f7639c5adb1a3e4ab0ecb59b7b42f
2016-12-02 16:35:56 -08:00
Yifan Hong
f9d303435d
Update to use the correct logging library.
...
Test: mma compiles
Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
2016-12-01 17:47:02 -08:00
Yuexi Ma
bd124bb7c6
Merge "VTS driver module for vehicle hal"
2016-12-01 00:35:37 +00:00
TreeHugger Robot
32094ca29f
Merge changes I0b1a0979,I4aa89a39
...
* changes:
Added AOSP license headers.
Remove HIDL_GENERATED from things written by hand.
2016-11-30 18:15:48 +00:00
Yuexi Ma
074d3861ff
VTS driver module for vehicle hal
...
Test: local
Change-Id: I9ddc101a5b053a184f0a8658219654822c9acdaa
2016-11-29 19:35:28 -08:00
Yuexi Ma
aa61067c14
enable profiling directly from AndroidTest.xml
...
Test: local
Change-Id: If13be820766f54ff154f350cbbacbab9dffe07d2
2016-11-29 18:51:03 -08:00
Steven Moreland
d6e4f03acf
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.
Change-Id: I4aa89a39907024aa9525df71ff3715979f431357
Similar commit: https://android-review.googlesource.com/#/c/305996/
Test: pass
2016-11-29 15:05:31 -08:00
Steven Moreland
bbff14d4bb
Merge "Update makefiles for logging."
2016-11-22 17:25:36 +00:00
Keun Soo Yim
8a36c0b01c
move VTS HIDL HAL tests to the corresponding interface directories
...
Bug: 32783461
Test: vts-tradefed; run vts-hal-hidl
Change-Id: Iead44eaf65dcd4de2286267467c4a4a322a88205
2016-11-21 19:16:12 -08:00
Steven Moreland
f8d68ec855
Update makefiles for logging.
...
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00
TreeHugger Robot
17452436fb
Merge "Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS."
2016-11-18 16:24:29 +00:00
Yifan Hong
6b920e43d3
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Steven Moreland
2b2cef2864
Remove -DENABLE_TREBLE from vts test LOCAL_CFLAGS.
...
I went ahead and removed some no-ops from the mk's.
Bug: 32978887
Test: mma -j64
Change-Id: I6f8341332aa9f249912f6a8b3a3664b76d362e99
2016-11-17 14:57:37 -08:00
Colin Cross
b785f5b82e
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
2016-11-04 22:49:15 -07:00
Keun Soo Yim
40f9796f85
Merge "target-side test for vibrator hal."
2016-11-04 15:40:36 +00:00
Tri Vo
73e6180f3e
target-side test for vibrator hal.
...
Test: manual
Change-Id: I50701f912e20ea1cfcaab823742ee6cfaa354fd1
2016-11-02 19:33:57 -07:00
Zhuoyao Zhang
4a0da2d1cf
Merge "update the .vts files for nfc and vibrate."
2016-11-02 21:04:43 +00:00
Steven Moreland
fcd74ebcdc
Running update makefiles.
...
https://android-review.googlesource.com/#/c/298160/
Test: pass
Change-Id: I14fcde2d3aacc8f8cd9221f2d69e2feae9ae1226
2016-11-02 10:24:33 -07:00
Zhuoyao Zhang
0d0a5eab44
update the .vts files for nfc and vibrate.
...
* Use full name for UDT.
* Add build target for vibrate profiler.
Test: make libvts_profiler_hidl_vibrator@1.0
Test: make vts.
Change-Id: I8a1fac3273cd95c1de12e10b232e7d979c3912ae
2016-10-26 14:30:03 -07:00
Steven Moreland
69727778a7
Stop all these merge conflicts.
...
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:04:37 +02:00
Steven Moreland
22566b8913
Use defaultPassthroughServiceImplementation.
...
Bug: 32279541
Bug: 32282345
Test: mma
Change-Id: Ic0222963c99bea41de7637e5f20c19d7c541cb97
2016-10-21 19:33:06 +00:00
Tri Vo
eafb90c904
VTS driver module for vibrator hal.
...
Test: manual
Change-Id: I8747018d1db84b70048097bd28ea3588a92f2ed3
2016-10-18 16:31:44 -07:00
Janis Danisevskis
397a865f9e
vibrator: Fix malformed blue print file
...
Test: yes
Change-Id: I7162e5ba2f03b21b4ecdf4fd524ffee84bf932eb
2016-10-12 11:17:53 +01:00
Prashant Malani
5e4eb5ed98
vibrator: Add service for default impl
...
Test: m
Bug: 32021191
Change-Id: I5438a8c396103de8fb1e800e9d06165edfc1f68b
2016-10-11 14:06:08 -07:00
Prashant Malani
89fc3bed2a
Add default implementation of Vibrator HAL
...
Test: Builds, boots, vibrator works on bullhead
Change-Id: I9c7de913d1b565bdc46a3b99a799fd8ba09b06a4
2016-10-06 16:40:18 -07:00
Prashant Malani
ca45b2dc29
Add HIDL implementation of vibrator HAL
...
Test: Builds, boots and vibrator works on bullhead
Change-Id: I0ad3a362d83e5063bdaef2d66bfd785fc5ee6757
2016-09-30 16:12:14 -07:00