Home
last modified time | relevance | path

Searched refs:adb_close (Results 1 – 12 of 12) sorted by relevance

/packages/modules/adb/
Dsysdeps_test.cpp54 ASSERT_EQ(0, adb_close(fds[0])); in TEST()
55 ASSERT_EQ(0, adb_close(fds[1])); in TEST()
69 ASSERT_EQ(0, adb_close(fd)); in TEST()
74 ASSERT_EQ(0, adb_close(socketpair[0])); in TEST()
75 ASSERT_EQ(0, adb_close(socketpair[1])); in TEST()
87 ASSERT_EQ(0, adb_close(fds[0])); in TearDown()
90 ASSERT_EQ(0, adb_close(fds[1])); in TearDown()
195 EXPECT_EQ(0, adb_close(fds[1])); in TEST_F()
231 adb_close(fd); in TEST_F()
Dsocket_test.cpp97 ASSERT_EQ(0, adb_close(first[0])); in TEST_F()
98 ASSERT_EQ(0, adb_close(last[1])); in TEST_F()
163 ASSERT_EQ(0, adb_close(cause_close_fd[0])); in TEST_F()
167 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()
188 ASSERT_EQ(0, adb_close(cause_close_fd[0])); in TEST_F()
197 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()
222 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()
260 adb_close(head_fd[0]); in TEST_F()
261 adb_close(tail_fd[0]); in TEST_F()
275 ASSERT_EQ(0, adb_close(fd)); in ClientThreadFunc()
Dshell_service_protocol_test.cpp60 adb_close(fd); in TearDown()
150 adb_close(read_fd_); in TEST_F()
158 adb_close(write_fd_); in TEST_F()
166 adb_close(write_fd_); in TEST_F()
174 adb_close(read_fd_); in TEST_F()
189 adb_close(write_fd_); in TEST_F()
Dadb_unique_fd.cpp26 adb_close(fd); in Close()
Dsysdeps.h110 extern int adb_close(int fd);
497 inline int adb_close(int fd) { in adb_close() function
648 #define unix_close adb_close
Dadb_unique_fd.h38 int adb_close(const android::base::unique_fd_impl<T>&)
Dsysdeps_win32.cpp529 int adb_close(int fd) { in adb_close() function
1375 adb_close(server); in adb_socketpair()
1382 adb_close(server); in adb_socketpair()
1385 adb_close(client); in adb_socketpair()
1388 adb_close(accepted); in adb_socketpair()
/packages/modules/adb/daemon/
Dframebuffer_service.cpp76 adb_close(fds[0]); in framebuffer_service()
77 adb_close(fds[1]); in framebuffer_service()
84 adb_close(fds[1]); in framebuffer_service()
184 adb_close(fds[0]); in framebuffer_service()
Dservices.cpp79 adb_close(s[1]); in reverse_service()
/packages/modules/adb/fdevent/
Dfdevent_test.cpp170 ASSERT_EQ(0, adb_close(writer)); in TEST_F()
171 ASSERT_EQ(0, adb_close(reader)); in TEST_F()
288 adb_close(fds[1]); in TEST_F()
/packages/modules/adb/client/
Dincremental.cpp208 adb_close(pipe_write_fd); in install()
214 adb_close(pipe_read_fd); in install()
Dcommandline.cpp1055 adb_close(STDERR_FILENO); in ppp()
1056 adb_close(fd); in ppp()
1063 adb_close(fd); in ppp()