Home | History | Annotate | Download | only in adb

Lines Matching defs:atransport

46 typedef struct atransport atransport;
131 /* A socket is bound to atransport */
132 atransport *transport;
143 void (*func)(void* opaque, atransport* t);
168 struct atransport
170 atransport *next;
171 atransport *prev;
173 int (*read_from_remote)(apacket *p, atransport *t);
174 int (*write_to_remote)(apacket *p, atransport *t);
175 void (*close)(atransport *t);
176 void (*kick)(atransport *t);
229 atransport *transport;
239 void close_all_sockets(atransport *t);
246 asocket *create_remote_socket(unsigned id, atransport *t);
253 void handle_packet(apacket *p, atransport *t);
254 void send_packet(apacket *p, atransport *t);
275 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out);
276 void add_transport_disconnect( atransport* t, adisconnect* dis );
277 void remove_transport_disconnect( atransport* t, adisconnect* dis );
278 void run_transport_disconnects( atransport* t );
279 void kick_transport( atransport* t );
285 int init_socket_transport(atransport *t, int s, int port, int local);
286 void init_usb_transport(atransport *t, usb_handle *usb, int state);
295 void unregister_transport(atransport *t);
303 atransport *find_transport(const char *serial);
305 atransport* find_emulator_transport_by_adb_port(int adb_port);
458 int connection_state(atransport *t);