Home
last modified time | relevance | path

Searched refs:pipe_write (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/
Drecovery_main.cpp234 android::base::unique_fd pipe_read, pipe_write; in redirect_stdio() local
236 if (!android::base::Pipe(&pipe_read, &pipe_write)) { in redirect_stdio()
265 pipe_write.reset(); in redirect_stdio()
310 if (dup2(pipe_write.get(), STDOUT_FILENO) == -1) { in redirect_stdio()
313 if (dup2(pipe_write.get(), STDERR_FILENO) == -1) { in redirect_stdio()
/bootable/recovery/install/
Dinstall.cpp376 android::base::unique_fd pipe_read, pipe_write; in TryUpdateBinary() local
379 if (!android::base::Pipe(&pipe_read, &pipe_write, 0)) { in TryUpdateBinary()
421 ? SetUpAbUpdateCommands(package_path, zip, pipe_write.get(), &args) in TryUpdateBinary()
422 : SetUpNonAbUpdateCommands(package_path, zip, retry_count, pipe_write.get(), &args); in TryUpdateBinary()
448 pipe_write.reset(); in TryUpdateBinary()