Commit graph

52 commits

Author SHA1 Message Date
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