Searched refs:SubprocessProtocol (Results 1 – 4 of 4) sorted by relevance
/system/core/adb/ |
D | shell_service_test.cpp | 48 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()
|
D | shell_service.cpp | 140 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 …]
|
D | shell_service.h | 135 enum class SubprocessProtocol { enum 145 SubprocessType type, SubprocessProtocol protocol);
|
D | services.cpp | 213 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()
|