Chris Phoenix
6d0a0911d5
light 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
Bug: 33844934
Change-Id: I042320d62f88ba9585ee05f33fe7592b5ffa1884
2017-01-23 23:58:00 +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
c256b01cab
Fix LightHidlTargetProfilingTest
...
* Remove test-configure-path as no configure file is available.
Bug:34364437
Test: run vts -m Remove LightHidlTargetProfilingTest
Change-Id: I5fa6876d93bb0f2ee33c35d07bbe6ebe4ac5603e
2017-01-17 20:38:51 -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
TreeHugger Robot
2cfe8fcb2b
Merge "liblog: use log/log.h when utilizing ALOG macros"
2017-01-12 18:58:25 +00:00
Ryan Campbell
f276d1923e
Remove coverage from test configurations.
...
Remove converage from test configs or entire config if not used
to define other test params. Tested each one individually to ensure
coverage still works.
Test: run vts -m (each test affected)
Change-Id: Ic1495a38ae9d1b32e851bc646f9c8e778eee2df1
2017-01-11 16:20:44 -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
TreeHugger Robot
a8d358fb63
Merge changes from topic 'bphwfoo'
...
* changes:
Bp/nFoo -> Bp/nHwFoo.
Bp/nFoo -> Bp/nHwFoo
2017-01-11 23:43:16 +00:00
Yifan Hong
a18049ad13
Bp/nFoo -> Bp/nHwFoo.
...
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00
Tri Vo
fbd762204b
Add profiling for sensors, light, and power HALs.
...
Test: make vts
Change-Id: I564f3066dd61eacb4e138133d8df62840e24e99d
2017-01-10 17:46:16 -08:00
Steven Moreland
b0673ad808
lights: add coverage config
...
Bug: 32022457
Test: compiles
Change-Id: Ibd33c06b86064053417976187d49c1ae7135a9d2
2017-01-05 12:46:56 -08:00
Steven Moreland
b643842192
Return<*> getStatus().isOk() -> isOk()
...
Bug: 31348667
Test: compiles
Change-Id: If8d5a23f80dbc04127635b49f1ef77398fc9f8a1
2017-01-04 10:40:05 -08:00
TreeHugger Robot
91393dfcc8
Merge "light: add additional vts tests."
2016-12-29 00:15:37 +00:00
Steven Moreland
82401678cb
light: add additional vts tests.
...
- Add test for unsupported lights
- Add test for low persistance
- Removed sleeps which aren't required for test in order to speed things
up
Bug: 32022457
Test: ran test on device
Change-Id: I3d036f2679aa24fb05313633ca846529d532dd22
2016-12-28 14:44:14 -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
b62dc3e6ee
use the new oneshot vts driver generation build rule
...
Test: mma
Change-Id: Ib15399d6e7d5049b7a1912623ac2d95de9dfba73
2016-12-16 13:40:33 -08:00
Martijn Coenen
6e2086e0bb
Merge "Fix build."
2016-12-15 21:36:56 +00:00
Martijn Coenen
99196a3e80
Fix build.
...
Missing libhidlbase library.
Test: builds
Change-Id: I9129b90ac45d231c171e9740441b4cf8d8bd9688
2016-12-15 22:35:04 +01: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
Ryan Campbell
b1bca8b8c1
Add coverage flags to VTS light test.
...
Build test with coverage flags to support coverage measurement
at test time.
Test: pass
Bug: 32022457
Change-Id: Ia12f202900ecc243e43ed472c8609c2c7ccc3b4d
2016-12-12 10:59:32 -08:00
Tri Vo
a4c7c1ee12
enable vts tests for light hal.
...
Test: run vts -m LightHidlTargetTest --abi arm64-v8a
Change-Id: I27a1a0d8fe9b7a807815bba9b32b107ebf87925d
2016-12-05 13:40:01 -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
Yifan Hong
f9d303435d
Update to use the correct logging library.
...
Test: mma compiles
Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
2016-12-01 17:47:02 -08:00
Steven Moreland
9f8b5c7b16
Added AOSP license headers.
...
This is only for hals which are currently only in master. Separate
commit for hals currently in AOSP.
Test: pass
Change-Id: I0b1a09798c49f4f0141f36a322c4749e47eded03
2016-11-29 23:07:09 +00: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
cbf2fa03dd
Functional tests for lights hal.
...
Bug: 32022457
Test: light_hidl_hal_test
Change-Id: I28650ec69349dda82217e8db1b954a507cc264e5
2016-11-22 23:23:12 +00: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
Steven Moreland
bf0b586bbc
Add vts files and driver for light hal.
...
Bug: 32022457
Test: compiles
Change-Id: I5141d80996d51e41930c7398aa9aa4048b365f9b
2016-11-16 15:23:49 -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
TreeHugger Robot
2d27ff589c
Merge "Remove readproc from light."
2016-11-03 16:00:44 +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
Steven Moreland
d837395a46
Remove readproc from light.
...
Test: pass
Change-Id: I4209305519976ed4d9f4ebb80e6eb4b5385f0ed5
2016-11-01 14:22:19 -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
Steven Moreland
e7add0185c
Cleanup light service.
...
Test: make
Change-Id: I0cd0c3309a349a5fc9a7de5b4b6ec2df33dbb822
2016-10-14 08:36:34 -07:00
Steven Moreland
41db6ab899
Adding android.hardware.light@2.0 service.
...
Bug: 32022100
Test: end-to-end
Change-Id: I2d143f3a283e3a230c5ae4999e492f29ffe4234c
2016-10-11 16:22:35 -07:00
Steven Moreland
81f5da98ce
Light 2.0 hal default implementation.
...
Bug: 32022100
Test: end to end
Change-Id: Ifa3c170758b57179ecc7fa518adb62b4b5916e85
2016-10-11 16:22:22 -07:00
Steven Moreland
f44888812a
Add lights 2.0 hal.
...
Bug: 32022100
Test: make android.harware.light@2.0
Change-Id: I2f326f91d43f6dc6922f0c12fd7c764d6a992ca2
2016-10-11 16:22:04 -07:00