Searched refs:apacket (Results 1 – 11 of 11) sorted by relevance
/system/core/adb/ |
D | socket.h | 24 struct apacket; 70 apacket *pkt_first; 71 apacket *pkt_last; 79 int (*enqueue)(asocket *s, apacket *pkt);
|
D | transport.h | 60 int (*read_from_remote)(apacket* p, atransport* t) = nullptr; 61 int (*write_to_remote)(apacket* p, atransport* t) = nullptr; 172 int check_header(apacket* p, atransport* t); 173 int check_data(apacket* p); 178 void send_packet(apacket* p, atransport* t);
|
D | adb.h | 67 struct apacket struct 69 apacket *next; argument 143 void print_packet(const char *label, apacket *p); 150 void handle_packet(apacket *p, atransport *t); 189 apacket *get_apacket(void); 190 void put_apacket(apacket *p);
|
D | adb_auth.cpp | 36 apacket *p; in send_auth_request() 56 apacket *p = get_apacket(); in send_auth_response() 75 apacket *p = get_apacket(); in send_auth_publickey()
|
D | transport.cpp | 51 static std::string dump_packet(const char* name, const char* func, apacket* p) { in dump_packet() 89 read_packet(int fd, const char* name, apacket** ppacket) in read_packet() 97 int len = sizeof(apacket*); in read_packet() 114 write_packet(int fd, const char* name, apacket** ppacket) in write_packet() 123 int len = sizeof(apacket*); in write_packet() 142 apacket *p = 0; in transport_socket_events() 151 void send_packet(apacket *p, atransport *t) in send_packet() 196 apacket *p; in read_transport_thread() 253 apacket *p; in write_transport_thread() 363 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() [all …]
|
D | transport_usb.cpp | 28 static int remote_read(apacket *p, atransport *t) in remote_read() 55 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | adb.cpp | 85 apacket* get_apacket(void) in get_apacket() 87 apacket* p = reinterpret_cast<apacket*>(malloc(sizeof(apacket))); in get_apacket() 92 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); in get_apacket() 96 void put_apacket(apacket *p) in put_apacket() 122 void print_packet(const char *label, apacket *p) in print_packet() 164 apacket *p = get_apacket(); in send_ready() 174 apacket *p = get_apacket(); in send_close() 209 apacket* cp = get_apacket(); in send_connect() 294 static void handle_new_connection(atransport* t, apacket* p) { in handle_new_connection() 317 void handle_packet(apacket *p, atransport *t) in handle_packet()
|
D | sockets.cpp | 125 static int local_socket_enqueue(asocket* s, apacket* p) { in local_socket_enqueue() 187 apacket *p, *n; in local_socket_destroy() 258 apacket* p; in local_socket_event_func() 308 apacket* p = get_apacket(); in local_socket_event_func() 452 static int remote_socket_enqueue(asocket* s, apacket* p) { in remote_socket_enqueue() 464 apacket* p = get_apacket(); in remote_socket_ready() 474 apacket* p = get_apacket(); in remote_socket_shutdown() 521 apacket* p = get_apacket(); in connect_to_remote() 650 static int smart_socket_enqueue(asocket* s, apacket* p) { in smart_socket_enqueue()
|
D | jdwp_service.cpp | 583 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue() 602 apacket* p = get_apacket(); in jdwp_socket_ready() 655 apacket* p = get_apacket(); in jdwp_process_list_updated() 688 apacket* p = get_apacket(); in jdwp_tracker_ready() 696 jdwp_tracker_enqueue( asocket* s, apacket* p ) in jdwp_tracker_enqueue()
|
D | transport_local.cpp | 56 static int remote_read(apacket *p, atransport *t) in remote_read() 81 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | socket_test.cpp | 117 apacket* p = get_apacket(); in CloseWithPacketThreadFunc()
|