/system/core/include/cutils/ |
abort_socket.h | 31 * finish closing the socket and free the asocket structure. 41 * Using asocket will triple the number of file descriptors required per 58 struct asocket { struct 63 /* Create an asocket from fd. 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) [all...] |
/system/core/adb/ |
adb.h | 43 typedef struct asocket asocket; typedef in typeref:struct:asocket 70 /* An asocket represents one half of a connection between a local and 71 ** remote entity. A local asocket is bound to a file descriptor. A 72 ** remote asocket is bound to the protocol engine. 74 struct asocket { struct 76 ** asockets that this asocket lives in 78 asocket *next; 79 asocket *prev; 81 /* the unique identifier for this asocket [all...] |
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) 64 asocket *s; 65 asocket *result = NULL; 80 insert_local_socket(asocket* s, asocket* list) 89 void install_local_socket(asocket *s) 99 void remove_socket(asocket *s [all...] |
jdwp_service.c | 429 ** we do implement a custom asocket to receive the data 552 asocket socket; 557 jdwp_socket_close( asocket* s ) 559 asocket* peer = s->peer; 571 jdwp_socket_enqueue( asocket* s, apacket* p ) 573 /* you can't write to this asocket */ 581 jdwp_socket_ready( asocket* s ) 584 asocket* peer = jdwp->socket.peer; 600 asocket* 626 asocket socket [all...] |
transport.c | 387 asocket socket; 414 device_tracker_close( asocket* socket ) 417 asocket* peer = socket->peer; 429 device_tracker_enqueue( asocket* socket, apacket* p ) 443 asocket* peer = tracker->socket.peer; 452 device_tracker_ready( asocket* socket ) 470 asocket*
|
adb.c | 498 asocket *s; 624 asocket *s; 650 asocket *s; [all...] |
services.c | 525 asocket* host_service_to_socket(const char* name, const char *serial)
|
/bootable/recovery/minadbd/ |
adb.h | 43 typedef struct asocket asocket; typedef in typeref:struct:asocket 69 /* An asocket represents one half of a connection between a local and 70 ** remote entity. A local asocket is bound to a file descriptor. A 71 ** remote asocket is bound to the protocol engine. 73 struct asocket { struct 75 ** asockets that this asocket lives in 77 asocket *next; 78 asocket *prev; 80 /* the unique identifier for this asocket [all...] |
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) 64 asocket *s; 65 asocket *result = NULL; 80 insert_local_socket(asocket* s, asocket* list) 89 void install_local_socket(asocket *s) 99 void remove_socket(asocket *s [all...] |
adb.c | 285 asocket *s;
|
/system/core/libcutils/ |
abort_socket.c | 26 struct asocket *asocket_init(int fd) { 29 struct asocket *s; 48 s = malloc(sizeof(struct asocket)); 59 int asocket_connect(struct asocket *s, const struct sockaddr *addr, 119 int asocket_accept(struct asocket *s, struct sockaddr *addr, 166 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout) { 211 int asocket_write(struct asocket *s, const void *buf, size_t count, 257 void asocket_abort(struct asocket *s) { 270 void asocket_destroy(struct asocket *s) { 271 struct asocket s_copy = *s [all...] |
/external/qemu/android/ |
async-socket.c | 162 T("ASocket %s: %s I/O descriptor %p is created for %d bytes of data", 174 T("ASocket %s: %s I/O descriptor %p is destroyed.", 276 D("ASocket %s: %s I/O with deadline %lld has timed out at %lld", 548 T("ASocket %s: %s I/O %p is completed.", 567 T("ASocket %s: %s I/O %p with deadline %lld has timed out at %lld", 597 T("ASocket %s: %s I/O %p is cancelled.", 617 T("ASocket %s: %s I/O %p has failed: %d -> %s", 684 T("ASocket %s: Socket handle %d is closed.", 700 T("ASocket %s: Socket descriptor is destroyed.", _async_socket_string(as)); 725 T("ASocket %s: reconnecting in %dms...", _async_socket_string(as), to) [all...] |
/libcore/luni/src/main/java/java/net/ |
ServerSocket.java | 125 Socket aSocket = new Socket(); 127 implAccept(aSocket); 129 aSocket.close(); 132 return aSocket; 192 * given socket {@code aSocket}. 194 * @param aSocket 200 protected final void implAccept(Socket aSocket) throws IOException { 202 impl.accept(aSocket.impl); 203 aSocket.accepted();
|
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |