Searched defs:transport (Results 1 - 5 of 5) sorted by relevance

/system/core/adb/
H A Dservices.c497 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 Dadb.c103 { "transport", TRACE_TRANSPORT },
658 s->transport = l->transport;
684 if (l->transport) {
685 remove_transport_disconnect(l->transport, &l->disconnect);
725 static int remove_listener(const char *local_name, const char *connect_to, atransport* transport) argument
732 l->transport && l->transport == transport) {
734 listener_disconnect(l, transport);
742 install_listener(const char *local_name, const char *connect_to, atransport* transport) argument
1337 atransport *transport = NULL; local
1480 atransport *transport; local
[all...]
H A Dadb.h22 #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...]
H A Dcommandline.c45 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);
123 " adb jdwp - list PIDs of processes hosting a JDWP transport\n"
188 " 1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp\n"
608 static int send_shellcommand(transport_type transport, char* serial, char* buf) argument
618 do_cmd(transport, serial, "wait-for-device", 0);
629 static int logcat(transport_type transport, char* serial, int argc, char **argv) argument
661 send_shellcommand(transport, serial, buf);
1452 static int pm_command(transport_type transport, char* serial, argument
1469 send_shellcommand(transport, seria
1473 uninstall_app(transport_type transport, char* serial, int argc, char** argv) argument
1491 delete_file(transport_type transport, char* serial, char* filename) argument
1537 install_app(transport_type transport, char* serial, int argc, char** argv) argument
[all...]
H A Dtransport.c205 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...]

Completed in 57 milliseconds