/system/core/adb/ |
H A D | adb.c | 94 { "transport", TRACE_TRANSPORT }, 501 s->transport = l->transport; 527 if (l->transport) { 528 remove_transport_disconnect(l->transport, &l->disconnect); 568 static int remove_listener(const char *local_name, const char *connect_to, atransport* transport) argument 575 l->transport && l->transport == transport) { 577 listener_disconnect(l, transport); 585 install_listener(const char *local_name, const char *connect_to, atransport* transport) argument 1161 atransport *transport = NULL; local 1291 atransport *transport; local [all...] |
H A D | sockets.c | 122 if(s->transport == t || (s->peer && s->peer->transport == t)) { 457 /* a Remote socket is used to send/receive data to/from a given transport object 458 ** it needs to be closed when the transport is forcibly destroyed by the user 473 send_packet(p, s->transport); 485 send_packet(p, s->transport); 502 send_packet(p, s->transport); 504 remove_transport_disconnect( s->transport, &((aremotesocket*)s)->disconnect ); 518 remove_transport_disconnect( s->transport, &((aremotesocket*)s)->disconnect ); 532 s->transport [all...] |
H A D | Android.mk | 55 transport.c \ 104 transport.c \ 144 transport.c \
|
H A D | commandline.c | 45 int install_app(transport_type transport, char* serial, int argc, char** argv); 46 int uninstall_app(transport_type transport, char* serial, int argc, char** argv); 122 " adb jdwp - list PIDs of processes hosting a JDWP transport\n" 186 " 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp\n" 606 static int send_shellcommand(transport_type transport, char* serial, char* buf) argument 616 do_cmd(transport, serial, "wait-for-device", 0); 627 static int logcat(transport_type transport, char* serial, int argc, char **argv) argument 659 send_shellcommand(transport, serial, buf); 1440 static int pm_command(transport_type transport, char* serial, argument 1457 send_shellcommand(transport, seria 1461 uninstall_app(transport_type transport, char* serial, int argc, char** argv) argument 1479 delete_file(transport_type transport, char* serial, char* filename) argument 1525 install_app(transport_type transport, char* serial, int argc, char** argv) argument [all...] |
H A D | services.c | 497 transport_type transport; member in struct:state_info 509 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err); 540 sinfo->transport = kTransportLocal; 543 sinfo->transport = kTransportUsb; 546 sinfo->transport = kTransportAny;
|
H A D | transport.c | 205 D("%s: failed to read packet from transport socket on fd %d\n", t->serial, fd); 238 fatal_errno("cannot enqueue packet on transport socket"); 242 /* The transport is opened by transport_register_func before 247 ** of transport IO failure, the output thread will post a 250 ** The transport will not actually be closed until both 251 ** threads exit, but the input thread will kick the transport 260 D("%s: starting transport output thread on fd %d, SYNC online (%d)\n", 278 D("%s: received remote packet, sending to transport\n", 282 D("%s: failed to write apacket to transport\n", t->serial); 286 D("%s: remote read failed for transport\ 518 atransport *transport; member in struct:tmsg 675 register_transport(atransport *transport) argument 686 remove_transport(atransport *transport) argument [all...] |
H A D | adb.h | 22 #include "transport.h" /* readx(), writex() */ 134 atransport *transport; member in struct:asocket 139 ** will be called whenever a transport is disconnected (e.g. by the user) 141 ** transport (e.g. remote sockets, listeners, etc...) 152 /* a transport object models the connection to a remote device or emulator 153 ** there is one transport per connected device/emulator. a "local transport" 154 ** connects through TCP (for the emulator), while a "usb transport" through 157 ** note that kTransportHost doesn't really correspond to a real transport 193 int adb_port; // Use for emulators (local transport) 220 atransport *transport; member in struct:alistener [all...] |