• Home
  • Raw
  • Download

Lines Matching refs:serial

195                     D("transport %s was kicked. giving up on it.", it->transport->serial.c_str());  in Run()
216 D("attempting to reconnect %s", attempt.transport->serial.c_str()); in Run()
220 D("attempting to reconnect %s failed.", attempt.transport->serial.c_str()); in Run()
223 attempt.transport->serial.c_str()); in Run()
237 D("reconnection to %s succeeded.", attempt.transport->serial.c_str()); in Run()
242 D("cancelling reconnection attempt to %s.", attempt.transport->serial.c_str()); in Run()
440 VLOG(TRANSPORT) << dump_packet(t->serial.c_str(), "to remote", p); in send_packet()
447 D("%s: failed to enqueue packet, closing transport", t->serial.c_str()); in send_packet()
665 D("transport: %s deleting", t->serial.c_str()); in transport_registration_func()
686 D("%s: remote read: bad header", t->serial.c_str()); in transport_registration_func()
690 VLOG(TRANSPORT) << dump_packet(t->serial.c_str(), "from remote", p.get()); in transport_registration_func()
761 D("transport: %s registered", transport->serial.c_str()); in register_transport()
771 D("transport: %s removed", transport->serial.c_str()); in remove_transport()
789 D("transport: %s unref (attempting reconnection)", t->serial.c_str()); in transport_unref()
796 D("transport: %s unref (kicking and closing)", t->serial.c_str()); in transport_unref()
800 D("transport: %s unref (kicking and closing)", t->serial.c_str()); in transport_unref()
805 D("transport: %s unref (count=%zu)", t->serial.c_str(), t->ref_count); in transport_unref()
832 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id, in acquire_one_transport() argument
840 } else if (serial) { in acquire_one_transport()
841 *error_out = android::base::StringPrintf("device '%s' not found", serial); in acquire_one_transport()
862 } else if (serial) { in acquire_one_transport()
863 if (t->MatchesTarget(serial)) { in acquire_one_transport()
976 LOG(INFO) << "resetting transport " << this << " " << this->serial; in Reset()
983 LOG(INFO) << "kicking transport " << this << " " << this->serial; in Kick()
1106 if (!serial.empty()) { in MatchesTarget()
1107 if (target == serial) { in MatchesTarget()
1122 … if (android::base::ParseNetAddress(serial, &serial_host, &serial_port, nullptr, &error)) { in MatchesTarget()
1170 std::string serial = t->serial; in append_transport() local
1171 if (serial.empty()) { in append_transport()
1172 serial = "(no serial number)"; in append_transport()
1176 *result += serial; in append_transport()
1180 android::base::StringAppendF(result, "%-22s %s", serial.c_str(), in append_transport()
1204 return x->serial < y->serial; in list_transports()
1233 bool register_socket_transport(unique_fd s, std::string serial, int port, int local, in register_socket_transport() argument
1237 D("transport: %s init'ing for socket %d, on port %d", serial.c_str(), s.get(), port); in register_socket_transport()
1246 if (serial == transport->serial) { in register_socket_transport()
1247 VLOG(TRANSPORT) << "socket transport " << transport->serial in register_socket_transport()
1256 if (serial == transport->serial) { in register_socket_transport()
1257 VLOG(TRANSPORT) << "socket transport " << transport->serial in register_socket_transport()
1265 t->serial = std::move(serial); in register_socket_transport()
1292 atransport* find_transport(const char* serial) { in find_transport() argument
1297 if (strcmp(serial, t->serial.c_str()) == 0) { in find_transport()
1324 void register_usb_transport(usb_handle* usb, const char* serial, const char* devpath, in register_usb_transport() argument
1328 D("transport: %p init'ing for usb_handle %p (sn='%s')", t, usb, serial ? serial : ""); in register_usb_transport()
1330 if (serial) { in register_usb_transport()
1331 t->serial = serial; in register_usb_transport()