Home
last modified time | relevance | path

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

/frameworks/av/services/minijail/
Dminijail.cpp34 int pipefd[2]; in WritePolicyToPipe() local
35 if (pipe(pipefd) == -1) { in WritePolicyToPipe()
40 base::unique_fd write_end(pipefd[1]); in WritePolicyToPipe()
53 return pipefd[0]; in WritePolicyToPipe()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp80 int pipefd[2]; in start_server_process() local
94 ret = pipe(pipefd); in start_server_process()
99 snprintf(strpipefd1, sizeof(strpipefd1), "%d", pipefd[1]); in start_server_process()
106 close(pipefd[0]); in start_server_process()
109 write(pipefd[1], &status, sizeof(status)); in start_server_process()
113 close(pipefd[1]); in start_server_process()
114 ret = read(pipefd[0], &status, sizeof(status)); in start_server_process()
116 close(pipefd[0]); in start_server_process()
730 int pipefd[2]; in TEST_F() local
734 ret = pipe2(pipefd, O_NONBLOCK); in TEST_F()
[all …]