Searched refs:child_fd (Results 1 – 3 of 3) sorted by relevance
/system/core/init/ |
D | subcontext.cpp | 209 int child_fd = dup(subcontext_socket); // NOLINT(android-cloexec-dup) in Fork() local 210 if (child_fd < 0) { in Fork() 229 auto child_fd_string = std::to_string(child_fd); in Fork()
|
/system/update_engine/common/ |
D | subprocess_unittest.cc | 114 int child_fd, in ExpectedDataOnPipe() argument 122 int fd = subprocess->GetPipeFd(*pid, child_fd); in ExpectedDataOnPipe()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo_test.cpp | 72 unique_fd parent_fd, child_fd; member in fd_sharer 78 fd_sharer::fd_sharer() : parent_fd{}, child_fd{}, child_pid{-1} { in fd_sharer() 79 bool sp_ok = android::base::Socketpair(SOCK_STREAM, &parent_fd, &child_fd); 117 ssize_t s = TEMP_FAILURE_RETRY(recvmsg(child_fd, &msg, 0)); in run() 120 s = TEMP_FAILURE_RETRY(write(child_fd, &unused, sizeof(unused))); in run()
|