Commit graph

16 commits

Author SHA1 Message Date
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
TreeHugger Robot
15558bf93b Merge "USB HAL: Fix infinite loop." 2017-02-24 20:24:24 +00:00
TreeHugger Robot
6bce6f299d Merge "Allow reregistering callback" 2017-02-24 20:21:24 +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
Badhri Jagan Sridharan
6e718f9e4c Allow reregistering callback
Callbacks would have to be allowed being reregistered
to handle frameworks restarts.

Bug: 35758079
Test: adb shell stop; adb shell start; and see if USB notifications happen.
Change-Id: I256b4e714340f48c1dd8377e660cb28ebd716b8a
2017-02-24 19:56:02 +00:00
Badhri Jagan Sridharan
b31cbe9453 USB HAL: Fix infinite loop.
Bug: 35726475
Test: usb-service no longer consumes 100% CPU
Change-Id: I274caec45e7527cbacf57f9a735d711dcb481bfd
2017-02-24 05:52:25 -08:00
Tri Vo
e5b08a319b Rename usb test according to vts convention.
Test: make vts
Change-Id: If2e99f5510f01772e26b5867a7a0152025233715
2017-02-21 16:03:39 -08:00
Badhri Jagan Sridharan
014888453c VTS: USB: vts target test for USB HAL.
Test: vts-tradefed run vts -m UsbHidlTargetTest
Change-Id: Ib2c7b2dce2c8497a28501730fd32c2cd035f9e00
2017-02-17 17:21:52 -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
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
Badhri Jagan Sridharan
81ea748afa USB: HIDL: default implentation for the type-c interface
The default implementation should take care of legacy devices that
lauched before O.

BUG: 31015010
Test: Manually tested on Angler and sailfish for type-c role switches.
Change-Id: I8762598f4f82da5b2fe8a87aacc30728eb7921f5
2017-01-24 12:21:46 -08:00
Badhri Jagan Sridharan
2f162ef128 USB: HIDL: Type-c usb interface V1_0
This interface is responsible for handling type-c port enquiry
and role swtiching.

BUG: 31015010
Test: Manually tested on Angler and sailfish for type-c role switches.
Change-Id: I2c4fb01e7bd74f0483ab08b543e2ce294175bc35
2017-01-23 10:05:30 -08:00