Searched refs:serial_number (Results 1 – 11 of 11) sorted by relevance
/system/bt/gd/cert/ |
D | gd_device.py | 109 serial_number = config.get("serial_number") 110 if serial_number is None: 111 serial_number = "" 115 if serial_number == "DUT" or serial_number == "CERT": 122 .replace("$(serial_number)", serial_number) 386 type_identifier: str, name: str, serial_number: str, verbose_mode: bool): 388 asserts.assert_true(serial_number, "serial_number must not be None nor empty") 389 self.serial_number = serial_number 390 self.adb = AdbProxy(serial_number) 393 logging.info("Setting up device %s %s" % (self.label, self.serial_number)) [all …]
|
/system/core/fastboot/ |
D | usb_linux.cpp | 185 info.serial_number[0] = '\0'; in filter_usb_device() 196 int chars_read = read(fd, info.serial_number, in filter_usb_device() 197 sizeof(info.serial_number) - 1); in filter_usb_device() 201 info.serial_number[0] = '\0'; in filter_usb_device() 202 else if (info.serial_number[chars_read - 1] == '\n') { in filter_usb_device() 204 info.serial_number[chars_read - 1] = '\0'; in filter_usb_device()
|
D | usb.h | 51 char serial_number[256]; member
|
D | usb_windows.cpp | 317 unsigned long serial_number_len = sizeof(info.serial_number); in recognized_device() 318 if (!AdbGetSerialNumber(handle->adb_interface, info.serial_number, in recognized_device() 320 info.serial_number[0] = 0; in recognized_device() 333 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 | 256 if (local_serial && (strcmp(local_serial, info->serial_number) != 0 && in match_fastboot_with_serial() 267 std::string serial = info->serial_number; in list_devices_callback()
|
/system/extras/simpleperf/scripts/ |
D | test_monitor.py | 64 name, serial_number = s.split(':') 65 devices.append(Device(name=name, serial_number=serial_number)) 67 devices.append(Device(name='default', serial_number=None)) 132 if self.device.serial_number: 133 env['ANDROID_SERIAL'] = self.device.serial_number
|
/system/core/adb/client/ |
D | usb_windows.cpp | 575 char serial_number[512]; in find_devices() local 576 unsigned long serial_number_len = sizeof(serial_number); in find_devices() 577 if (AdbGetSerialNumber(handle->adb_interface, serial_number, &serial_number_len, in find_devices() 581 register_usb_transport(handle, serial_number, nullptr, 1); in find_devices()
|
/system/incremental_delivery/incfs/kernel-headers/linux/ |
D | incrementalfs.h | 124 __u32 serial_number; member
|
/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 73 if (!local_serial.empty() && local_serial != info->serial_number && in MatchFastboot()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 1008 .serialNo = pendingReads[i].serial_number, in IncFs_WaitForPendingReads() 1034 .serialNo = pendingReads[i].serial_number, in IncFs_WaitForPageReads()
|