Searched refs:new_serial (Results 1 – 3 of 3) sorted by relevance
373 new_serial = serial.serial_for_url(port, do_not_open=True)377 new_serial = serial.Serial()378 new_serial.port = port380 new_serial.applySettingsDict(settings)381 new_serial.open()382 new_serial.setRTS(self.rts_state)383 new_serial.setDTR(self.dtr_state)384 new_serial.setBreak(self.break_state)387 new_serial.close()390 self.serial = new_serial
658 def update_serial(self, new_serial): argument681 new_serial = str(new_serial)687 self._debug_tag = new_serial688 self._serial = new_serial689 self.adb.serial = new_serial690 self.fastboot.serial = new_serial
721 new_serial = serial.serial_for_url(port, do_not_open=True)723 new_serial.applySettingsDict(settings)724 new_serial.rts = self.serial.rts725 new_serial.dtr = self.serial.dtr726 new_serial.open()727 new_serial.break_condition = self.serial.break_condition730 new_serial.close()733 self.serial = new_serial