Lines Matching refs:transport
469 if (p->msg.arg0 == 0 && s->peer && s->peer->transport != t) { in handle_packet()
471 t->serial.c_str(), s->peer->transport->serial.c_str()); in handle_packet()
952 bool handle_forward_request(const char* service, atransport* transport, int reply_fd) { in handle_forward_request() argument
953 return handle_forward_request(service, [transport](std::string*) { return transport; }, in handle_forward_request()
985 atransport* transport = transport_acquirer(&error); in handle_forward_request() local
986 if (!transport) { in handle_forward_request()
1023 r = remove_listener(pieces[0].c_str(), transport); in handle_forward_request()
1029 r = install_listener(pieces[0], pieces[1].c_str(), transport, flags, &resolved_tcp_port, in handle_forward_request()
1164 s->transport = t; in handle_host_request()
1191 close_usb_devices([&response](const atransport* transport) { in handle_host_request() argument
1192 if (!ConnectionStateIsOnline(transport->GetConnectionState())) { in handle_host_request()
1193 response += "reconnecting " + transport->serial_name() + "\n"; in handle_host_request()
1208 s->transport ? s->transport in handle_host_request()
1269 s->transport ? s->transport in handle_host_request()
1281 s->transport ? s->transport in handle_host_request()
1293 s->transport ? s->transport in handle_host_request()
1318 atransport* t = s->transport ? s->transport in handle_host_request()
1333 if (s->transport) { in handle_host_request()
1334 return s->transport; in handle_host_request()