Files
android_development/samples/USB/AdbTest
Sasha Smundak bef01b9173 Convert Android.mk files to Android.bp
See build/soong/README.md for more information.

Bug: 122332515
Test: treehugger
Change-Id: I0f6ae8d880114d1bc83f7aac2b96eafef76dc046
2019-06-25 14:18:16 -07:00
..
2011-05-03 17:55:19 -04:00
2011-05-03 17:55:19 -04:00
2011-05-03 17:55:19 -04:00
2011-05-03 17:55:19 -04:00
2011-05-03 17:55:19 -04:00

AdbTest is a sample program that implements a subset of the adb USB protocol.
Currently it only implements the "adb logcat" command and displays the log
output in a text view and only allows connecting to one device at a time.
However the support classes are structured in a way that would allow
connecting to multiple devices and running multiple adb commands simultaneously.

This program serves as an example of the following USB host features:

- Matching devices based on interface class, subclass and protocol (see device_filter.xml)

- Asynchronous IO on bulk endpoints