Home | History | Annotate | Download | only in adb

Lines Matching defs:asocket

44 typedef struct asocket asocket;
71 /* An asocket represents one half of a connection between a local and
72 ** remote entity. A local asocket is bound to a file descriptor. A
73 ** remote asocket is bound to the protocol engine.
75 struct asocket {
77 ** asockets that this asocket lives in
79 asocket *next;
80 asocket *prev;
82 /* the unique identifier for this asocket
96 /* the asocket we are connected to
99 asocket *peer;
119 int (*enqueue)(asocket *s, apacket *pkt);
124 void (*ready)(asocket *s);
130 void (*shutdown)(asocket *s);
136 void (*close)(asocket *s);
219 ** an asocket to connect the new local connection to a
243 asocket *find_local_socket(unsigned local_id, unsigned remote_id);
244 void install_local_socket(asocket *s);
245 void remove_socket(asocket *s);
250 asocket *create_local_socket(int fd);
251 asocket *create_local_service_socket(const char *destination);
253 asocket *create_remote_socket(unsigned id, atransport *t);
254 void connect_to_remote(asocket *s, const char *destination);
255 void connect_to_smartsocket(asocket *s);
275 asocket* create_device_tracker(void);
317 asocket *host_service_to_socket(const char* name, const char *serial);
322 asocket* create_jdwp_service_socket();
323 asocket* create_jdwp_tracker_service_socket();
416 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s);