/system/core/adb/ |
H A D | adb.c | 105 { "transport", TRACE_TRANSPORT }, 663 s->transport = l->transport; 689 if (l->transport) { 690 remove_transport_disconnect(l->transport, &l->disconnect); 747 int serial_len = strlen(l->transport->serial); 751 l->transport->serial, l->local_name, l->connect_to); 783 static int remove_listener(const char *local_name, atransport* transport) argument 789 listener_disconnect(l, l->transport); 804 listener_disconnect(l, l->transport); 816 install_listener(const char *local_name, const char *connect_to, atransport* transport, int no_rebind) argument 1504 atransport *transport = NULL; local 1668 atransport *transport; local [all...] |
H A D | Android.mk | 56 transport.c \ 108 transport.c \ 149 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); 135 " adb jdwp - list PIDs of processes hosting a JDWP transport\n" 203 " 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp\n" 623 static int send_shellcommand(transport_type transport, char* serial, char* buf) argument 633 do_cmd(transport, serial, "wait-for-device", 0); 644 static int logcat(transport_type transport, char* serial, int argc, char **argv) argument 676 send_shellcommand(transport, serial, buf); 1572 static int pm_command(transport_type transport, char* serial, argument 1589 send_shellcommand(transport, seria 1593 uninstall_app(transport_type transport, char* serial, int argc, char** argv) argument 1611 delete_file(transport_type transport, char* serial, char* filename) argument 1657 install_app(transport_type transport, char* serial, int argc, char** argv) argument [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 | 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 681 register_transport(atransport *transport) argument 692 remove_transport(atransport *transport) argument [all...] |
H A D | adb.h | 22 #include "transport.h" /* readx(), writex() */ 135 atransport *transport; member in struct:asocket 140 ** will be called whenever a transport is disconnected (e.g. by the user) 142 ** transport (e.g. remote sockets, listeners, etc...) 153 /* a transport object models the connection to a remote device or emulator 154 ** there is one transport per connected device/emulator. a "local transport" 155 ** connects through TCP (for the emulator), while a "usb transport" through 158 ** note that kTransportHost doesn't really correspond to a real transport 200 int adb_port; // Use for emulators (local transport) 232 atransport *transport; member in struct:alistener [all...] |