Searched refs:ports (Results 1 - 2 of 2) sorted by relevance

/system/core/adb/client/
H A Dusb_libusb.cpp163 uint8_t ports[7]; local
164 int port_count = libusb_get_port_numbers(device, ports, 7);
168 StringPrintf("/sys/bus/usb/devices/%d-%d", libusb_get_bus_number(device), ports[0]);
170 path += StringPrintf(".%d", ports[port]);
177 uint8_t ports[7]; local
178 int port_count = libusb_get_port_numbers(device, ports, 7);
180 return StringPrintf("/dev/bus/usb/%03u/%03u", libusb_get_bus_number(device), ports[0]);
/system/core/adb/
H A Dtransport_local.cpp52 // but we search for emulators on ports [5554, 5555 + ADB_LOCAL_TRANSPORT_MAX].
172 std::vector<RetryPort> ports; local
173 // Collect retry ports.
179 retry_ports.swap(ports);
186 // Try connecting retry ports.
188 for (auto& port : ports) {
202 // Copy back left retry ports.

Completed in 135 milliseconds