HomeSort by relevance Sort by last modified time
    Searched full:asocket (Results 1 - 15 of 15) sorted by null

  /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 42 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...]
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 366 asocket *s;
462 asocket *s;
488 asocket *s;
1159 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, 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 287 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 164 T("ASocket %s: %s I/O descriptor %p is created for %d bytes of data",
176 T("ASocket %s: %s I/O descriptor %p is destroyed.",
278 D("ASocket %s: %s I/O with deadline %lld has timed out at %lld",
550 T("ASocket %s: %s I/O %p is completed.",
569 T("ASocket %s: %s I/O %p with deadline %lld has timed out at %lld",
599 T("ASocket %s: %s I/O %p is cancelled.",
619 T("ASocket %s: %s I/O %p has failed: %d -> %s",
688 T("ASocket %s: Socket handle %d is closed.",
702 T("ASocket %s: Socket descriptor is destroyed.", _async_socket_string(as));
727 T("ASocket %s: reconnecting in %dms...", _async_socket_string(as), to)
    [all...]
  /frameworks/base/core/jni/
android_bluetooth_BluetoothSocket.cpp 63 static struct asocket *get_socketData(JNIEnv *env, jobject obj) {
64 struct asocket *s =
65 (struct asocket *) env->GetIntField(obj, field_mSocketData);
75 struct asocket *s = asocket_init(fd);
177 struct asocket *s = get_socketData(env, obj);
274 struct asocket *s = get_socketData(env, obj);
347 struct asocket *s = get_socketData(env, obj);
411 struct asocket *s = get_socketData(env, obj);
436 struct asocket *s = get_socketData(env, obj);
479 struct asocket *s = get_socketData(env, obj)
    [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 

Completed in 843 milliseconds