Zhuoyao Zhang
fce6cdc995
Convert gatekeeper hal test to use VtsHalHidlTargetTestEnvBase
...
Bug: 64203181
Test: make vts
vts-tradefed run vts -m VtsHalGatekeeperV1_0Target
Change-Id: I55aa7abbb8c5ffa504aac1ed79a07de1139d606b
2018-02-10 12:39:00 -08: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
Steven Moreland
4e7a307730
Fix transitive includes.
...
Files relying on transitive include of utils/Log.h (and things that it
includes) from MQDescriptor.h
Test: pass
Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4
Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
2017-04-06 22:04:05 +00: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
TreeHugger Robot
2653620a61
Merge "Remove viral dependency on libhwbinder. (2/2)"
2017-02-24 23:25:26 +00:00
Chris Phoenix
2e3821a2d0
gatekeeper 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: I66ede7833e61d9cf255238888099aa73986b1946
2017-02-24 23:15:44 +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
Ryan Campbell
b7a7754028
Add test case to gatekeeper VTS tests.
...
Add negative test case for delete user.
Test: run vts -m VtsHalGatekeeperV1_0Target
Bug: 32021941
Change-Id: I0a4c27561761dd83b2e6e30eecca027f3dfa010a
2017-02-22 16:49:01 -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
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
Ryan Campbell
adbf844ad8
Build the gatekeeper tests with coverage flags.
...
Build gatekeeper test with coverage so that coverage can be measured
on coverage runs.
Test: make
Bug: 32021941
Change-Id: I61ad6e975875b3d5f12abe922a81bdff641db5fb
2017-02-01 09:51:19 -08:00
Ryan Campbell
f16a70a9ac
Increase timeout for gatekeeper tests.
...
Increase gatekeeper test timeout from 1m to 5m. Remove unnecessary
py files.
Test: make vts; run vts -m HalGatekeeperHidlTargetBasicTest
Bug: 34858043
Change-Id: I654c17f33ebd44c07ebbdc8310329220079a3e36
2017-01-31 17:13:16 -08:00
TreeHugger Robot
0e9b1d9f1f
Merge "Fix HalGatekeeperHidlTargetBasicProfilingTest."
2017-01-26 07:31:39 +00:00
Zhuoyao Zhang
42a4cdf70c
Fix HalGatekeeperHidlTargetBasicProfilingTest.
...
* Similar fix for HalMemtrackHidlTargetProfilingTest
Test: make vts.
Change-Id: I999d18c53e321921f4bc1a4babe34520cc496321
2017-01-25 21:26:53 -08: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
Ryan Campbell
ee562ba30f
Create gatekeeper profiling test.
...
Create HalGatekeeperHidlTargetBasicProfilingTest.
Test: make vts
Bug: 34178574
Change-Id: Ieebd4b82a7f6ffd4437e5488067a86820e1dfeeb
2017-01-11 20:47:27 +00:00
Steven Moreland
b643842192
Return<*> getStatus().isOk() -> isOk()
...
Bug: 31348667
Test: compiles
Change-Id: If8d5a23f80dbc04127635b49f1ef77398fc9f8a1
2017-01-04 10:40:05 -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
Alexey Polyudov
96f4a89e5b
gatekeeper vts tests
...
Change-Id: I51eadf624341f4e5399cd73fdaf222d19701e611
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-12-01 09:37:22 -08:00