Searched refs:apacket (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/ |
D | adb.h | 42 typedef struct apacket apacket; typedef 59 struct apacket struct 61 apacket *next; argument 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); 253 void handle_packet(apacket *p, atransport *t); [all …]
|
D | transport_usb.c | 32 static inline void fix_endians(apacket *p) in fix_endians() 53 static int remote_read(apacket *p, atransport *t) in remote_read() 82 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | sockets.c | 130 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue() 201 apacket *p, *n; in local_socket_destroy() 273 apacket *p; in local_socket_event_func() 321 apacket *p = get_apacket(); in local_socket_event_func() 465 static int remote_socket_enqueue(asocket *s, apacket *p) in remote_socket_enqueue() 481 apacket *p = get_apacket(); in remote_socket_ready() 492 apacket *p = get_apacket(); in remote_socket_close() 544 apacket *p = get_apacket(); in connect_to_remote() 655 static int smart_socket_enqueue(asocket *s, apacket *p) in smart_socket_enqueue()
|
D | adb.c | 200 apacket *get_apacket(void) in get_apacket() 202 apacket *p = malloc(sizeof(apacket)); in get_apacket() 204 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); in get_apacket() 208 void put_apacket(apacket *p) in put_apacket() 229 void print_packet(const char *label, apacket *p) in print_packet() 271 apacket *p = get_apacket(); in send_ready() 281 apacket *p = get_apacket(); in send_close() 321 apacket *cp = get_apacket(); in send_connect() 333 apacket *p; in send_auth_request() 353 apacket *p = get_apacket(); in send_auth_response() [all …]
|
D | transport.c | 103 dump_packet(const char* name, const char* func, apacket* p) in dump_packet() 142 read_packet(int fd, const char* name, apacket** ppacket) in read_packet() 173 write_packet(int fd, const char* name, apacket** ppacket) in write_packet() 208 apacket *p = 0; in transport_socket_events() 217 void send_packet(apacket *p, atransport *t) in send_packet() 263 apacket *p; in output_thread() 318 apacket *p; in input_thread() 434 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() 447 apacket* p = get_apacket(); in device_tracker_send() 1200 int check_header(apacket *p) in check_header() [all …]
|
D | jdwp_service.c | 571 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue() 590 apacket* p = get_apacket(); in jdwp_socket_ready() 645 apacket* p = get_apacket(); in jdwp_process_list_updated() 678 apacket* p = get_apacket(); in jdwp_tracker_ready() 686 jdwp_tracker_enqueue( asocket* s, apacket* p ) in jdwp_tracker_enqueue()
|
D | transport_local.c | 33 static inline void fix_endians(apacket *p) in fix_endians() 58 static int remote_read(apacket *p, atransport *t) in remote_read() 89 static int remote_write(apacket *p, atransport *t) in remote_write()
|