Searched refs:apacket (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/ |
D | adb.h | 39 typedef struct apacket apacket; typedef 56 struct apacket struct 58 apacket *next; argument 101 apacket *pkt_first; 102 apacket *pkt_last; 110 int (*enqueue)(asocket *s, apacket *pkt); 166 int (*read_from_remote)(apacket *p, atransport *t); 167 int (*write_to_remote)(apacket *p, atransport *t); 218 void print_packet(const char *label, apacket *p); 237 void handle_packet(apacket *p, atransport *t); [all …]
|
D | transport_usb.c | 33 static inline void fix_endians(apacket *p) in fix_endians() 54 static int remote_read(apacket *p, atransport *t) in remote_read() 83 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | sockets.c | 127 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue() 198 apacket *p, *n; in local_socket_destroy() 254 apacket *p; in local_socket_event_func() 300 apacket *p = get_apacket(); in local_socket_event_func() 428 static int remote_socket_enqueue(asocket *s, apacket *p) in remote_socket_enqueue() 442 apacket *p = get_apacket(); in remote_socket_ready() 452 apacket *p = get_apacket(); in remote_socket_close() 502 apacket *p = get_apacket(); in connect_to_remote() 569 static int smart_socket_enqueue(asocket *s, apacket *p) in smart_socket_enqueue()
|
D | transport.c | 91 read_packet(int fd, apacket** ppacket) in read_packet() 134 write_packet(int fd, apacket** ppacket) in write_packet() 179 apacket *p = 0; in transport_socket_events() 188 void send_packet(apacket *p, atransport *t) in send_packet() 232 apacket *p; in output_thread() 288 apacket *p; in input_thread() 404 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() 417 apacket* p = get_apacket(); in device_tracker_send() 1009 int check_header(apacket *p) in check_header() 1024 int check_data(apacket *p) in check_data()
|
D | transport_local.c | 30 static inline void fix_endians(apacket *p) in fix_endians() 55 static int remote_read(apacket *p, atransport *t) in remote_read() 86 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | adb.c | 131 apacket *get_apacket(void) in get_apacket() 133 apacket *p = malloc(sizeof(apacket)); in get_apacket() 135 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); in get_apacket() 139 void put_apacket(apacket *p) in put_apacket() 158 void print_packet(const char *label, apacket *p) in print_packet() 199 apacket *p = get_apacket(); in send_ready() 209 apacket *p = get_apacket(); in send_close() 219 apacket *cp = get_apacket(); in send_connect() 301 void handle_packet(apacket *p, atransport *t) in handle_packet()
|
D | jdwp_service.c | 545 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue() 564 apacket* p = get_apacket(); in jdwp_socket_ready() 619 apacket* p = get_apacket(); in jdwp_process_list_updated() 652 apacket* p = get_apacket(); in jdwp_tracker_ready() 660 jdwp_tracker_enqueue( asocket* s, apacket* p ) in jdwp_tracker_enqueue()
|