Home
last modified time | relevance | path

Searched refs:terminal_type (Results 1 – 4 of 4) sorted by relevance

/system/core/adb/daemon/
Dshell_service.h39 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type,
43 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type,
Dshell_service.cpp146 Subprocess(std::string command, const char* terminal_type, SubprocessType type,
203 Subprocess::Subprocess(std::string command, const char* terminal_type, SubprocessType type, in Subprocess() argument
206 terminal_type_(terminal_type ? terminal_type : ""), in Subprocess()
793 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type, in StartSubprocess() argument
810 unique_fd fd = StartSubprocess(std::move(name), terminal_type, type, protocol, make_pty_raw, in StartSubprocess()
818 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type, in StartSubprocess() argument
823 protocol == SubprocessProtocol::kNone ? "none" : "shell", terminal_type, name.c_str()); in StartSubprocess()
825 auto subprocess = std::make_unique<Subprocess>(std::move(name), terminal_type, type, protocol, in StartSubprocess()
856 constexpr auto terminal_type = ""; in StartCommandInProcess() local
860 auto subprocess = std::make_unique<Subprocess>(std::move(name), terminal_type, type, protocol, in StartCommandInProcess()
Dservices.cpp104 std::string terminal_type = "dumb"; in ShellService() local
114 terminal_type = arg.substr(strlen("TERM=")); in ShellService()
121 return StartSubprocess(command, terminal_type.c_str(), type, protocol); in ShellService()
/system/core/adb/client/
Dcommandline.cpp568 const char* terminal_type = getenv("TERM"); in ShellServiceString() local
569 if (terminal_type != nullptr) { in ShellServiceString()
570 args.push_back(std::string("TERM=") + terminal_type); in ShellServiceString()