Home
last modified time | relevance | path

Searched refs:SubprocessProtocol (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/daemon/
Dshell_service.h30 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);
Dshell_service_test.cpp48 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 …]
Dservices.cpp101 SubprocessProtocol protocol = SubprocessProtocol::kNone; in ShellService()
110 protocol = SubprocessProtocol::kShell; in ShellService()
161 return StartSubprocess(cmd, nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in reboot_device()
278 return StartSubprocess(cmd, nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in daemon_service_to_fd()
288 return StartSubprocess(cmd, nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in daemon_service_to_fd()
291 SubprocessProtocol::kNone); in daemon_service_to_fd()
294 SubprocessProtocol::kNone); in daemon_service_to_fd()
297 SubprocessProtocol::kNone); in daemon_service_to_fd()
324 SubprocessProtocol::kNone); in daemon_service_to_fd()
Dshell_service.cpp161 SubprocessProtocol protocol, bool make_pty_raw);
203 SubprocessProtocol protocol_;
217 SubprocessProtocol protocol, bool make_pty_raw) in Subprocess()
323 if (protocol_ == SubprocessProtocol::kShell && in ForkAndExec()
435 if (protocol_ == SubprocessProtocol::kShell) { in ExecInProcess()
464 if (protocol_ == SubprocessProtocol::kNone) { in ConnectProtocolEndpoints()
798 unique_fd ReportError(SubprocessProtocol protocol, const std::string& message) { in ReportError()
806 if (protocol == SubprocessProtocol::kShell) { in ReportError()
815 if (protocol == SubprocessProtocol::kShell) { in ReportError()
828 SubprocessProtocol protocol) { in StartSubprocess()
[all …]
Dabb.cpp97 auto protocol = SubprocessProtocol::kShell; in main()
99 protocol = SubprocessProtocol::kShell; in main()
101 protocol = SubprocessProtocol::kNone; in main()
Dabb_service.cpp37 static constexpr auto kErrorProtocol = SubprocessProtocol::kShell;
80 constexpr auto abb_protocol = SubprocessProtocol::kNone; in startAbbProcess()