Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/
Dprotocol_socket.py46 raise SerialException("Port must be configured before it can be used.")
48 raise SerialException("Port is already open.")
55 raise SerialException("Could not open port %s: %s" % (self.portstr, msg))
73 raise SerialException("Can only operate on open ports")
93 raise SerialException("there is no sensible way to turn numbers into URLs")
121 …raise SerialException('expected a string in the form "[rfc2217://]<host>:<port>[/option[/option...…
162 raise SerialException('connection failed (%s)' % e)
174 raise SerialException("socket connection failed: %s" % e)
Dprotocol_loop.py42 raise SerialException("Port is already open.")
50 raise SerialException("Port must be configured before it can be used.")
82 raise SerialException("there is no sensible way to turn numbers into URLs")
104 … raise SerialException('expected a string in the form "[loop://][option[/option...]]": %s' % e)
Dprotocol_hwgrep.py34 raise serial.SerialException('no ports found matching regexp %r' % (url,))
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialposix.py231 … raise SerialException("sorry don't know how to handle non standard baud rate on this platform")
283 raise SerialException("Port must be configured before it can be used.")
285 raise SerialException("Port is already open.")
292 raise SerialException(msg.errno, "could not open port %s: %s" % (self._port, msg))
314 raise SerialException("Can only operate on a valid file descriptor")
325 raise SerialException("Could not configure port: %s" % msg)
475 …raise SerialException('device reports readiness to read but returned no data (device disconnected …
481 raise SerialException('read failed: %s' % (e,))
485 raise SerialException('read failed: %s' % (e,))
513 raise SerialException('write failed (select)')
[all …]
Dserialwin32.py44 raise SerialException("Port must be configured before it can be used.")
46 raise SerialException("Port is already open.")
66 raise SerialException("could not open port %r: %r" % (self.portstr, ctypes.WinError()))
105 raise SerialException("Can only operate on a valid port handle")
239 raise SerialException('call to ClearCommError failed')
252 raise SerialException('call to ClearCommError failed')
260 raise SerialException("ReadFile failed (%r)" % ctypes.WinError())
270 raise SerialException("ReadFile failed (%r)" % ctypes.WinError())
289 raise SerialException("WriteFile failed (%r)" % ctypes.WinError())
416 raise SerialException('call to ClearCommError failed')
Dserialjava.py60 raise SerialException("Port must be configured before it can be used.")
62 raise SerialException("Port is already open.")
71 raise SerialException("Could not open port: %s" % msg)
80 raise SerialException("Can only operate on a valid port handle")
195 raise SerialException("The setBreak function is not implemented in java.")
Dserialcli.py36 raise SerialException("Port must be configured before it can be used.")
38 raise SerialException("Port is already open.")
43 raise SerialException("could not open port %s: %s" % (self.portstr, msg))
57 raise SerialException("Can only operate on a valid port handle")
143 raise SerialException(str(e))
Drfc2217.py346 raise SerialException("timeout while waiting for option %r" % (self.name))
378 raise SerialException("Port must be configured before it can be used.")
380 raise SerialException("Port is already open.")
387 raise SerialException("Could not open port %s: %s" % (self.portstr, msg))
448 …raise SerialException("Remote does not seem to support RFC2217 or BINARY mode %r" % mandadory_opti…
465 raise SerialException("Can only operate on open ports")
493 raise SerialException("Remote does not accept parameter change (RFC2217): %r" % items)
524 raise SerialException("there is no sensible way to turn numbers into URLs")
558 …raise SerialException('expected a string in the form "[rfc2217://]<host>:<port>[/option[/option...…
579 raise SerialException('connection failed (reader thread died)')
[all …]
Dserialutil.py100 class SerialException(IOError): class
104 class SerialTimeoutException(SerialException):
109 portNotOpenError = SerialException('Attempting to use a port that is not open')
/external/autotest/client/common_lib/
Dpowerplay_util.py68 except serial.SerialException as e:
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py231 except serial.SerialException:
274 except serial.SerialException, e:
651 except serial.SerialException, e: