/system/netd/server/ |
PppController.h | 34 int attachPppd(const char *tty, struct in_addr local, 37 int detachPppd(const char *tty);
|
PppController.cpp | 51 int PppController::attachPppd(const char *tty, struct in_addr local, 64 if (!strcmp(tty, *it)) { 69 ALOGE("Invalid tty '%s' specified", tty); 89 snprintf(dev, sizeof(dev), "/dev/%s", tty); 105 int PppController::detachPppd(const char *tty) { 112 ALOGD("Stopping PPPD services on port %s", tty); 116 ALOGD("PPPD services on port %s stopped", tty); 133 DIR *d = opendir("/sys/class/tty"); 135 ALOGE("Error opening /sys/class/tty (%s)", strerror(errno)) [all...] |
/external/openssl/crypto/des/ |
read_pwd.c | 148 #define TTY_get(tty,data) tcgetattr(tty,data) 149 #define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) 156 #define TTY_get(tty,data) ioctl(tty,TCGETA,data) 157 #define TTY_set(tty,data) ioctl(tty,TCSETA,data) 164 #define TTY_get(tty,data) ioctl(tty,TIOCGETP,data 279 static FILE *tty; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ioctl.py | 10 tty = open("/dev/tty", "r") variable 12 raise unittest.SkipTest("Unable to open /dev/tty") 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 16 tty.close() 20 "are attached to /dev/tty") 21 del tty, r, rpgrp 33 tty = open("/dev/tty", "r") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " " [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ioctl.py | 10 tty = open("/dev/tty", "r") variable 12 raise unittest.SkipTest("Unable to open /dev/tty") 15 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " ") 16 tty.close() 20 "are attached to /dev/tty") 21 del tty, r, rpgrp 33 tty = open("/dev/tty", "r") 34 r = fcntl.ioctl(tty, termios.TIOCGPGRP, " " [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsevents.c | 43 struct termios tty; local 55 tty = private->saved_tty; 56 tty.c_iflag = IGNPAR | IGNBRK; 57 tty.c_oflag = 0; 58 tty.c_cflag = CREAD | CS8; 59 tty.c_lflag = 0; 60 tty.c_cc[VTIME] = 0; 61 tty.c_cc[VMIN] = 1; 62 cfsetispeed(&tty, 9600); 63 cfsetospeed(&tty, 9600) [all...] |
/bionic/libc/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/development/ndk/platforms/android-L/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/sys/ |
ioctl.h | 41 #include <linux/tty.h>
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/using_ppapi_simple/ |
example.js | 12 // - messages from /dev/tty (prefixed with PS_TTY_PREFIX) 19 } else if (message.data.indexOf("tty:") == 0) { 20 common.logMessage(message.data.slice("tty:".length));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pty.py | 11 import tty namespace 69 return (fd, '/dev/tty' + x + y) 121 # Explicitly open the tty to make it become a controlling tty. 169 mode = tty.tcgetattr(STDIN_FILENO) 170 tty.setraw(STDIN_FILENO) 172 except tty.error: # This is the same as termios.error 178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pty.py | 11 import tty namespace 69 return (fd, '/dev/tty' + x + y) 121 # Explicitly open the tty to make it become a controlling tty. 169 mode = tty.tcgetattr(STDIN_FILENO) 170 tty.setraw(STDIN_FILENO) 172 except tty.error: # This is the same as termios.error 178 tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
|
getpass.py | 16 # Gregory P. Smith (tty support & GetPassWarning) 32 the tty. If no tty is available defaults to sys.stderr. 36 EOFError: If our input tty or stdin was closed. 42 tty = None 44 # Always try reading and writing directly on the tty first. 45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY) 46 tty = os.fdopen(fd, 'w+', 1) 47 input = tty 49 stream = tty [all...] |
/external/ppp/pppd/ |
Android.mk | 20 tty.c \
|
Makefile.sol2 | 12 tty.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-solaris.o \
|
/external/openssl/crypto/ui/ |
ui_openssl.c | 227 # define TTY_get(tty,data) tcgetattr(tty,data) 228 # define TTY_set(tty,data) tcsetattr(tty,TCSANOW,data) 235 # define TTY_get(tty,data) ioctl(tty,TCGETA,data) 236 # define TTY_set(tty,data) ioctl(tty,TCSETA,data) 243 # define TTY_get(tty,data) ioctl(tty,TIOCGETP,data [all...] |
/external/chromium_org/tools/ |
sort-headers.py | 27 import tty namespace 32 tty.setraw(sys.stdin.fileno())
|
/bionic/libc/kernel/uapi/linux/ |
isdn.h | 22 #include <linux/tty.h>
|
/development/ndk/platforms/android-L/include/linux/ |
isdn.h | 22 #include <linux/tty.h>
|