Home | History | Annotate | Download | only in adb

Lines Matching refs: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);
215 atransport *transport;
225 void close_all_sockets(atransport *t);
232 asocket *create_remote_socket(unsigned id, atransport *t);
239 void handle_packet(apacket *p, atransport *t);
240 void send_packet(apacket *p, atransport *t);
261 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char **error_out);
262 void add_transport_disconnect( atransport* t, adisconnect* dis );
263 void remove_transport_disconnect( atransport* t, adisconnect* dis );
264 void run_transport_disconnects( atransport* t );
265 void kick_transport( atransport* t );
271 int init_socket_transport(atransport *t, int s, int port, int local);
272 void init_usb_transport(atransport *t, usb_handle *usb, int state);
281 void unregister_transport(atransport *t);
289 atransport *find_transport(const char *serial);
291 atransport* find_emulator_transport_by_adb_port(int adb_port);
428 int connection_state(atransport *t);