Name Description Size Coverage
__init__.py 487 -
android_device.py umask 0002 mkdir -p {lldb_bin_dir} cp /data/local/tmp/lldb-server {lldb_bin_dir} chmod +x {lldb_bin_dir}/lldb-server chmod 0775 {lldb_dir} 34415 -
base.py A list of remote profiles on the device. 9362 -
emulator.py Creates an sdcard partition in the emulator. :param sdcard_size: Size of partition to create, e.g '10MB'. 7356 -
emulator_battery.py 1585 -
emulator_geo.py 547 -
emulator_screen.py Class for screen related emulator commands. 3470 -
host_utils.py Check whether MOZ_HOST_BIN has been set to a valid xre; if not, prompt to install one. 7979 -
ios_device.py 2457 -
telnetlib.py TELNET client class. Based on RFC 854: TELNET Protocol Specification, by J. Postel and J. Reynolds Example: >>> from telnetlib import Telnet >>> tn = Telnet('www.python.org', 79) # connect to finger port >>> tn.write(b'guido\r\n') >>> print(tn.read_all()) Login Name TTY Idle When Where guido Guido van Rossum pts/2 <Dec 2 11:10> snag.cnri.reston.. >>> Note that read_all() won't read until eof -- it just reads some data -- but it guarantees to read at least one byte unless EOF is hit. It is possible to pass a Telnet object to a selector in order to wait until more data is available. Note that in this case, read_eager() may return b'' even if there was data on the socket, because the protocol negotiation may have eaten the data. This is why EOFError is needed in some cases to distinguish between "no data" and "connection closed" (since the socket also appears ready for reading when it is closed). To do: - option negotiation - timeout should be intrinsic to the connection object instead of an option on one of the read calls only 26339 -