Home
last modified time | relevance | path

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

12

/system/core/adb/
Dadb_client.cpp99 adb_close(fd); in switch_socket_transport()
105 adb_close(fd); in switch_socket_transport()
168 adb_close(fd); in _adb_connect()
174 adb_close(fd); in _adb_connect()
217 adb_close(fd); in adb_connect()
222 adb_close(fd); in adb_connect()
244 adb_close(fd); in adb_connect()
284 adb_close(fd); in adb_command()
289 adb_close(fd); in adb_command()
302 adb_close(fd); in adb_query()
[all …]
Dservices.cpp73 adb_close(fd); in restart_root_service()
79 adb_close(fd); in restart_root_service()
85 adb_close(fd); in restart_root_service()
92 adb_close(fd); in restart_unroot_service()
96 adb_close(fd); in restart_unroot_service()
104 adb_close(fd); in restart_tcp_service()
112 adb_close(fd); in restart_tcp_service()
118 adb_close(fd); in restart_usb_service()
184 adb_close(fd); in reboot_service()
189 adb_close(fd); in reconnect_service()
[all …]
Dshell_service_protocol_test.cpp60 adb_close(fd); in TearDown()
148 adb_close(read_fd_); in TEST_F()
156 adb_close(write_fd_); in TEST_F()
164 adb_close(write_fd_); in TEST_F()
172 adb_close(read_fd_); in TEST_F()
187 adb_close(write_fd_); in TEST_F()
Dsysdeps_test.cpp83 ASSERT_EQ(0, adb_close(fds[0])); in TEST()
84 ASSERT_EQ(0, adb_close(fds[1])); in TEST()
98 ASSERT_EQ(0, adb_close(fd)); in TEST()
103 ASSERT_EQ(0, adb_close(socketpair[0])); in TEST()
104 ASSERT_EQ(0, adb_close(socketpair[1])); in TEST()
116 ASSERT_EQ(0, adb_close(fds[0])); in TearDown()
119 ASSERT_EQ(0, adb_close(fds[1])); in TearDown()
210 EXPECT_EQ(0, adb_close(fds[1])); in TEST_F()
244 adb_close(fd); in TEST_F()
Dsocket_test.cpp98 ASSERT_EQ(0, adb_close(first[0])); in TEST_F()
99 ASSERT_EQ(0, adb_close(last[1])); in TEST_F()
155 ASSERT_EQ(0, adb_close(cause_close_fd[0])); in TEST_F()
158 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()
179 ASSERT_EQ(0, adb_close(cause_close_fd[0])); in TEST_F()
187 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()
213 ASSERT_EQ(0, adb_close(socket_fd[0])); in TEST_F()
225 ASSERT_EQ(0, adb_close(fd)); in ClientThreadFunc()
Dadb_utils.h51 extern int adb_close(int fd);
56 adb_close(fd); in Close()
74 adb_close(fd_);
Dframebuffer_service.cpp74 adb_close(fds[0]); in framebuffer_service()
75 adb_close(fds[1]); in framebuffer_service()
82 adb_close(fds[1]); in framebuffer_service()
180 adb_close(fds[0]); in framebuffer_service()
184 adb_close(fd); in framebuffer_service()
Dtransport_local.cpp123 adb_close(fd); in local_connect_arbitrary_ports()
264 adb_close(fd); in qemu_socket_thread()
271 adb_close(fd); in qemu_socket_thread()
325 adb_close(fd); in remote_kick()
345 adb_close(fd); in remote_close()
Dcommandline.cpp843 adb_close(fd); in adb_download_buffer()
859 adb_close(fd); in adb_download_buffer()
863 adb_close(fd); in adb_download_buffer()
972 if (fd >= 0) adb_close(fd); in adb_sideload_host()
1028 adb_close(STDERR_FILENO); in ppp()
1029 adb_close(fd); in ppp()
1040 adb_close(fd); in ppp()
1171 if (adb_close(fd) < 0) { in send_shell_command()
1282 adb_close(outFd); in backup()
1291 adb_close(fd); in backup()
[all …]
Dconsole.cpp128 adb_close(fd); in adb_send_emulator_command()
151 adb_close(fd); in adb_send_emulator_command()
Dfile_sync_service.cpp210 adb_close(fd); in handle_send_file()
251 if (fd >= 0) adb_close(fd); in handle_send_file()
366 adb_close(fd); in do_recv()
371 adb_close(fd); in do_recv()
376 adb_close(fd); in do_recv()
437 adb_close(fd); in file_sync_service()
Dremount_service.cpp112 adb_close(fd); in remount_service()
151 adb_close(fd); in remount_service()
Dusb_linux_client.cpp340 adb_close(h->fd); in usb_adb_close()
450 adb_close(h->bulk_in); in init_functionfs()
454 adb_close(h->bulk_out); in init_functionfs()
458 adb_close(h->control); in init_functionfs()
557 adb_close(h->bulk_out); in usb_ffs_close()
558 adb_close(h->bulk_in); in usb_ffs_close()
Djdwp_service.cpp190 adb_close(proc->socket); in jdwp_process_free()
201 adb_close(proc->out_fds[n]); in jdwp_process_free()
372 adb_close(fd); in jdwp_process_event()
491 adb_close(s); in jdwp_control_init()
498 adb_close(s); in jdwp_control_init()
507 adb_close(s); in jdwp_control_init()
Dshell_service_test.cpp84 adb_close(subprocess_fd_); in CleanupTestSubprocess()
88 adb_close(SHELL_EXIT_NOTIFY_FD); in CleanupTestSubprocess()
89 adb_close(shell_exit_receiver_fd_); in CleanupTestSubprocess()
Dfdevent_test.h56 ASSERT_EQ(0, adb_close(dummy)); in TerminateThread()
Dfile_sync_client.cpp126 adb_close(fd); in ~SyncConnection()
236 adb_close(lfd); in SendLargeFile()
256 adb_close(lfd); in SendLargeFile()
539 adb_close(lfd); in sync_recv()
547 adb_close(lfd); in sync_recv()
555 adb_close(lfd); in sync_recv()
562 adb_close(lfd); in sync_recv()
569 adb_close(lfd); in sync_recv()
581 adb_close(lfd); in sync_recv()
Dfdevent_test.cpp136 ASSERT_EQ(0, adb_close(writer)); in TEST_F()
137 ASSERT_EQ(0, adb_close(reader)); in TEST_F()
Dadb_listeners.cpp52 adb_close(fd); in ss_listener_event_func()
80 adb_close(fd); in listener_event_func()
Dset_verity_enable_state_service.cpp142 adb_close(fd); in set_verity_enabled_state_service()
Dfdevent.cpp164 adb_close(fde->fd); in fdevent_remove()
312 adb_close(subproc_fd); in fdevent_subproc_event_func()
Dsysdeps.h221 extern int adb_close(int fd);
580 __inline__ int adb_close(int fd) { in adb_close() function
705 #define unix_close adb_close
Dshell_service.cpp116 adb_close(fd); in init_subproc_child()
741 adb_close(pipefd[1]); in ReportError()
Dadb.cpp857 adb_close(fd[0]); in launch_server()
874 adb_close(fd[1]); in launch_server()
877 adb_close(fd[0]); in launch_server()
Dsysdeps_win32.cpp526 int adb_close(int fd) in adb_close() function
1192 adb_close(server); in adb_socketpair()
1199 adb_close(server); in adb_socketpair()
1202 adb_close(client); in adb_socketpair()
1205 adb_close(accepted); in adb_socketpair()

12