Home
last modified time | relevance | path

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

/system/core/adb/client/
Dincremental.cpp224 std::vector<char> child_stdout(CHUNK_SIZE); in wait_for_installation() local
228 while ((bytes_read = adb_read(read_fd, child_stdout.data() + buf_size, in wait_for_installation()
229 child_stdout.size() - buf_size)) > 0) { in wait_for_installation()
231 fprintf(stdout, "%.*s", bytes_read, child_stdout.data() + buf_size); in wait_for_installation()
234 const std::string_view stdout_str(child_stdout.data(), buf_size); in wait_for_installation()
251 child_stdout.resize(buf_size + CHUNK_SIZE); in wait_for_installation()
/system/core/init/
Dfirmware_handler.cpp74 unique_fd child_stdout; in RunExternalHandler() local
76 if (!Socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, &child_stdout, &parent_stdout)) { in RunExternalHandler()
100 dup2(child_stdout.get(), STDOUT_FILENO); in RunExternalHandler()
120 child_stdout.reset(); in RunExternalHandler()