Lines Matching refs:ser_pty_process
628 def _terminate_pty(self, ser_pty, ser_pty_process): argument
630 terminate_process(ser_pty_process)
632 (stdout, stderr) = ser_pty_process.communicate(timeout=self.get_test_timeout())
639 flash_timeout, serial_pty, ser_pty_process): argument
651 self._handle_serial_exception(e, dut, serial_pty, ser_pty_process)
657 def _handle_serial_exception(self, exception, dut, serial_pty, ser_pty_process): argument
663 if serial_pty and ser_pty_process:
664 self._terminate_pty(serial_pty, ser_pty_process)
687 ser_pty_process = None
691 ser_pty_process = subprocess.Popen(
707 return serial_device, ser_pty_process
720 serial_device, ser_pty_process = self._get_serial_device(serial_pty, hardware.serial)
752 ser_pty_process
812 self._handle_serial_exception(e, hardware, serial_pty, ser_pty_process)
835 self._terminate_pty(serial_pty, ser_pty_process)