Searched refs:apacket (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/ |
D | adb.h | 43 typedef struct apacket apacket; typedef 60 struct apacket struct 62 apacket *next; argument 110 apacket *pkt_first; 111 apacket *pkt_last; 119 int (*enqueue)(asocket *s, apacket *pkt); 180 int (*read_from_remote)(apacket *p, atransport *t); 181 int (*write_to_remote)(apacket *p, atransport *t); 241 void print_packet(const char *label, apacket *p); 260 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 | 144 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue() 215 apacket *p, *n; in local_socket_destroy() 293 apacket *p; in local_socket_event_func() 341 apacket *p = get_apacket(); in local_socket_event_func() 493 static int remote_socket_enqueue(asocket *s, apacket *p) in remote_socket_enqueue() 509 apacket *p = get_apacket(); in remote_socket_ready() 520 apacket *p = get_apacket(); in remote_socket_shutdown() 589 apacket *p = get_apacket(); in connect_to_remote() 702 static int smart_socket_enqueue(asocket *s, apacket *p) in smart_socket_enqueue()
|
D | adb.c | 203 apacket *get_apacket(void) in get_apacket() 205 apacket *p = malloc(sizeof(apacket)); in get_apacket() 207 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); in get_apacket() 211 void put_apacket(apacket *p) in put_apacket() 232 void print_packet(const char *label, apacket *p) in print_packet() 274 apacket *p = get_apacket(); in send_ready() 284 apacket *p = get_apacket(); in send_close() 344 apacket *cp = get_apacket(); in send_connect() 356 apacket *p; in send_auth_request() 376 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() 1204 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()
|