Home
last modified time | relevance | path

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

/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp67 unique_fd parent_fd, child_fd; member in fd_sharer
73 fd_sharer::fd_sharer() : parent_fd{}, child_fd{}, child_pid{-1} { in fd_sharer()
74 bool sp_ok = android::base::Socketpair(SOCK_STREAM, &parent_fd, &child_fd);
112 ssize_t s = TEMP_FAILURE_RETRY(recvmsg(child_fd, &msg, 0)); in run()
115 s = TEMP_FAILURE_RETRY(write(child_fd, &unused, sizeof(unused))); in run()
/system/core/init/
Dsubcontext.cpp248 int child_fd = dup(subcontext_socket); in Fork() local
249 if (child_fd < 0) { in Fork()
258 auto child_fd_string = std::to_string(child_fd); in Fork()
/system/core/adb/daemon/
Dshell_service.cpp484 int child_fd = adb_open(pts_name, O_RDWR | O_CLOEXEC); in OpenPtyChildFd() local
485 if (child_fd == -1) { in OpenPtyChildFd()
498 if (tcgetattr(child_fd, &tattr) == -1) { in OpenPtyChildFd()
506 if (tcsetattr(child_fd, TCSADRAIN, &tattr) == -1) { in OpenPtyChildFd()
514 return child_fd; in OpenPtyChildFd()
/system/update_engine/common/
Dsubprocess_unittest.cc102 int child_fd, in ExpectedDataOnPipe() argument
110 int fd = subprocess->GetPipeFd(*pid, child_fd); in ExpectedDataOnPipe()