Lines Matching refs:serial_number

111     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))
409 … asserts.assert_true(self.adb.ensure_root(), "device %s cannot run as root", self.serial_number)
450 …log_path_base, '%s_%s_%s_logcat_logs.txt' % (self.type_identifier, self.label, self.serial_number))
451 …self.logcat_cmd = ["adb", "-s", self.serial_number, "logcat", "-T", "1", "-v", "year", "-v", "uid"]
462 tag="%s_%s" % (self.label, self.serial_number),
466 logging.info("Done preparation for %s, starting backing process" % self.serial_number)
477 (self.label, self.serial_number))
483 … logging.error("Failed to kill logcat_process %s %s" % (self.label, self.serial_number))
486 …error("logcat_process %s_%s stopped with code: %d" % (self.label, self.serial_number, return_code))
624 logging.debug("Disabling verity and remount for %s", self.serial_number)
639 logging.debug("Rebooting %s", self.serial_number)
659 …ssert_true(self.adb.ensure_root(), "device %s cannot run as root after reboot", self.serial_number)
680 asserts.fail(msg='Device %s booting process timed out.' % self.serial_number)