Searched refs:SubprocessType (Results 1 – 5 of 5) sorted by relevance
/system/core/adb/daemon/ |
D | shell_service.h | 25 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,
|
D | shell_service_test.cpp | 47 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()
|
D | services.cpp | 102 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()
|
D | shell_service.cpp | 146 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 …]
|
D | abb_service.cpp | 80 constexpr auto abb_process_type = SubprocessType::kRaw; in startAbbProcess()
|