Home
last modified time | relevance | path

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

/system/bt/vendor_libs/linux/interface/
Dasync_fd_watcher.cc75 int pipe_fds[2]; in tryStartThread() local
76 if (pipe2(pipe_fds, O_NONBLOCK)) return -1; in tryStartThread()
78 notification_listen_fd_ = pipe_fds[0]; in tryStartThread()
79 notification_write_fd_ = pipe_fds[1]; in tryStartThread()
/system/core/init/
Dselinux.cpp129 int pipe_fds[2]; in ForkExecveAndWaitForCompletion() local
130 if (pipe(pipe_fds) == -1) { in ForkExecveAndWaitForCompletion()
145 close(pipe_fds[0]); in ForkExecveAndWaitForCompletion()
148 if (TEMP_FAILURE_RETRY(dup2(pipe_fds[1], STDERR_FILENO)) == -1) { in ForkExecveAndWaitForCompletion()
153 close(pipe_fds[1]); in ForkExecveAndWaitForCompletion()
167 close(pipe_fds[1]); in ForkExecveAndWaitForCompletion()
173 const int child_out_fd = pipe_fds[0]; in ForkExecveAndWaitForCompletion()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc156 int pipe_fds[2]; in tryStartThread() local
157 if (pipe2(pipe_fds, O_NONBLOCK)) { in tryStartThread()
164 notification_listen_fd_ = pipe_fds[0]; in tryStartThread()
165 notification_write_fd_ = pipe_fds[1]; in tryStartThread()