xref: /aosp_15_r20/development/samples/USB/AdbTest/_index.html (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1<p>AdbTest is a sample program that implements a subset of the <code>adb</code> USB protocol.
2Currently it only implements the <code>adb logcat</code> command and displays the log
3output in a text view and only allows connecting to one device at a time.
4However, the support classes are structured in a way that would allow
5connecting to multiple devices and running multiple <code>adb</code> commands simultaneously.</p>
6
7<p>This program serves as an example of the following USB host features:</p>
8
9<ul>
10<li>Matching devices based on interface class, subclass and protocol (see <code>device_filter.xml</code>)</li>
11
12<li>Asynchronous IO on bulk endpoints</li>
13</ul>