Lines Matching defs:atransport
45 typedef struct atransport atransport;
128 /* A socket is bound to atransport */
129 atransport *transport;
140 void (*func)(void* opaque, atransport* t);
163 struct atransport
165 atransport *next;
166 atransport *prev;
168 int (*read_from_remote)(apacket *p, atransport *t);
169 int (*write_to_remote)(apacket *p, atransport *t);
170 void (*close)(atransport *t);
171 void (*kick)(atransport *t);
201 void close_all_sockets(atransport *t);
208 asocket *create_remote_socket(unsigned id, atransport *t);
215 void handle_packet(apacket *p, atransport *t);
216 void send_packet(apacket *p, atransport *t);
237 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out);
238 void add_transport_disconnect( atransport* t, adisconnect* dis );
239 void remove_transport_disconnect( atransport* t, adisconnect* dis );
240 void run_transport_disconnects( atransport* t );
241 void kick_transport( atransport* t );
247 int init_socket_transport(atransport *t, int s, int port, int local);
248 void init_usb_transport(atransport *t, usb_handle *usb, int state);
257 void unregister_transport(atransport *t);
265 atransport *find_transport(const char *serial);
267 atransport* find_emulator_transport_by_adb_port(int adb_port);
397 int connection_state(atransport *t);