diff options
author | Mike Lockwood <lockwood@android.com> | 2010-12-30 13:39:37 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-01-22 15:56:09 -0800 |
commit | e7d511e148bc901ef41ac44d7b3593e5d803f72f (patch) | |
tree | 4561bf7d69a83c285c874c6b9ec038f9411d062c /packages | |
parent | f5426634d8228c5bc3fe968caf09cc369e5a9272 (diff) | |
download | frameworks_base-e7d511e148bc901ef41ac44d7b3593e5d803f72f.zip frameworks_base-e7d511e148bc901ef41ac44d7b3593e5d803f72f.tar.gz frameworks_base-e7d511e148bc901ef41ac44d7b3593e5d803f72f.tar.bz2 |
New APIs for USB host support:
UsbManager:
- is now a service retrievable via Context.getSystemService(Context.USB_SERVICE).
- provides support for returning a list all connected USB devices
- broadcasts ACTION_USB_DEVICE_ATTACHED and USB_DEVICE_DETACHED when devices
are added and removed from the USB host bus
UsbDevice:
- represents an attached USB device.
UsbInterface:
- represents an interface on a USB device
- devices may have multiple interfaces if they provide multiple
sets of functionality (for example, android phones typically have interfaces
for both USB mass storage and adb)
UsbEndpoint:
- represents an endpoint on a USB interface
- endpoints are used for sending or receiving data
(only in one or the other direction)
UsbRequest:
- encapsulates a send or receive request to be sent over an endpoint
Change-Id: Ieef3e434c62760770ea839070cf5eba1a705967a
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'packages')
0 files changed, 0 insertions, 0 deletions