/system/update_engine/common/ |
D | subprocess.cc | 56 if ((flags & Subprocess::kRedirectStderrToStdout) != 0) { in SetupChild() 82 proc->SetSearchPath((flags & Subprocess::kSearchPath) != 0); in LaunchProcess() 105 void Subprocess::Init( in Init() 115 Subprocess::~Subprocess() { in ~Subprocess() 120 void Subprocess::OnStdoutReady(SubprocessRecord* record) { in OnStdoutReady() 138 void Subprocess::ChildExitedCallback(const siginfo_t& info) { in ChildExitedCallback() 172 pid_t Subprocess::Exec(const vector<string>& cmd, in Exec() 177 pid_t Subprocess::ExecFlags(const vector<string>& cmd, in ExecFlags() 192 base::Bind(&Subprocess::ChildExitedCallback, base::Unretained(this)))); in ExecFlags() 204 base::BindRepeating(&Subprocess::OnStdoutReady, record.get())); in ExecFlags() [all …]
|
D | subprocess_unittest.cc | 76 Subprocess subprocess_; 103 void ExpectedDataOnPipe(const Subprocess* subprocess, in ExpectedDataOnPipe() 127 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F() 131 std::unique_ptr<Subprocess> another_subprocess(new Subprocess()); in TEST_F() 132 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F() 134 EXPECT_EQ(&subprocess_, &Subprocess::Get()); in TEST_F() 198 EXPECT_TRUE(Subprocess::SynchronousExecFlags( in TEST_F() 199 {"true"}, Subprocess::kSearchPath, &rc, nullptr, nullptr)); in TEST_F() 208 ASSERT_TRUE(Subprocess::SynchronousExec(cmd, &rc, &stdout, &stderr)); in TEST_F() 216 ASSERT_TRUE(Subprocess::SynchronousExec( in TEST_F() [all …]
|
D | subprocess.h | 48 class Subprocess { 59 Subprocess() = default; 62 ~Subprocess(); 103 static Subprocess& Get() { return *subprocess_singleton_; } in Get() 141 static Subprocess* subprocess_singleton_; 150 DISALLOW_COPY_AND_ASSIGN(Subprocess);
|
/system/core/adb/daemon/ |
D | shell_service.cpp | 158 class Subprocess { class 160 Subprocess(std::string command, const char* terminal_type, SubprocessType type, 162 ~Subprocess(); 180 static bool StartThread(std::unique_ptr<Subprocess> subprocess, 213 DISALLOW_COPY_AND_ASSIGN(Subprocess); 216 Subprocess::Subprocess(std::string command, const char* terminal_type, SubprocessType type, in Subprocess() function in __anon9d4e575d0111::Subprocess 224 Subprocess::~Subprocess() { in ~Subprocess() 235 bool Subprocess::ForkAndExec(std::string* error) { in ForkAndExec() 423 bool Subprocess::ExecInProcess(Command command, std::string* _Nonnull error) { in ExecInProcess() 463 bool Subprocess::ConnectProtocolEndpoints(std::string* _Nonnull error) { in ConnectProtocolEndpoints() [all …]
|
/system/update_engine/ |
D | hardware_chromeos.cc | 92 if (!chromeos_update_engine::Subprocess::SynchronousExec( in GetVpdValue() 207 if (!Subprocess::SynchronousExec(cmd, &exit_code, &input_line, &error) || in GetECVersion() 362 if (!Subprocess::SynchronousExec(vpd_set_cmd, &exit_code, &output, &error) || in SetFirstActiveOmahaPingSent() 373 if (!Subprocess::SynchronousExec(vpd_dump_cmd, &exit_code, &output, &error) || in SetFirstActiveOmahaPingSent()
|
D | daemon_chromeos.h | 48 Subprocess subprocess_;
|
D | daemon_android.h | 42 Subprocess subprocess_;
|
D | main.cc | 70 chromeos_update_engine::Subprocess::Get().FlushBufferedLogsAtExit(); in main()
|
D | p2p_manager.cc | 256 if (!Subprocess::SynchronousExec(args, &return_code, nullptr, &stderr)) { in EnsureP2P() 381 Subprocess::Get().KillExec(child_pid_); in ~LookupData() 391 child_pid_ = Subprocess::Get().ExecFlags( in InitiateLookup() 393 Subprocess::kSearchPath, in InitiateLookup()
|
D | sideload_main.cc | 134 Subprocess subprocess; in ApplyUpdatePayload()
|
D | boot_control_chromeos.cc | 315 return Subprocess::Get().Exec( in MarkBootSuccessfulAsync()
|
D | p2p_manager_unittest.cc | 98 Subprocess subprocess_;
|
D | update_attempter.cc | 1070 Subprocess::SynchronousExec(command, &rc, nullptr, nullptr); in RebootDirectly()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 201 current_command_ = Subprocess::Get().ExecFlags( in PerformPartitionPostinstall() 203 Subprocess::kRedirectStderrToStdout, in PerformPartitionPostinstall() 217 Subprocess::Get().GetPipeFd(current_command_, kPostinstallStatusFd); in PerformPartitionPostinstall() 402 Subprocess::Get().KillExec(current_command_); in TerminateProcessing()
|
D | postinstall_runner_action_unittest.cc | 162 Subprocess subprocess_;
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 86 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetFileMapContent() 114 if (!Subprocess::SynchronousExec(cmd, &exit_code, &stdout, &stderr) || in GetUpdateEngineConfig()
|