History log of /frameworks/base/services/usb/java/com/android/server/usb/UsbPortManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6ea47a3542ad5fd79530cfd5d1e3b30c3d52f722 12-Aug-2015 Tim Kilbourn <tkilbourn@google.com> Use init to write usb typec props.

The sysfs nodes are owned by root, so we must use init to write to
them.

Bug: 21615151
Change-Id: Ia8c838827ff45794aa359443117ac85764cf3772
/frameworks/base/services/usb/java/com/android/server/usb/UsbPortManager.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/services/usb/java/com/android/server/usb/UsbPortManager.java