Lines Matching full:serial
136 std::string Serial() const;
319 std::string serial; variable
349 std::string serial_name() const { return !serial.empty() ? serial : "<unknown>"; } in serial_name()
377 // * <serial>
383 // If this is a local transport, serial will also match [tcp:|udp:]<hostname>[:port] targets.
384 // For example, serial "100.100.100.100:5555" would match any of:
456 // Returns true if the adb server owns all devices, or `serial`.
457 bool transport_server_owns_device(std::string_view serial);
459 // Returns true if the adb server owns all devices, `serial`, or `dev_path`.
460 bool transport_server_owns_device(std::string_view dev_path, std::string_view serial);
464 * If serial is non-null then only the device with that serial will be chosen.
470 atransport* acquire_one_transport(TransportType type, const char* serial, TransportId transport_id,
484 atransport* find_transport(const char* serial);
502 void register_usb_transport(std::shared_ptr<Connection> connection, const char* serial,
504 void register_usb_transport(usb_handle* h, const char* serial, const char* devpath,
515 bool register_socket_transport(unique_fd s, std::string serial, int port, int local,