diff options
| author | Benoit Goby <benoitgoby@google.com> | 2012-06-06 15:51:07 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-06-06 15:51:07 -0700 |
| commit | c29569c5d3c1358983915596267e85e85c7f82e2 (patch) | |
| tree | 25a0ed84946d742aaa36a23a540f13a064abf6a4 /adb/adb.h | |
| parent | 845f106a93d5f8ed710c80293d22d23e1b17ed3c (diff) | |
| parent | fd96db17b7f07eb6615af01fd1908b74383bf04b (diff) | |
| download | system_core-c29569c5d3c1358983915596267e85e85c7f82e2.tar.gz system_core-c29569c5d3c1358983915596267e85e85c7f82e2.tar.bz2 system_core-c29569c5d3c1358983915596267e85e85c7f82e2.zip | |
Merge "FunctionFS: initial implementation"
Diffstat (limited to 'adb/adb.h')
| -rw-r--r-- | adb/adb.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -464,6 +464,17 @@ extern int SHELL_EXIT_NOTIFY_FD; #define CHUNK_SIZE (64*1024) +#if !ADB_HOST +#define USB_ADB_PATH "/dev/android_adb" + +#define USB_FFS_ADB_PATH "/dev/usb-ffs/adb/" +#define USB_FFS_ADB_EP(x) USB_FFS_ADB_PATH#x + +#define USB_FFS_ADB_EP0 USB_FFS_ADB_EP(ep0) +#define USB_FFS_ADB_OUT USB_FFS_ADB_EP(ep1) +#define USB_FFS_ADB_IN USB_FFS_ADB_EP(ep2) +#endif + int sendfailmsg(int fd, const char *reason); int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s); |
