summaryrefslogtreecommitdiffstats
path: root/libs/usb
Commit message (Collapse)AuthorAgeFilesLines
* resolved conflicts for merge of 1a4527ce to lmp-mr1-dev-plus-aospDan Albert2014-09-191-0/+2
|\ | | | | | | Change-Id: If649bd9ef98181a1e1e341cc5b73d237586fb72c
| * Clean up makefile cruft.Dan Albert2014-09-111-1/+2
| | | | | | | | | | | | The build system already takes care of all these things. Change-Id: Idef80b554e07cef5e5ed2adf1b5740a76f13ef6d
* | Add accessorytest Linux host tool for testing USB accessory audio and HID ↵Mike Lockwood2014-08-047-0/+928
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support. The tool supports testing USB audio by default. It reads audio from the ALSA device for the android phone in accessory mode and outputs it to the ALSA device for the PC's speaker. The default values work on my PC, but can be changed via command line options. When the -a option is specified, accessorytest also acts as the host side of the AccessoryChat test, so audio can be tested side by side with the accessory bulk endpoint support. When the -h option is specified, accessorytest will look for HID devices on the PC and proxy them to the phone over the accessory protocol. This requires running accessorytest as root. Change-Id: I1ea06d7201cd845b95a92a42594464783a90189b
* | resolved conflicts for merge of 22d07464 to masterNarayan Kamath2014-03-271-6/+6
|\ \ | |/ | | | | Change-Id: Ic037261eedd6e224938c960d2b4597590c81ed9d
| * AArch64: Make frameworks/base code more portableAshok Bhat2014-03-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in this patch include [x] Use %zu for size_t, %zd for ssize_t [x] Some minor changes have been done to conform with standard JNI practice (e.g. use of jint instead of int in JNI function prototypes) Change-Id: Id1aaa7894a7d0b85ac7ecd7b2bfd8cc40374261f Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
* | Fix accessorychat test programMike Lockwood2014-02-252-1/+53
|/ | | | Change-Id: Ib51b880f64b13e860721d594c900b45d5725b718
* AccessoryChat: use platform APIs and support Galaxy NexusSimon Wilson2012-02-074-13/+11
| | | | Change-Id: I171c2781f3d447bec46f0179351e1b18721b1b89
* am 9645081c: am 43707a83: UsbManager: minor Javadoc tweakMike Lockwood2011-04-111-2/+2
|\ | | | | | | | | * commit '9645081cc7f31e1151fedbcd5932a100719e91e4': UsbManager: minor Javadoc tweak
| * UsbManager: minor Javadoc tweakMike Lockwood2011-04-011-2/+2
| | | | | | | | | | Change-Id: I44efc54cd2a0991465aabe0ecea1b8a3291014c2 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * DO NOT MERGE: Backport more USB accessory changes from honeycombMike Lockwood2011-03-156-12/+45
| | | | | | | | | | Change-Id: I8459c5ab9fbf0b3cad752041484a5de44ca9badd Signed-off-by: Mike Lockwood <lockwood@android.com>
| * DO NOT MERGE: backport recent USB accessory changes from honeycombMike Lockwood2011-03-114-33/+167
| | | | | | | | | | | | | | Bug: 4082651 Change-Id: Ie7c2fc796dd3c64f803acbd14210e5949683f4ed Signed-off-by: Mike Lockwood <lockwood@android.com>
| * DO NOT MERGE: USB accessory support libraryMike Lockwood2011-03-0213-2/+1315
| | | | | | | | | | | | | | | | | | | | | | | | This provides a mechanism for developing applications to work with USB accessories in versions of android prior to the introduction of the android.hardware.UsbManager APIs. Applications should link against the com.android.future.usb.accessory library to use this support. Change-Id: I0b61e20b63eec42c506f0895a0c9a439bdfdf7f5 Signed-off-by: Mike Lockwood <lockwood@android.com>
| * DO NOT MERGE: Backport USB accessory support to gingerbreadMike Lockwood2011-03-012-0/+223
| | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* USB Manager string clean up:Mike Lockwood2011-03-152-6/+6
| | | | | | | | | | | - Use "Cancel" instead of "Ignore" - Customize the text for the "always use" checkbox for devices and accessories - Clean up strings for AccessoryChat test program Bug: 4074719 Change-Id: Ideec838e4c1f1a82ef4ae411c9124417ffb63165 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Add support for USB accessory serial numbersMike Lockwood2011-03-146-10/+43
| | | | | Change-Id: I47b79f091b300ced60bfc61eff2f771139663aae Signed-off-by: Mike Lockwood <lockwood@android.com>
* USB: minor cleanup workMike Lockwood2011-03-113-1/+33
| | | | | | | Bug: 4067029 Change-Id: Icd8f912ab8732b5f770a217b9b3731092597ce02 Signed-off-by: Mike Lockwood <lockwood@android.com>
* UsbAccessory: Add URI string, replace type string with descriptionMike Lockwood2011-03-093-16/+49
| | | | | | | | | | | | | | | | This is a first step toward adding USB accessory URI support BUG: 4073248 Modified USB accessory matching logic to look only at manufacturer, model and version (description and URI are not considered when matching apps to accessories) Also added test for USB accessory protocol version to accessorytest BUG: 4080288 Change-Id: I992a3433c74efa7a7db37bf030f02c1f0c92f9e2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Update USB accessory compatibility library to support new requestPermission APIMike Lockwood2011-03-092-21/+122
| | | | | | | BUG: 4069037 Change-Id: Ieadb86fed577eeb7697d524e8a684ea6ea632f39 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Combine the USB accessory support library with the platform featureMike Lockwood2011-03-026-10/+10
| | | | | | | Also renamed the support library to com.android.future.usb.accessory.jar Change-Id: Id6226991ce73f75dfedc497adf1c25bffb670243 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Move USB framework support from android.hardware to android.hardware.usb packageMike Lockwood2011-03-013-10/+10
| | | | | Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d Signed-off-by: Mike Lockwood <lockwood@android.com>
* USB accessory support libraryMike Lockwood2011-02-2811-0/+724
This provides a mechanism for developing applications to work with USB accessories in versions of android prior to the introduction of the android.hardware.UsbManager APIs. Applications should link against the com.google.android.usb library to use this support. Change-Id: I48ff80467fd9a6667aa84a758eca754132f546b9 Signed-off-by: Mike Lockwood <lockwood@android.com>