Home
last modified time | relevance | path

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

/aosp12/packages/modules/adb/daemon/
H A Dshell_service.cpp160 Subprocess(std::string command, const char* terminal_type, SubprocessType type,
216 Subprocess::Subprocess(std::string command, const char* terminal_type, SubprocessType type, in Subprocess() argument
219 terminal_type_(terminal_type ? terminal_type : ""), in Subprocess()
827 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type, in StartSubprocess() argument
844 unique_fd fd = StartSubprocess(std::move(name), terminal_type, type, protocol, make_pty_raw, in StartSubprocess()
852 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type, in StartSubprocess() argument
857 protocol == SubprocessProtocol::kNone ? "none" : "shell", terminal_type, name.c_str()); in StartSubprocess()
859 auto subprocess = std::make_unique<Subprocess>(std::move(name), terminal_type, type, protocol, in StartSubprocess()
890 constexpr auto terminal_type = ""; in StartCommandInProcess() local
894 auto subprocess = std::make_unique<Subprocess>(std::move(name), terminal_type, type, protocol, in StartCommandInProcess()
H A 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,
H A Dservices.cpp102 std::string terminal_type = "dumb"; in ShellService() local
112 terminal_type = arg.substr(strlen("TERM=")); in ShellService()
119 return StartSubprocess(command, terminal_type.c_str(), type, protocol); in ShellService()
/aosp12/packages/modules/adb/client/
H A Dcommandline.cpp585 const char* terminal_type = getenv("TERM"); in ShellServiceString() local
586 if (terminal_type != nullptr) { in ShellServiceString()
587 args.push_back(std::string("TERM=") + terminal_type); in ShellServiceString()