Commit Graph

6 Commits

Author SHA1 Message Date
Badhri Jagan Sridharan
5e309b9248 Usb Gadget hal implementation for wahoo
(cherry-pick of commit: e9af4669659c306a9c9b1a1ae3a1313a7631357d)

Bug: 63669128
Test: Tested USB gadget configurations and verified
that they enumerated.
Change-Id: If0f98697488f6c7cfe335d4c292acebaaba6c20f
2018-01-26 22:23:05 +00:00
Badhri Jagan Sridharan
07caa115dc USB HAL: Use 1.1 IUsb intead of 1.0 IUsb
Use 1.1 IUsb in order to make register the service as 1.1 compatible.
This enables lshal to recognize the hal service as 1.1 implementation.

Bug: 62917546
Test: Manually verified lshal output
android.hardware.usb@1.0::IUsb/default   0/1             782     6024 568
android.hardware.usb@1.1::IUsb/default   0/1             782     6024 568

Change-Id: I9b0817841dbcc345a1d854ee4a5193797181ea3f
2017-06-27 17:03:49 -07:00
Badhri Jagan Sridharan
fc32e28be9 USB: HAL: update wahoo hal to V1_1
This CL adds support to notify frameworks when an audio
or debug accessory is attached.

Bug: 36604276
Test: Manually test inserting an Audio accessory.
Change-Id: I9ec0f88ed85ed593b31132ba58bfedb51a435cd8
2017-04-26 21:09:10 +00:00
Badhri Jagan Sridharan
49e7f44507 USB: HIDL: check the status of registerAsService
registerAsService call could fail. Hence check the return value.

Bug: 36704362
Change-Id: I46dcd74dbee6aba72cf344f10854e5d4b1b6de18
2017-04-04 10:38:37 -07:00
Badhri Jagan Sridharan
dfc1cbd1d9 The IUsb interface uses "default" service name
By default, it is expected that the service does not rename itself
unless there is more than one service exposed by the interface. This
CL changes the usb hal service name back to "default" instead of
"usb_hal"

Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I4a0aa4423c80cd893c578bc58b9276956daba732
2017-03-28 14:28:16 -07:00
Badhri Jagan Sridharan
1cf5094895 USB HAL: type-c hal for muskie/walleye
Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I5ce520da521e0714001b60164ac850dddbd644c3
2017-03-27 20:18:35 +00:00