Lines Matching refs:serial
444 p->msg.arg1, s->peer->id, p->msg.arg1, t->serial.c_str()); in handle_packet()
471 t->serial.c_str(), s->peer->transport->serial.c_str()); in handle_packet()
1101 const char* serial, TransportId transport_id, int reply_fd, in handle_host_request() argument
1132 serial = serial_storage.c_str(); in handle_host_request()
1157 serial = serial_storage.c_str(); in handle_host_request()
1162 atransport* t = acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1209 : acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1238 std::string serial; in handle_host_request() local
1243 serial = address; in handle_host_request()
1244 } else if (!android::base::ParseNetAddress(address, &host, &port, &serial, &error)) { in handle_host_request()
1249 atransport* t = find_transport(serial.c_str()); in handle_host_request()
1251 SendFail(reply_fd, android::base::StringPrintf("no such device '%s'", serial.c_str())); in handle_host_request()
1270 : acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1272 SendOkay(reply_fd, !t->serial.empty() ? t->serial : "unknown"); in handle_host_request()
1282 : acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1294 : acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()
1319 : acquire_one_transport(type, serial, transport_id, nullptr, in handle_host_request()
1337 return acquire_one_transport(type, serial, transport_id, nullptr, &error); in handle_host_request()