/external/autotest/client/site_tests/firmware_TouchMTB/ |
common_util.py | 11 import termios namespace 47 old_attrs = termios.tcgetattr(fin) 54 termios.tcsetattr(fin, termios.TCSADRAIN, old_attrs)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/ |
interactive.py | 23 # windows does not have termios... 25 import termios namespace 42 oldtty = termios.tcgetattr(sys.stdin) 67 termios.tcsetattr(sys.stdin, termios.TCSADRAIN, oldtty)
|
/external/toybox/toys/pending/ |
test.c | 85 struct termios termios; local 86 toys.exitval = tcgetattr(atoi(toys.optargs[1]), &termios) == -1;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
getpass.py | 63 old = termios.tcgetattr(fd) # a copy to save 65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 tcsetattr_flags = termios.TCSAFLUSH 67 if hasattr(termios, 'TCSASOFT'): 68 tcsetattr_flags |= termios.TCSASOFT 70 termios.tcsetattr(fd, tcsetattr_flags, new) 73 termios.tcsetattr(fd, tcsetattr_flags, old) 75 except termios.error, e: 162 import termios namespace 163 # it's possible there is an incompatible termios from th [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
getpass.py | 63 old = termios.tcgetattr(fd) # a copy to save 65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 tcsetattr_flags = termios.TCSAFLUSH 67 if hasattr(termios, 'TCSASOFT'): 68 tcsetattr_flags |= termios.TCSASOFT 70 termios.tcsetattr(fd, tcsetattr_flags, new) 73 termios.tcsetattr(fd, tcsetattr_flags, old) 75 except termios.error, e: 162 import termios namespace 163 # it's possible there is an incompatible termios from th [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
getpass.py | 63 old = termios.tcgetattr(fd) # a copy to save 65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 tcsetattr_flags = termios.TCSAFLUSH 67 if hasattr(termios, 'TCSASOFT'): 68 tcsetattr_flags |= termios.TCSASOFT 70 termios.tcsetattr(fd, tcsetattr_flags, new) 73 termios.tcsetattr(fd, tcsetattr_flags, old) 75 except termios.error, e: 162 import termios namespace 163 # it's possible there is an incompatible termios from th [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
getpass.py | 63 old = termios.tcgetattr(fd) # a copy to save 65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 tcsetattr_flags = termios.TCSAFLUSH 67 if hasattr(termios, 'TCSASOFT'): 68 tcsetattr_flags |= termios.TCSASOFT 70 termios.tcsetattr(fd, tcsetattr_flags, new) 73 termios.tcsetattr(fd, tcsetattr_flags, old) 75 except termios.error, e: 162 import termios namespace 163 # it's possible there is an incompatible termios from th [all...] |
/external/chromium-trace/catapult/devil/devil/android/tools/ |
keyboard.py | 12 import termios namespace 114 # See man 3 termios for more info on what this is doing. 115 old_attrs = termios.tcgetattr(fd) 117 new_attrs[tty.LFLAG] = new_attrs[tty.LFLAG] & ~(termios.ICANON) 120 termios.tcsetattr(fd, termios.TCSAFLUSH, new_attrs) 124 termios.tcsetattr(fd, termios.TCSAFLUSH, old_attrs)
|
/external/autotest/client/cros/cellular/wardmodem/ |
at_channel.py | 10 import termios namespace 81 except termios.error as ttyerror:
|
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 30 #include <termios.h> 63 struct termios termios; /* serial terminal of BT port */ member in struct:__anon29146 252 tcgetattr(vnd_userial.fd, &vnd_userial.termios); 253 cfmakeraw(&vnd_userial.termios); 254 vnd_userial.termios.c_cflag |= (CRTSCTS | stop_bits); 255 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); 258 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); 263 cfsetospeed(&vnd_userial.termios, baud); 264 cfsetispeed(&vnd_userial.termios, baud) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ioctl.py | 6 termios = import_module('termios') variable 7 get_attribute(termios, 'TIOCGPGRP') #Can't run tests without this feature 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 51 r = fcntl.ioctl(tty, termios.TIOCGPGRP, buf, 1) 73 if termios.TIOCSWINSZ < 0: 74 set_winsz_opcode_maybe_neg = termios.TIOCSWINSZ 75 set_winsz_opcode_pos = termios.TIOCSWINSZ & 0xffffffffL 77 set_winsz_opcode_pos = termios.TIOCSWINS [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
miniterm.py | 119 import termios, sys, os namespace 126 self.old = termios.tcgetattr(self.fd) 127 new = termios.tcgetattr(self.fd) 128 new[3] = new[3] & ~termios.ICANON & ~termios.ECHO & ~termios.ISIG 129 new[6][termios.VMIN] = 1 130 new[6][termios.VTIME] = 0 131 termios.tcsetattr(self.fd, termios.TCSANOW, new [all...] |
/external/compiler-rt/lib/asan/scripts/ |
asan_symbolize.py | 183 import termios namespace 193 attr = termios.tcgetattr(fd) 194 attr[3] = attr[3] & ~termios.ECHO 195 termios.tcsetattr(fd, termios.TCSANOW, attr)
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
p2p-nfc.py | 368 import sys, tty, termios namespace 373 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr) 378 import sys, tty, termios, select namespace 381 prev_tcgetattr = termios.tcgetattr(fd) 390 termios.tcsetattr(fd, termios.TCSADRAIN, prev_tcgetattr)
|
/external/autotest/client/common_lib/ |
pexpect.py | 76 import termios namespace 723 attr = termios.tcgetattr(self.child_fd) 724 if attr[3] & termios.ECHO: 760 attr = termios.tcgetattr(self.child_fd) 762 attr[3] = attr[3] | termios.ECHO 764 attr[3] = attr[3] & ~termios.ECHO 767 termios.tcsetattr(self.child_fd, termios.TCSANOW, attr) [all...] |
/external/autotest/client/virt/ |
aexpect.py | 8 import os, sys, pty, select, termios, fcntl namespace 89 attr = termios.tcgetattr(shell_fd) 90 attr[0] &= ~termios.INLCR 91 attr[0] &= ~termios.ICRNL 92 attr[0] &= ~termios.IGNCR 93 attr[1] &= ~termios.OPOST 95 attr[3] |= termios.ECHO 97 attr[3] &= ~termios.ECHO 98 termios.tcsetattr(shell_fd, termios.TCSANOW, attr [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
serialposix.py | 15 import sys, os, fcntl, termios, struct, select, errno, time namespace 20 import TERMIOS 22 TERMIOS = termios 52 buf[2] &= ~TERMIOS.CBAUD 240 # try to use values from TERMIOS, use defaults from linux otherwise 241 TIOCMGET = hasattr(TERMIOS, 'TIOCMGET') and TERMIOS.TIOCMGET or 0x5415 242 TIOCMBIS = hasattr(TERMIOS, 'TIOCMBIS') and TERMIOS.TIOCMBIS or 0x541 [all...] |
/external/chromium-trace/catapult/third_party/typ/typ/ |
host.py | 220 import termios namespace 222 termios.TIOCGWINSZ, '\0' * 8)
|
/external/e2fsprogs/e2fsck/ |
util.c | 27 #include <termios.h> 193 struct termios termios, tmp; local 195 tcgetattr (0, &termios); 196 tmp = termios; 216 tcsetattr (0, TCSANOW, &termios); 241 tcsetattr (0, TCSANOW, &termios);
|
/hardware/qcom/bt/msm8909/libbt-vendor/include/ |
hci_uart.h | 139 struct termios termios; /* serial terminal of BT port */ member in struct:__anon31197
|
/hardware/qcom/bt/msm8992/libbt-vendor/include/ |
hci_uart.h | 139 struct termios termios; /* serial terminal of BT port */ member in struct:__anon31220
|
/hardware/qcom/bt/msm8996/libbt-vendor/include/ |
hci_uart.h | 139 struct termios termios; /* serial terminal of BT port */ member in struct:__anon31242
|