Home
last modified time | relevance | path

Searched refs:serial_number (Results 1 – 7 of 7) sorted by relevance

/system/core/fastboot/
Dusb_linux.cpp183 info.serial_number[0] = '\0'; in filter_usb_device()
194 int chars_read = read(fd, info.serial_number, in filter_usb_device()
195 sizeof(info.serial_number) - 1); in filter_usb_device()
199 info.serial_number[0] = '\0'; in filter_usb_device()
200 else if (info.serial_number[chars_read - 1] == '\n') { in filter_usb_device()
202 info.serial_number[chars_read - 1] = '\0'; in filter_usb_device()
Dusb.h51 char serial_number[256]; member
Dusb_windows.cpp314 unsigned long serial_number_len = sizeof(info.serial_number); in recognized_device()
315 if (!AdbGetSerialNumber(handle->adb_interface, info.serial_number, in recognized_device()
317 info.serial_number[0] = 0; in recognized_device()
329 info.serial_number); in recognized_device()
Dusb_osx.cpp364 handle->info.serial_number[i] = buffer[i + 1]; in try_device()
365 handle->info.serial_number[i] = 0; in try_device()
369 handle->info.serial_number[0] = 0; in try_device()
Dfastboot.cpp244 if (local_serial && (strcmp(local_serial, info->serial_number) != 0 && in match_fastboot_with_serial()
255 std::string serial = info->serial_number; in list_devices_callback()
/system/core/adb/client/
Dusb_windows.cpp572 char serial_number[512]; in find_devices() local
573 unsigned long serial_number_len = sizeof(serial_number); in find_devices()
574 if (AdbGetSerialNumber(handle->adb_interface, serial_number, &serial_number_len, in find_devices()
578 register_usb_transport(handle, serial_number, nullptr, 1); in find_devices()
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp71 if (!local_serial.empty() && local_serial != info->serial_number && in MatchFastboot()