Searched refs:apacket (Results 1 - 7 of 7) sorted by relevance

/system/core/adb/
H A Dadb.h42 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);
176 int (*read_from_remote)(apacket *p, atransport *t);
177 int (*write_to_remote)(apacket *p, atransport *t);
237 void print_packet(const char *label, apacket *
[all...]
H A Dtransport_usb.c32 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)
H A Djdwp_service.c571 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 )
H A Dtransport.c98 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 fro
[all...]
H A Dadb.c199 apacket *get_apacket(void)
201 apacket *p = malloc(sizeof(apacket));
202 if(p == 0) fatal("failed to allocate an apacket");
203 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD);
207 void put_apacket(apacket *p)
228 void print_packet(const char *label, apacket *p)
270 apacket *p = get_apacket();
280 apacket *p = get_apacket();
320 apacket *c
[all...]
H A Dtransport_local.c30 static inline void fix_endians(apacket *p)
55 static int remote_read(apacket *p, atransport *t)
86 static int remote_write(apacket *p, atransport *t)
H A Dsockets.c130 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)

Completed in 279 milliseconds