Home
last modified time | relevance | path

Searched refs:child_fd (Results 1 – 3 of 3) sorted by relevance

/system/core/init/
Dsubcontext.cpp210 int child_fd = dup(subcontext_socket.get()); // NOLINT(android-cloexec-dup) in Fork() local
211 if (child_fd < 0) { in Fork()
230 auto child_fd_string = std::to_string(child_fd); in Fork()
/system/update_engine/common/
Dsubprocess_unittest.cc114 int child_fd, in ExpectedDataOnPipe() argument
122 int fd = subprocess->GetPipeFd(*pid, child_fd); in ExpectedDataOnPipe()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp73 unique_fd parent_fd, child_fd; member in fd_sharer
79 fd_sharer::fd_sharer() : parent_fd{}, child_fd{}, child_pid{-1} { in fd_sharer()
80 bool sp_ok = android::base::Socketpair(SOCK_STREAM, &parent_fd, &child_fd);
118 ssize_t s = TEMP_FAILURE_RETRY(recvmsg(child_fd, &msg, 0)); in run()
121 s = TEMP_FAILURE_RETRY(write(child_fd, &unused, sizeof(unused))); in run()