Keun Soo YIM
ff84c37bc1
pack VTS cc_test binaries as general-tests
...
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Zhuoyao Zhang
e01b187b9d
Convert thermal hal test to use VtsHalHidlTargetTestEnvBase
...
Bug: 64203181
Test: make vts
vts-tradefed run vts -m VtsHalThermalV1_0Target
vts-tradefed run vts -m VtsHalThermallV1_1Target
Change-Id: I460fc2bc56770b7acb31d47693e08f80aa30b154
2018-02-14 20:44:18 +00:00
Steven Moreland
f27cfa15d7
Merge "Remove useless Android.mk files."
...
am: 75d5cf515a
Change-Id: I8c0918c4a787cc3f4c7c69f52737d3a0d9d64426
2017-10-05 21:44:26 +00:00
Steven Moreland
4b60470f1a
Remove useless Android.mk files.
...
These have been c/p'd all over the place.
Test: m -j nothing
Bug: 33420795
Change-Id: I77979866dbb2345a41a873c84ec3fccd7b127510
2017-10-04 15:52:40 -07:00
Tri Vo
ba6d6e5767
VTS tests now static link to HAL def libs.
...
am: b65c5ceff2
Change-Id: I393284c12ca5cb79926c4891ffcfd332408a5b9f
2017-08-28 19:23:36 +00:00
Tri Vo
b65c5ceff2
VTS tests now static link to HAL def libs.
...
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.
Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
2017-08-25 11:48:10 -07:00
Polina Bondarenko
2ff86c4bcf
thermal: fix VTS test for default implementation
...
Bug: 36097196
Test: vts
Change-Id: I67cceb672a9ba67ae760019c0521d31544416882
2017-04-05 16:54:57 +02:00
Yuexi Ma
ed2bb4e8f8
Change vts target base test class name
...
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
2017-03-10 21:14:48 +00:00
Steven Moreland
48c52249e4
hidl_default to all targets.
...
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: pass
Bug: 35840847
Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
2017-03-08 19:31:53 -08:00
Yuexi Ma
50d7e27b3c
change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)
...
Bug: 33385836
Test: mma
Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
2017-02-28 22:27:28 +00:00
Steven Moreland
7e73d5b908
Remove viral dependency on libhwbinder. (2/2)
...
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
Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.
Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
2017-02-24 12:18:01 -08:00
Tri Vo
d94a7d2df9
Remove .vts spec files
...
Test: mmma hardware/interfaces
Change-Id: Idae97ce60a6368cfa685ae6b2d71b9ad163e8605
2017-02-22 12:53:52 -08:00
Zhuoyao Zhang
8422f6aa04
Update the test binary and source file name on master.
...
* To confirm with Vts naming convention.
Bug: 35273456
Test: mma
Change-Id: I845da64085253cd02480465479618308045a52ed
2017-02-21 20:47:18 -08:00
Ryan Campbell
2caf0a60f3
Remove coverage flags from tests.
...
Remove unnecessary coverage flags from HAL tests.
Bug: 32749731
Test: none
Change-Id: I7e4e3bce2d9d444bfa8475c140bce2ee7e3b0c0d
2017-02-14 16:50:34 -08:00
Zhuoyao Zhang
3bef939f94
Update .vts files on master based on the latest .hal file and hidl-gen
...
Test: mma
Change-Id: I9558f300505db83e26f7c241c5cf729cd005a07b
2017-02-13 18:03:06 -08:00
Chris Phoenix
5d1dc850a3
thermal 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: If9599b83526779cc38b1550698487f6240e26e45
2017-02-06 10:57:36 -08:00
Keun Soo Yim
7b9b6ca18f
move VTS stub files and non-functional tests
...
Test: mma
Bug: 34976004
Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4
2017-02-04 02:45:25 +00:00
Keun Soo Yim
b21bdc8b9f
use the device's default binder/passthrough mode in vts tests
...
Test: mma
Change-Id: I3f2775873f5b6c091f70413adbdf7b7ae298ff44
2017-01-25 15:08:12 -08:00
Polina Bondarenko
93a2d68efe
thermal: substitute undefined temperature by NAN.
...
Bug: 34107726
Test: vts, cts
Change-Id: Ia6e9e83691e8b6b5e2760579e1131a5994a48572
2017-01-19 19:29:36 +00:00
Polina Bondarenko
ea076f2503
Revert "thermal: add getUndefinedTemperature function."
...
This reverts commit 3c053c66c9
.
Change-Id: Ie1d7b80052d26575544d2039b59171fe03b3c8b9
2017-01-19 13:58:14 +00:00
Polina Bondarenko
3c053c66c9
thermal: add getUndefinedTemperature function.
...
Bug: 34107726
Test: cts, vts
Change-Id: I8a3794158fbc0c9518a26f4616263aa464b43924
2017-01-18 14:39:07 +01: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
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
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
Zhuoyao Zhang
d0a2845583
Another fix of ThermalHidlBasicTest config.
...
Test: run vts -m ThermalHidlTargetTest
Change-Id: I5697b527e0443d6788e3b533290a0e4b65d38dcc
2016-12-22 10:57:13 -08:00
Zhuoyao Zhang
f5fda216e2
Fix ThermalHidlBasicTest config.
...
Test: make vts.
Change-Id: Ia9213089984ce2f97cb70a75e007066e796ad0b2
2016-12-22 10:46:23 -08:00
TreeHugger Robot
187508a63a
Merge "Build target-side Thermal test with coverage."
2016-12-22 08:57:49 +00:00
Keun Soo Yim
516e8193b3
regen makefiles and delete old vts driver build rules
...
Test: mma
Change-Id: I71c4fd68ea6d7a2fac2457b87c82c10490dfb05e
2016-12-21 13:25:46 -08:00
Polina Bondarenko
8200a153a6
Build target-side Thermal test with coverage.
...
Instrument Thermal test with coverage so that coverage can be collected
on Thermal implementation.
Test: make vts
Change-Id: I01e4bdf42351034d5fa0a0ff32848f33e0db3980
2016-12-21 10:49:52 +01: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
aa61067c14
enable profiling directly from AndroidTest.xml
...
Test: local
Change-Id: If13be820766f54ff154f350cbbacbab9dffe07d2
2016-11-29 18:51:03 -08:00
Keun Soo Yim
69431a4f68
increase the thermal hal timeout to 5m
...
Test: vts-tradefed; run vts-hal-hidl
Change-Id: I66e36d24a8a55b2b61797b8cadc18b5891d5a051
2016-11-22 08:58:18 -08: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
Yifan Hong
6b920e43d3
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Polina Bondarenko
59d05ebc9e
Add Thermal HAL VTS
...
Bug: 32022734
Test: vts
Change-Id: I29ecd8b9da8275674343bce73c9f9deb20692bf2
2016-11-17 16:15:45 +01:00