|
Android-cuttlefish cvd tool
|
#include "sysdeps.h"#include "client/usb.h"#include <memory>#include "transport.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include "adb.h"
Macros | |
| #define | TRACE_TAG TRANSPORT |
| #define | CHECK_PACKET_OVERFLOW 1 |
Functions | |
| static int | UsbReadMessage (usb_handle *h, amessage *msg) |
| static int | UsbReadPayload (usb_handle *h, apacket *p) |
| static int | remote_read (apacket *p, usb_handle *usb) |
| void | init_usb_transport (atransport *t, usb_handle *h) |
| bool | is_adb_interface (int usb_class, int usb_subclass, int usb_protocol) |
| bool | is_libusb_enabled () |
| #define CHECK_PACKET_OVERFLOW 1 |
| #define TRACE_TAG TRANSPORT |
| void init_usb_transport | ( | atransport * | t, |
| usb_handle * | h | ||
| ) |
| bool is_adb_interface | ( | int | usb_class, |
| int | usb_subclass, | ||
| int | usb_protocol | ||
| ) |
| bool is_libusb_enabled | ( | ) |
|
static |
|
static |
|
static |