Home
last modified time | relevance | path

Searched refs:SubprocessType (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/daemon/
Dshell_service.h25 enum class SubprocessType { enum
39 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_test.cpp47 void StartTestSubprocess(const char* command, SubprocessType type,
63 const char* command, SubprocessType type, SubprocessProtocol protocol) { in StartTestSubprocess()
157 SubprocessType::kRaw, SubprocessProtocol::kNone)); in TEST_F()
169 SubprocessType::kPty, SubprocessProtocol::kNone)); in TEST_F()
179 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
191 SubprocessType::kPty, SubprocessProtocol::kShell)); in TEST_F()
204 "", SubprocessType::kPty, SubprocessProtocol::kShell)); in TEST_F()
234 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
253 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
265 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
Dservices.cpp102 SubprocessType type(command.empty() ? SubprocessType::kPty : SubprocessType::kRaw); in ShellService()
108 type = SubprocessType::kRaw; in ShellService()
110 type = SubprocessType::kPty; in ShellService()
268 return StartSubprocess(cmd, nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in daemon_service_to_fd()
270 return StartSubprocess("/system/bin/bu restore", nullptr, SubprocessType::kRaw, in daemon_service_to_fd()
303 return StartSubprocess(std::string(name), nullptr, SubprocessType::kRaw, in daemon_service_to_fd()
Dshell_service.cpp146 Subprocess(std::string command, const char* terminal_type, SubprocessType type,
189 SubprocessType type_;
203 Subprocess::Subprocess(std::string command, const char* terminal_type, SubprocessType type, in Subprocess()
285 if (type_ == SubprocessType::kPty) { in ForkAndExec()
316 if (type_ == SubprocessType::kPty) { in ForkAndExec()
400 CHECK(type_ == SubprocessType::kRaw); in ExecInProcess()
665 if (type_ == SubprocessType::kRaw) { in PassInput()
710 if (bytes < 0 && !(type_ == SubprocessType::kPty && errno == EIO)) { in PassOutput()
793 unique_fd StartSubprocess(std::string name, const char* terminal_type, SubprocessType type, in StartSubprocess()
802 if (protocol == SubprocessProtocol::kNone && type == SubprocessType::kRaw) { in StartSubprocess()
[all …]
Dabb_service.cpp80 constexpr auto abb_process_type = SubprocessType::kRaw; in startAbbProcess()