ef4b303fc27056ae137563bc958eb3efd016972e |
|
19-Apr-2017 |
Badhri Jagan Sridharan <Badhri@google.com> |
Update UsbService to V1_1 usb hal This CL adapts Usb service to V1_1 hal. V1_1 hal supports reporting audio_adapter accessory and debug accessory. Bug: 36604276 Test: Manually test inserting an Audio accessory. Also tested to made sure that change is compatible with V1_0 implementations Change-Id: I8e44f5e9ae14b0e41965e8d355c99ac42af93f23
/frameworks/base/core/java/android/hardware/usb/UsbPort.java
|
823287d28ed75f96cee31cf465220fcbcbc5c7ac |
|
24-Jan-2017 |
Badhri Jagan Sridharan <Badhri@google.com> |
Refactor UsbPortManager to use the binderised USB HAL Move to a USB HAL to handle type-c ports as upstream is considering in merging a generic type-c interface to mainline kernel. However, the new sysfs interface can see minor changes in the future as the sysfs interface is sitll going to land in testing and it is still under review. Bug: 31015010 Test: Manually tested on Angler and sailfish for type-c role switches. Change-Id: I26771074c4b4f79a133e519bc6d35a4864a696d8
/frameworks/base/core/java/android/hardware/usb/UsbPort.java
|
76c4c6668a1486bc003ab0c585bb1f41d16e27a7 |
|
07-Jul-2015 |
Jeff Brown <jeffbrown@google.com> |
Add USB port manager. Add some new internal APIs to enumerate USB Type C ports, query their status, determine whether they support changing power or data roles, and doing so. The API also adds a new ACTION_USB_PORT_CHANGED broadcast for port state changes. The implementation includes a mechanism for simulating the behavior of the USB stack. See 'adb shell dumpsys usb -h' for details. Note that the underlying kernel driver interface is still subject to change but its behavior has been encapsulated as much as possible. Bug: 21615151 Change-Id: I0c853ae179248a4550b3e60d02a7a7e65e4546b2
/frameworks/base/core/java/android/hardware/usb/UsbPort.java
|