xref: /aosp_15_r20/development/samples/USB/AdbTest/README.txt (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard WorkerAdbTest is a sample program that implements a subset of the adb USB protocol.
2*90c8c64dSAndroid Build Coastguard WorkerCurrently it only implements the "adb logcat" command and displays the log
3*90c8c64dSAndroid Build Coastguard Workeroutput in a text view and only allows connecting to one device at a time.
4*90c8c64dSAndroid Build Coastguard WorkerHowever the support classes are structured in a way that would allow
5*90c8c64dSAndroid Build Coastguard Workerconnecting to multiple devices and running multiple adb commands simultaneously.
6*90c8c64dSAndroid Build Coastguard Worker
7*90c8c64dSAndroid Build Coastguard WorkerThis program serves as an example of the following USB host features:
8*90c8c64dSAndroid Build Coastguard Worker
9*90c8c64dSAndroid Build Coastguard Worker- Matching devices based on interface class, subclass and protocol (see device_filter.xml)
10*90c8c64dSAndroid Build Coastguard Worker
11*90c8c64dSAndroid Build Coastguard Worker- Asynchronous IO on bulk endpoints