Home
last modified time | relevance | path

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

/system/bt/gd/cert/
Dgd_device.py109 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/
Dusb_linux.cpp185 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()
Dusb.h51 char serial_number[256]; member
Dusb_windows.cpp317 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()
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.cpp256 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/
Dtest_monitor.py64 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/
Dusb_windows.cpp575 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/
Dincrementalfs.h124 __u32 serial_number; member
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp73 if (!local_serial.empty() && local_serial != info->serial_number && in MatchFastboot()
/system/incremental_delivery/incfs/
Dincfs.cpp1008 .serialNo = pendingReads[i].serial_number, in IncFs_WaitForPendingReads()
1034 .serialNo = pendingReads[i].serial_number, in IncFs_WaitForPageReads()