Searched refs:Subprocess (Results 1 – 15 of 15) sorted by relevance
/system/update_engine/common/ |
D | subprocess.cc | 54 if ((flags & Subprocess::kRedirectStderrToStdout) != 0) { in SetupChild() 80 proc->SetSearchPath((flags & Subprocess::kSearchPath) != 0); in LaunchProcess() 102 void Subprocess::Init( in Init() 112 Subprocess::~Subprocess() { in ~Subprocess() 117 void Subprocess::OnStdoutReady(SubprocessRecord* record) { in OnStdoutReady() 136 void Subprocess::ChildExitedCallback(const siginfo_t& info) { in ChildExitedCallback() 171 pid_t Subprocess::Exec(const vector<string>& cmd, in Exec() 176 pid_t Subprocess::ExecFlags(const vector<string>& cmd, in ExecFlags() 189 &Subprocess::ChildExitedCallback, in ExecFlags() 205 base::Bind(&Subprocess::OnStdoutReady, record.get())); in ExecFlags() [all …]
|
D | subprocess_unittest.cc | 76 Subprocess subprocess_; 99 void ExpectedDataOnPipe(const Subprocess* subprocess, in ExpectedDataOnPipe() 123 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F() 127 std::unique_ptr<Subprocess> another_subprocess(new Subprocess()); in TEST_F() 128 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F() 130 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F() 194 EXPECT_TRUE(Subprocess::SynchronousExecFlags( in TEST_F() 195 {"true"}, Subprocess::kSearchPath, &rc, nullptr)); in TEST_F() 206 ASSERT_TRUE(Subprocess::SynchronousExec(cmd, &rc, &stdout)); in TEST_F() 213 ASSERT_TRUE(Subprocess::SynchronousExec( in TEST_F() [all …]
|
D | subprocess.h | 47 class Subprocess { 58 Subprocess() = default; 61 ~Subprocess(); 100 static Subprocess& Get() { in Get() 138 static Subprocess* subprocess_singleton_; 147 DISALLOW_COPY_AND_ASSIGN(Subprocess);
|
D | utils.cc | 590 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr)); in TryAttachingUbiVolume() 598 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &exit_code, nullptr)); in TryAttachingUbiVolume()
|
/system/core/adb/ |
D | shell_service.cpp | 137 class Subprocess { class 139 Subprocess(const std::string& command, const char* terminal_type, 141 ~Subprocess(); 155 static bool StartThread(std::unique_ptr<Subprocess> subprocess, 187 DISALLOW_COPY_AND_ASSIGN(Subprocess); 190 Subprocess::Subprocess(const std::string& command, const char* terminal_type, in Subprocess() function in __anonfc43d0fa0111::Subprocess 210 Subprocess::~Subprocess() { in ~Subprocess() 214 bool Subprocess::ForkAndExec(std::string* error) { in ForkAndExec() 393 bool Subprocess::StartThread(std::unique_ptr<Subprocess> subprocess, std::string* error) { in StartThread() 394 Subprocess* raw = subprocess.release(); in StartThread() [all …]
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 188 current_command_ = Subprocess::Get().ExecFlags( in PerformPartitionPostinstall() 190 Subprocess::kRedirectStderrToStdout, in PerformPartitionPostinstall() 204 Subprocess::Get().GetPipeFd(current_command_, kPostinstallStatusFd); in PerformPartitionPostinstall() 379 Subprocess::Get().KillExec(current_command_); in TerminateProcessing()
|
D | postinstall_runner_action_unittest.cc | 151 Subprocess subprocess_;
|
/system/update_engine/ |
D | daemon.h | 64 Subprocess subprocess_;
|
D | p2p_manager.cc | 261 if (!Subprocess::SynchronousExec(args, &return_code, &output)) { in EnsureP2P() 388 Subprocess::Get().KillExec(child_pid_); in ~LookupData() 398 child_pid_ = Subprocess::Get().ExecFlags( in InitiateLookup() 399 cmd, Subprocess::kSearchPath, {}, in InitiateLookup()
|
D | hardware_chromeos.cc | 173 bool success = Subprocess::SynchronousExec(cmd, &exit_code, &input_line); in GetECVersion()
|
D | sideload_main.cc | 153 Subprocess subprocess; in ApplyUpdatePayload()
|
D | boot_control_chromeos.cc | 251 return Subprocess::Get().Exec( in MarkBootSuccessfulAsync()
|
D | p2p_manager_unittest.cc | 94 Subprocess subprocess_;
|
D | update_attempter.cc | 841 Subprocess::SynchronousExec(command, &rc, nullptr); in UpdateAttempter()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils.cc | 718 TEST_AND_RETURN_FALSE(Subprocess::SynchronousExec(cmd, &rc, &stdout)); in DiffFiles()
|