Commit graph

18 commits

Author SHA1 Message Date
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
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
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
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
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
99196a3e80 Fix build.
Missing libhidlbase library.

Test: builds
Change-Id: I9129b90ac45d231c171e9740441b4cf8d8bd9688
2016-12-15 22:35:04 +01: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
f9d303435d Update to use the correct logging library.
Test: mma compiles
Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
2016-12-01 17:47:02 -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
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