Steven Moreland
3b36a83a2e
Update makefiles (2/2).
...
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -07:00
Andreas Huber
40d3a9bd8c
Convert all comments into "doxygen-ready" comments.
...
Bug: 36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
2017-03-29 08:53:58 -07:00
Steven Moreland
561b602a99
Update makefiles for hwtypes.h
...
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Shubang
0efb7e07a2
Sync the constants in HAL and framework
...
Test: build and flash device.
Bug: 36233336
Change-Id: I8134b8bded5e31561a97938bdf86a43f7c2b6dc5
2017-03-27 13:09:04 -07:00
Steven Moreland
c8e2b3f7c5
Remove viral readproc group dependency.
...
This has been copy pasted and isn't actually required.
Test: all hals manually tested to work on internal marlin (which have them binderized).
Note: tv hals not tested (and they never have been). Filed b/36562029
Note: for thermal hal, could only run VTS/check logs for errors.
Test: lshal outputs proper stuff
Fixes: 31928447
Change-Id: Id1be584dc0fa2d70e9189b922335146bf6d1382d
2017-03-23 19:49:37 +00:00
Shubang Lu
08216a5777
Merge "Add a field for auto cable plugin detection in TV Input HAL"
2017-03-15 17:29:11 +00:00
Shubang
4b43ed728f
Add a field for auto cable plugin detection in TV Input HAL
...
Test: make vts -j8;
Bug: 28715954
Change-Id: I4eb39cd88d9df751867400d3ee344ff781e3bb21
2017-03-13 10:18:37 -07: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
Chris Phoenix
bb824a09a9
tv_cec 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: I380736fdf1cc85976c24f104e2cf5cb22ec24364
2017-02-16 22:50:54 +00: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
f008f8fdc4
Merge "Update .vts files on master based on the latest .hal file and hidl-gen"
2017-02-14 18:51:27 +00: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
Steven Moreland
a0da1a1c3d
Move hidl shims to the vendor partition. (2/2)
...
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
2017-02-13 15:03:41 -08:00
Tri Vo
85120c9490
Update makefiles to use filgroup syntax.
...
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
Andreas Huber
d38f147c35
Updated makefiles
...
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.
Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 17:20:45 -08:00
Tri Vo
ce608bec74
Migrate driver/profiler to test/vts-testcase/hal.
...
Bug: 34893894
Test: mmma hardware/interfaces
Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00
Shubang
8324f70146
Add tests to tv_input_hidl_hal_test
...
Test: make vts; vts-tradefed; run -m HalTvInputHidlTargetTest
Change-Id: Ia7d9cf68ae5b296f45c0999b6c295945921abc7d
2017-02-06 11:01:32 -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
Zhuoyao Zhang
e9b43bbe2d
Update Andriod.bp for hals.
...
* Add driver/profiler build rule for all hals.
Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
2017-02-03 10:03:01 -08:00
Yuexi Ma
f2336a1792
Merge "Add coverage to tv_input, tv_cec, and vehicle vts hal tests"
2017-01-30 16:06:51 +00:00
Shubang
528f49131a
TV Input target-side test
...
Test: make vts; vts-tradefed; run -m HalTvInputHidlTargetTest
Change-Id: Ifd8a178c9d1dde9b8e87ba0ff06aad75a811b420
2017-01-27 15:53:10 -08:00
Yuexi Ma
b761fd4a29
remove unused include subdir line from Android.mk file at leaf directory
...
Bug: 34695422
Test: make vts
Change-Id: I1f7bcacdd8790f3bb13bc6aa7d80e485db4a4dc4
2017-01-27 00:05:38 +00:00
Yuexi Ma
a7cb8ba677
Add coverage to tv_input, tv_cec, and vehicle vts hal tests
...
Bug: 34671241
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module TvInputHidlTest -l INFO
Change-Id: Id470d57b15d68fdb9518f565384501887de78826
2017-01-25 01:11:48 -08:00
Chris Phoenix
dcc29365d3
Merge "TvInput HAL uses "default" service name"
2017-01-20 23:17:15 +00:00
TreeHugger Robot
cd912948cf
Merge "Add tv input and cec profiling test"
2017-01-20 18:16:37 +00:00
Yuexi Ma
ad694b36a8
Add tv input and cec profiling test
...
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module TvCecHidlProfilingTest -l INFO
Change-Id: Id7a12f6b6b63e5208f7a8d568e4cb457a8a05a9b
2017-01-20 00:24:12 +00:00
Chris Phoenix
7b1af27ee0
TvInput 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
In support of b/33844934
Change-Id: I6d152b95c39723c72f527c0767d2f3775e9a29f1
2017-01-18 18:53:15 -08:00
Steven Moreland
66816de87f
Remove useless Android.mk files.
...
Test: none
Change-Id: I99f4d3e5b943742009e366b13bee2c32e38a3fba
2017-01-18 11:49:08 -08:00
Yuexi Ma
1fcf593701
Remove empty Android.mk files for 3 test projects
...
Removing empty intermediate Android.mk files for vehicle, tv cec, and tv input vts test projects.
Replaced with direct pointing to the Android.mk file under functional/vts/testcases/hal
Test: make vts
Change-Id: I64a0a7c236f2ef6a2019cbde3b93ac2324df3752
2017-01-18 00:43:33 +00: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
Yifan Hong
a18049ad13
Bp/nFoo -> Bp/nHwFoo.
...
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00
Keun Soo Yim
481f8d66e5
Use a new lib to generate a struct argument message musing a Py dict
...
Test: vts-tradefed - run vts -m TvCecHidlTest
Bug: 34132671
Change-Id: I100e01c0f18afc6a4f4c36966589acc7fed39f7a
2017-01-09 18:19:51 -08:00
TreeHugger Robot
35e47f5345
Merge "use a struct argument in Tv CEC HIDL test"
2017-01-09 18:12:55 +00:00
Keun Soo Yim
df1a6eb039
use a struct argument in Tv CEC HIDL test
...
Test: TvCecHidlTest using fugu build
Change-Id: Idfa980a790d418d6b693805bf351d33b940cf7b2
2017-01-09 03:50:41 +00:00
Yuexi Ma
3427948833
Merge "correct the service name for tv cec hal in vts test"
2017-01-06 18:43:13 +00:00
Yuexi Ma
bb8cb83f11
correct the service name for tv cec hal in vts test
...
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module TvCecHidlTest -l INFO
Change-Id: I7a250df23aa334c0db63c4536f2c865e3c6322f7
2017-01-06 18:40:57 +00:00
Yuexi Ma
2e894ea46d
Merge "include vts profiler for tv input hal test"
2017-01-06 18:40:24 +00:00
Yuexi Ma
571d3eed02
specify binder dervice name and bits for tv input hal test
...
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module TvInputHidlTest -l INFO
Change-Id: I3277bec0a616eff2e839da92cca1e557ea1c742c
2017-01-05 19:35:33 -08:00
Yuexi Ma
c8b15e7cfa
include vts profiler for tv input hal test
...
Bug: 33966927
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32
Change-Id: Ief63985a29548c9fbda43a4ce6233a7cadc9b1ae
2017-01-06 01:44:22 +00: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
Yuexi Ma
3fcbd1fd13
Tv Input Hal VTS test.
...
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VibratorHidlTest -l INFO
Change-Id: I32d41faf70b12c6248f274d1910f843e7b00c41f
2016-12-29 14:58:35 -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
516e8193b3
regen makefiles and delete old vts driver build rules
...
Test: mma
Change-Id: I71c4fd68ea6d7a2fac2457b87c82c10490dfb05e
2016-12-21 13:25:46 -08:00
Keun Soo Yim
90a7a42ed0
use passthough mode and specify the hwbinder service name
...
Test: mma
Bug: 33552122
Change-Id: I006f08d547facb25a91e1a785d267127faa1bd67
2016-12-20 00:39:25 +00: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
Yuexi Ma
0c07b20aa8
Merge "tv hdmi vts test init"
2016-12-16 21:28:58 +00: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
Yuexi Ma
09b86957a8
tv hdmi vts test init
...
Test: make vts
Change-Id: Ia101262c912648ecc0a77a43e1c976f3d0108a9b
2016-12-12 18:50:12 -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
Yuexi Ma
89104475f5
Merge "VTS driver and profiler module for tv input hal."
2016-12-01 05:56:27 +00:00
Yuexi Ma
e5f2e674de
VTS driver and profiler module for tv input hal.
...
Test: local
Change-Id: I0fd52b948a34f4d78e558d868de7afd945585cb7
2016-11-30 17:32:27 -08:00
Yuexi Ma
270712a7c3
VTS driver and profiler module for tv cec hdmi hal
...
Test: local
Change-Id: I39af03e2cefb2f04b833b864bcf0a8e05e57166e
2016-12-01 01:31:42 +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
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
d26dc50abb
Always specify underlying enum type.
...
Bug: 33197891
Test: compiles
Change-Id: I3d4822ea9a665708302d3bd1460425fddf1dcda9
2016-11-29 14:22:10 -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
Yifan Hong
6b920e43d3
Split libhidl into base and transport.
...
Bug: 32756130
Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
TreeHugger Robot
de4d37fe06
Merge "tv.cec: Handle an unused argument warning"
2016-11-17 22:49:47 +00:00
Donghyun Cho
c6fe6cf3f6
tv.cec: Handle an unused argument warning
...
Bug: 32748972
Test: mmm hardware/interfaces/tv/cec/1.0/default
Change-Id: I67cb1c7bbc3b6355a274054cf0dc389182c80b9c
2016-11-15 11:38:39 +09:00
Steven Moreland
2c68cc4457
Ran update-makefiles.sh
...
Test: pass
Change-Id: Ia9d14d29ce9f5dc4688cc177bf747c7f11223b2b
2016-11-11 17:21:31 -08:00
Yifan Hong
c2f2779d9d
Update Android.bp to reexport dependent packages.
...
Test: mma
Change-Id: Iaca7300c366c2c9e860a29e6a111248d315cc5b4
2016-11-09 10:28:38 -08:00
TreeHugger Robot
d47600fead
Merge "tv.cec: Add a constant and fix cec module name"
2016-11-08 07:53:00 +00: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
Donghyun Cho
c22bed3255
tv.cec: Add a constant and fix cec module name
...
Bug: 32073236
Test: Checked CEC features works on fugu after applying Treble HAL
Change-Id: I70f542dff6dce7b336523788a4e203f432b1b6a7
2016-11-05 02:53:43 +09:00
Donghyun Cho
260a5de36e
Merge "hdmi_cec: Add HIDL definition and default implementation"
2016-11-02 20:37:34 +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
Donghyun Cho
8bdb7f9b37
hdmi_cec: Add HIDL definition and default implementation
...
Bug: 32073236
Test: make
Change-Id: I6f98bf0c523e31e2863a3c0379d7fda1ef51b0d6
2016-11-02 02:35:16 +09:00
Steven Moreland
69727778a7
Stop all these merge conflicts.
...
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:04:37 +02:00
Dongwon Kang
7408849ad0
tv.input: add android.hardware.tv.input@1.0-(impl|service)
...
Test: end-to-end test with SW hal implementation
Bug: 32096101
Change-Id: Ieae2129ffd90cdd5f4605bd7cbcb2d7c9ed36f42
2016-10-25 14:16:10 -07:00
Dongwon Kang
0fa472ff4b
tv.input: add HIDL definition for TV Input HAL
...
Note: Capturing and buffer producer paths have been removed since
there is no use case.
Test: make
Bug: 32096101
Change-Id: Ia00643ee07aadd15b00075f24711e2eaab1ae87d
2016-10-25 14:16:07 -07:00