Home
last modified time | relevance | path

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

/system/bt/gd/cert/
Dgd_device.py111 serial_number = config.get("serial_number")
112 if serial_number is None:
113 serial_number = ""
117 if serial_number == "DUT" or serial_number == "CERT":
124 .replace("$(serial_number)", serial_number)
401 type_identifier: str, name: str, serial_number: str, verbose_mode: bool):
403 asserts.assert_true(serial_number, "serial_number must not be None nor empty")
404 self.serial_number = serial_number
405 self.adb = AdbProxy(serial_number)
408 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.cpp265 if (local_serial && (strcmp(local_serial, info->serial_number) != 0 && in match_fastboot_with_serial()
276 std::string serial = info->serial_number; in list_devices_callback()
/system/incremental_delivery/incfs/kernel-headers/linux/
Dincrementalfs.h197 __u32 serial_number; member
218 __u32 serial_number; member
/system/keymaster/km_openssl/
Dcertificate_utils.cpp260 ASN1_INTEGER_Ptr serial_number(ASN1_INTEGER_new()); in make_cert_rump() local
261 if (!serial_number.get() || // in make_cert_rump()
262 !BN_to_ASN1_INTEGER(cert_params.serial.get(), serial_number.get()) || in make_cert_rump()
264 serial_number.get() /* Don't release; copied */)) { in make_cert_rump()
/system/extras/simpleperf/scripts/test/
Ddo_test.py188 serial_number: str
226 test_options += ['--device', self.device.serial_number]
373 name, serial_number = s.split(':')
374 devices.append(Device(name, serial_number))
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp73 if (!local_serial.empty() && local_serial != info->serial_number && in MatchFastboot()
/system/extras/simpleperf/scripts/
Dsimpleperf_utils.py317 self.serial_number: Optional[str] = None
330 if self.serial_number:
332 env['ANDROID_SERIAL'] = self.serial_number
/system/incremental_delivery/incfs/
Dincfs.cpp1143 .serialNo = rawRead.serial_number, in convertRead()