summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2014-08-04 14:48:45 -0700
committerMike Lockwood <lockwood@google.com>2014-08-04 15:29:18 -0700
commit6b524d9b4552f20e4e689178bdb954a94daf7ab8 (patch)
treeb44736299a8a9fc1c051f70e398b2515c4c88367 /policy
parentf6b0c2f31b5ff08358f23cd30a743a741f345a1b (diff)
downloadframeworks_base-6b524d9b4552f20e4e689178bdb954a94daf7ab8.zip
frameworks_base-6b524d9b4552f20e4e689178bdb954a94daf7ab8.tar.gz
frameworks_base-6b524d9b4552f20e4e689178bdb954a94daf7ab8.tar.bz2
Add accessorytest Linux host tool for testing USB accessory audio and HID 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
Diffstat (limited to 'policy')
0 files changed, 0 insertions, 0 deletions