Searched refs:serial_number (Results 1 – 7 of 7) sorted by relevance
/system/core/fastboot/ |
D | usb_linux.cpp | 183 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()
|
D | usb.h | 51 char serial_number[256]; member
|
D | usb_windows.cpp | 314 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()
|
D | usb_osx.cpp | 364 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()
|
D | fastboot.cpp | 244 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/ |
D | usb_windows.cpp | 572 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/ |
D | fixtures.cpp | 71 if (!local_serial.empty() && local_serial != info->serial_number && in MatchFastboot()
|