Searched refs:serial_number (Results 1 – 8 of 8) sorted by relevance
/system/core/fastboot/ |
D | usb_linux.cpp | 180 info.serial_number[0] = '\0'; in filter_usb_device() 191 int chars_read = read(fd, info.serial_number, in filter_usb_device() 192 sizeof(info.serial_number) - 1); in filter_usb_device() 196 info.serial_number[0] = '\0'; in filter_usb_device() 197 else if (info.serial_number[chars_read - 1] == '\n') { in filter_usb_device() 199 info.serial_number[chars_read - 1] = '\0'; in filter_usb_device()
|
D | usb.h | 52 char serial_number[256]; member
|
D | usb_windows.cpp | 299 unsigned long serial_number_len = sizeof(info.serial_number); in recognized_device() 300 if (!AdbGetSerialNumber(handle->adb_interface, info.serial_number, in recognized_device() 302 info.serial_number[0] = 0; 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 | 205 if (local_serial && (strcmp(local_serial, info->serial_number) != 0 && in match_fastboot_with_serial() 216 std::string serial = info->serial_number; in list_devices_callback()
|
/system/tpm/attestation/server/ |
D | pkcs11_key_store.cc | 325 std::string serial_number; in Register() local 326 if (!GetCertificateFields(certificate, &subject, &issuer, &serial_number)) { in Register() 342 {CKA_SERIAL_NUMBER, string_as_array(&serial_number), in Register() 343 serial_number.size()}, in Register() 381 std::string serial_number; in RegisterCertificate() local 382 if (!GetCertificateFields(certificate, &subject, &issuer, &serial_number)) { in RegisterCertificate() 398 {CKA_SERIAL_NUMBER, string_as_array(&serial_number), in RegisterCertificate() 399 serial_number.size()}, in RegisterCertificate() 563 std::string* serial_number) { in GetCertificateFields() argument 598 serial_number->assign(reinterpret_cast<char*>(serial_number_buffer), length); in GetCertificateFields()
|
D | pkcs11_key_store.h | 109 std::string* serial_number);
|
/system/core/adb/client/ |
D | usb_windows.cpp | 616 char serial_number[512]; in find_devices() local 617 unsigned long serial_number_len = sizeof(serial_number); in find_devices() 619 serial_number, in find_devices() 624 register_usb_transport(handle, serial_number, NULL, 1); in find_devices()
|