Searched refs:apacket (Results 1 – 12 of 12) sorted by relevance
/system/core/adb/ |
D | socket.h | 26 struct apacket; 69 apacket* pkt_first; 70 apacket* pkt_last; 78 int (*enqueue)(asocket* s, apacket* pkt);
|
D | adb.h | 71 struct apacket struct 73 apacket *next; argument 82 uint32_t calculate_apacket_checksum(const apacket* packet); argument 126 void print_packet(const char *label, apacket *p); 133 void handle_packet(apacket *p, atransport *t); 172 apacket *get_apacket(void); 173 void put_apacket(apacket *p);
|
D | transport.h | 74 int (*read_from_remote)(apacket* p, atransport* t) = nullptr; 77 void SetWriteFunction(int (*write_func)(apacket*, atransport*)) { write_func_ = write_func; } in SetWriteFunction() argument 80 int Write(apacket* p); 169 int (*write_func_)(apacket*, atransport*) = nullptr; 225 bool check_header(apacket* p, atransport* t); 226 bool check_data(apacket* p); 231 void send_packet(apacket* p, atransport* t);
|
D | transport_usb.cpp | 51 static int UsbReadPayload(usb_handle* h, apacket* p) { in UsbReadPayload() 69 static int remote_read(apacket* p, atransport* t) { in remote_read() 113 static int remote_read(apacket *p, atransport *t) in remote_read() 141 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | transport.cpp | 68 static std::string dump_packet(const char* name, const char* func, apacket* p) { in dump_packet() 104 static int read_packet(int fd, const char* name, apacket** ppacket) { in read_packet() 112 int len = sizeof(apacket*); in read_packet() 128 static int write_packet(int fd, const char* name, apacket** ppacket) { in write_packet() 137 int len = sizeof(apacket*); in write_packet() 155 apacket* p = 0; in transport_socket_events() 164 void send_packet(apacket* p, atransport* t) { in send_packet() 194 apacket* p; in read_transport_thread() 259 apacket* p; in write_transport_thread() 367 static int device_tracker_enqueue(asocket* socket, apacket* p) { in device_tracker_enqueue() [all …]
|
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() 448 static int remote_socket_enqueue(asocket* s, apacket* p) { in remote_socket_enqueue() 460 apacket* p = get_apacket(); in remote_socket_ready() 470 apacket* p = get_apacket(); in remote_socket_shutdown() 517 apacket* p = get_apacket(); in connect_to_remote() 657 static int smart_socket_enqueue(asocket* s, apacket* p) { in smart_socket_enqueue()
|
D | adb.cpp | 107 uint32_t calculate_apacket_checksum(const apacket* p) { in calculate_apacket_checksum() 119 apacket* get_apacket(void) in get_apacket() 121 apacket* p = reinterpret_cast<apacket*>(malloc(sizeof(apacket))); in get_apacket() 126 memset(p, 0, sizeof(apacket) - MAX_PAYLOAD); in get_apacket() 130 void put_apacket(apacket *p) in put_apacket() 156 void print_packet(const char *label, apacket *p) in print_packet() 198 apacket *p = get_apacket(); in send_ready() 208 apacket *p = get_apacket(); in send_close() 241 apacket* cp = get_apacket(); in send_connect() 322 static void handle_new_connection(atransport* t, apacket* p) { in handle_new_connection() [all …]
|
D | jdwp_service.cpp | 473 static int jdwp_socket_enqueue(asocket* s, apacket* p) { in jdwp_socket_enqueue() 489 apacket* p = get_apacket(); in jdwp_socket_ready() 531 apacket* p = get_apacket(); in jdwp_process_list_updated() 563 apacket* p = get_apacket(); in jdwp_tracker_ready() 570 static int jdwp_tracker_enqueue(asocket* s, apacket* p) { in jdwp_tracker_enqueue()
|
D | transport_local.cpp | 63 static int remote_read(apacket *p, atransport *t) in remote_read() 88 static int remote_write(apacket *p, atransport *t) in remote_write()
|
D | adbd_auth.cpp | 212 apacket* p = get_apacket(); in send_auth_request()
|
D | adb_auth_host.cpp | 448 apacket* p = get_apacket(); in send_auth_publickey() 468 apacket* p = get_apacket(); in send_auth_response()
|
D | socket_test.cpp | 117 apacket* p = get_apacket(); in CloseWithPacketThreadFunc()
|