Searched refs:SubprocessProtocol (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/daemon/ |
D | shell_service.h | 30 enum class SubprocessProtocol { enum 40 SubprocessProtocol protocol); 44 SubprocessProtocol protocol, bool make_pty_raw, 45 SubprocessProtocol error_protocol, unique_fd* error_fd); 52 unique_fd StartCommandInProcess(std::string name, Command command, SubprocessProtocol protocol); 55 unique_fd ReportError(SubprocessProtocol protocol, const std::string& message);
|
D | shell_service_test.cpp | 48 SubprocessProtocol protocol); 51 void StartTestCommandInProcess(std::string name, Command command, SubprocessProtocol protocol); 63 const char* command, SubprocessType type, SubprocessProtocol protocol) { in StartTestSubprocess() 72 SubprocessProtocol protocol) { in StartTestCommandInProcess() 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() [all …]
|
D | shell_service.cpp | 147 SubprocessProtocol protocol, bool make_pty_raw); 190 SubprocessProtocol protocol_; 204 SubprocessProtocol protocol, bool make_pty_raw) in Subprocess() 298 if (protocol_ == SubprocessProtocol::kShell && in ForkAndExec() 409 if (protocol_ == SubprocessProtocol::kShell) { in ExecInProcess() 438 if (protocol_ == SubprocessProtocol::kNone) { in ConnectProtocolEndpoints() 764 unique_fd ReportError(SubprocessProtocol protocol, const std::string& message) { in ReportError() 772 if (protocol == SubprocessProtocol::kShell) { in ReportError() 781 if (protocol == SubprocessProtocol::kShell) { in ReportError() 794 SubprocessProtocol protocol) { in StartSubprocess() [all …]
|
D | abb.cpp | 89 auto protocol = SubprocessProtocol::kShell; in main() 91 protocol = SubprocessProtocol::kShell; in main() 93 protocol = SubprocessProtocol::kNone; in main()
|
D | services.cpp | 103 SubprocessProtocol protocol = SubprocessProtocol::kNone; in ShellService() 112 protocol = SubprocessProtocol::kShell; in ShellService() 268 return StartSubprocess(cmd, nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in daemon_service_to_fd() 271 SubprocessProtocol::kNone); in daemon_service_to_fd() 304 SubprocessProtocol::kNone); in daemon_service_to_fd()
|
D | abb_service.cpp | 37 static constexpr auto kErrorProtocol = SubprocessProtocol::kShell; 81 constexpr auto abb_protocol = SubprocessProtocol::kNone; in startAbbProcess()
|