Home
last modified time | relevance | path

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

/system/core/adb/
Dshell_service_test.cpp48 SubprocessProtocol protocol);
64 const char* command, SubprocessType type, SubprocessProtocol protocol) { in StartTestSubprocess()
176 SubprocessType::kRaw, SubprocessProtocol::kNone)); in TEST_F()
188 SubprocessType::kPty, SubprocessProtocol::kNone)); in TEST_F()
198 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
210 SubprocessType::kPty, SubprocessProtocol::kShell)); in TEST_F()
223 "", SubprocessType::kPty, SubprocessProtocol::kShell)); in TEST_F()
253 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
272 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
284 SubprocessType::kRaw, SubprocessProtocol::kShell)); in TEST_F()
Dshell_service.cpp140 SubprocessType type, SubprocessProtocol protocol);
178 SubprocessProtocol protocol_;
191 SubprocessType type, SubprocessProtocol protocol) in Subprocess()
202 if (protocol_ == SubprocessProtocol::kNone && type_ == SubprocessType::kRaw) { in Subprocess()
289 if (protocol_ == SubprocessProtocol::kShell && in ForkAndExec()
351 if (protocol_ == SubprocessProtocol::kNone) { in ForkAndExec()
701 static int ReportError(SubprocessProtocol protocol, const std::string& message) { in ReportError()
709 if (protocol == SubprocessProtocol::kShell) { in ReportError()
718 if (protocol == SubprocessProtocol::kShell) { in ReportError()
732 SubprocessType type, SubprocessProtocol protocol) { in StartSubprocess()
[all …]
Dshell_service.h135 enum class SubprocessProtocol { enum
145 SubprocessType type, SubprocessProtocol protocol);
Dservices.cpp213 SubprocessProtocol protocol = SubprocessProtocol::kNone; in ShellService()
222 protocol = SubprocessProtocol::kShell; in ShellService()
293 ret = StartSubprocess(name + 5, nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in service_to_fd()
309 nullptr, SubprocessType::kRaw, SubprocessProtocol::kNone); in service_to_fd()
312 SubprocessProtocol::kNone); in service_to_fd()