Searched refs:asocket (Results 1 – 8 of 8) sorted by relevance
/system/core/adb/ |
D | adb.h | 40 typedef struct asocket asocket; typedef 71 struct asocket { struct 75 asocket *next; argument 76 asocket *prev; argument 90 asocket *peer; argument 110 int (*enqueue)(asocket *s, apacket *pkt); argument 115 void (*ready)(asocket *s); argument 121 void (*close)(asocket *s); argument 219 asocket *find_local_socket(unsigned id); 220 void install_local_socket(asocket *s); [all …]
|
D | sockets.c | 31 static void local_socket_close_locked(asocket *s); 48 static asocket local_socket_list = { 57 static asocket local_socket_closing_list = { 62 asocket *find_local_socket(unsigned id) in find_local_socket() 64 asocket *s; in find_local_socket() 65 asocket *result = NULL; in find_local_socket() 77 insert_local_socket(asocket* s, asocket* list) in insert_local_socket() 86 void install_local_socket(asocket *s) in install_local_socket() 96 void remove_socket(asocket *s) in remove_socket() 111 asocket *s; in close_all_sockets() [all …]
|
D | jdwp_service.c | 526 asocket socket; 531 jdwp_socket_close( asocket* s ) in jdwp_socket_close() 533 asocket* peer = s->peer; in jdwp_socket_close() 545 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue() 555 jdwp_socket_ready( asocket* s ) in jdwp_socket_ready() 558 asocket* peer = jdwp->socket.peer; in jdwp_socket_ready() 574 asocket* 600 asocket socket; 620 asocket* peer = t->socket.peer; in jdwp_process_list_updated() 628 jdwp_tracker_close( asocket* s ) in jdwp_tracker_close() [all …]
|
D | transport.c | 362 asocket socket; 389 device_tracker_close( asocket* socket ) in device_tracker_close() 392 asocket* peer = socket->peer; in device_tracker_close() 404 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() 418 asocket* peer = tracker->socket.peer; in device_tracker_send() 427 device_tracker_ready( asocket* socket ) in device_tracker_ready() 445 asocket*
|
D | adb.c | 309 asocket *s; in handle_packet() 403 asocket *s; in ss_listener_event_func() 429 asocket *s; in listener_event_func() 958 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s) in handle_host_request()
|
D | services.c | 446 asocket* host_service_to_socket(const char* name, const char *serial) in host_service_to_socket()
|
/system/core/include/cutils/ |
D | abort_socket.h | 58 struct asocket { struct 67 struct asocket *asocket_init(int fd); 77 int asocket_connect(struct asocket *s, const struct sockaddr *addr, 80 int asocket_accept(struct asocket *s, struct sockaddr *addr, 83 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout); 85 int asocket_write(struct asocket *s, const void *buf, size_t count, 93 void asocket_abort(struct asocket *s); 98 void asocket_destroy(struct asocket *s);
|
/system/core/libcutils/ |
D | abort_socket.c | 26 struct asocket *asocket_init(int fd) { in asocket_init() 29 struct asocket *s; in asocket_init() 48 s = malloc(sizeof(struct asocket)); in asocket_init() 59 int asocket_connect(struct asocket *s, const struct sockaddr *addr, in asocket_connect() 119 int asocket_accept(struct asocket *s, struct sockaddr *addr, in asocket_accept() 166 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout) { in asocket_read() 211 int asocket_write(struct asocket *s, const void *buf, size_t count, in asocket_write() 257 void asocket_abort(struct asocket *s) { in asocket_abort() 270 void asocket_destroy(struct asocket *s) { in asocket_destroy() 271 struct asocket s_copy = *s; in asocket_destroy()
|