/bootable/recovery/minadbd/ |
adb.h | 42 typedef struct apacket apacket; typedef in typeref:struct:apacket 58 struct apacket struct 60 apacket *next; 103 apacket *pkt_first; 104 apacket *pkt_last; 112 int (*enqueue)(asocket *s, apacket *pkt); 168 int (*read_from_remote)(apacket *p, atransport *t); 169 int (*write_to_remote)(apacket *p, atransport *t); 196 void print_packet(const char *label, apacket *p) [all...] |
adb.c | 129 apacket *get_apacket(void) 131 apacket *p = malloc(sizeof(apacket)); 132 if(p == 0) fatal("failed to allocate an apacket"); 133 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); 137 void put_apacket(apacket *p) 156 void print_packet(const char *label, apacket *p) 197 apacket *p = get_apacket(); 207 apacket *p = get_apacket(); 217 apacket *cp = get_apacket() [all...] |
transport_usb.c | 28 static inline void fix_endians(apacket *p) 49 static int remote_read(apacket *p, atransport *t) 78 static int remote_write(apacket *p, atransport *t)
|
sockets.c | 130 static int local_socket_enqueue(asocket *s, apacket *p) 201 apacket *p, *n; 266 apacket *p; 314 apacket *p = get_apacket(); 424 static int remote_socket_enqueue(asocket *s, apacket *p) 440 apacket *p = get_apacket(); 451 apacket *p = get_apacket(); 503 apacket *p = get_apacket(); 596 static int smart_socket_enqueue(asocket *s, apacket *p)
|
transport.c | 98 dump_packet(const char* name, const char* func, apacket* p) 137 read_packet(int fd, const char* name, apacket** ppacket) 168 write_packet(int fd, const char* name, apacket** ppacket) 203 apacket *p = 0; 212 void send_packet(apacket *p, atransport *t) 258 apacket *p; 282 D("%s: failed to write apacket to transport\n", t->serial); 300 D("%s: failed to write SYNC apacket to transport", t->serial); 313 apacket *p; 321 D("%s: failed to read apacket from transport on fd %d\n" [all...] |
/system/core/adb/ |
adb.h | 42 typedef struct apacket apacket; typedef in typeref:struct:apacket 59 struct apacket struct 61 apacket *next; 109 apacket *pkt_first; 110 apacket *pkt_last; 118 int (*enqueue)(asocket *s, apacket *pkt); 173 int (*read_from_remote)(apacket *p, atransport *t); 174 int (*write_to_remote)(apacket *p, atransport *t); 234 void print_packet(const char *label, apacket *p) [all...] |
transport_usb.c | 32 static inline void fix_endians(apacket *p) 53 static int remote_read(apacket *p, atransport *t) 82 static int remote_write(apacket *p, atransport *t)
|
jdwp_service.c | 571 jdwp_socket_enqueue( asocket* s, apacket* p ) 590 apacket* p = get_apacket(); 645 apacket* p = get_apacket(); 678 apacket* p = get_apacket(); 686 jdwp_tracker_enqueue( asocket* s, apacket* p )
|
transport.c | 103 dump_packet(const char* name, const char* func, apacket* p) 142 read_packet(int fd, const char* name, apacket** ppacket) 173 write_packet(int fd, const char* name, apacket** ppacket) 208 apacket *p = 0; 217 void send_packet(apacket *p, atransport *t) 263 apacket *p; 287 D("%s: failed to write apacket to transport\n", t->serial); 305 D("%s: failed to write SYNC apacket to transport", t->serial); 318 apacket *p; 326 D("%s: failed to read apacket from transport on fd %d\n" [all...] |
adb.c | 200 apacket *get_apacket(void) 202 apacket *p = malloc(sizeof(apacket)); 203 if(p == 0) fatal("failed to allocate an apacket"); 204 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); 208 void put_apacket(apacket *p) 229 void print_packet(const char *label, apacket *p) 271 apacket *p = get_apacket(); 281 apacket *p = get_apacket(); 321 apacket *cp = get_apacket() [all...] |
transport_local.c | 33 static inline void fix_endians(apacket *p) 58 static int remote_read(apacket *p, atransport *t) 89 static int remote_write(apacket *p, atransport *t)
|
sockets.c | 130 static int local_socket_enqueue(asocket *s, apacket *p) 201 apacket *p, *n; 273 apacket *p; 321 apacket *p = get_apacket(); 465 static int remote_socket_enqueue(asocket *s, apacket *p) 481 apacket *p = get_apacket(); 492 apacket *p = get_apacket(); 544 apacket *p = get_apacket(); 655 static int smart_socket_enqueue(asocket *s, apacket *p)
|