Home
last modified time | relevance | path

Searched refs:isatty (Results 1 – 8 of 8) sorted by relevance

/system/testing/gtest_extras/
DColor.cpp38 bool stdout_is_tty = isatty(STDOUT_FILENO) != 0; in ShouldUseColor()
/system/core/cli-test/
Dcli-test.cpp69 if (isatty(0)) printf("%s", (c == kRed) ? "\e[31m" : "\e[32m"); in Print()
70 printf("%s%s", lhs, isatty(0) ? "\e[0m" : ""); in Print()
/system/core/adb/
Dsysdeps.h172 #define isatty ___xxx_isatty macro
553 return isatty(fd.get()); in unix_isatty()
555 #define isatty ___xxx_isatty macro
Dsysdeps_win32.cpp1322 #undef isatty in _get_console_handle()
1323 if (!isatty(fd.get())) { in _get_console_handle()
Dtest_device.py386 if self.device.has_shell_protocol() and os.isatty(sys.stdin.fileno()):
/system/sepolicy/prebuilts/api/30.0/private/
Dperfetto.te50 # perfetto log formatter calls isatty() on its stderr. Denial when running
/system/sepolicy/private/
Dperfetto.te50 # perfetto log formatter calls isatty() on its stderr. Denial when running
/system/tools/aidl/
Daidl_language.cpp41 int isatty(int fd) in isatty() function