android_system_core/adb
Josh Gao cd2039e484 adb: detect when the client disconnects in wait-for-device.
Avoid leaking a thread and its associated resources when a user cancels
wait-for-device.

Bug: http://b/26966721
Bug: https://code.google.com/p/android/issues/detail?id=199088
Change-Id: Idac80a24e9739ddd24e500fe14826a78f350c018
(cherry picked from commit 09855472f4)
2016-02-22 15:57:08 -08:00
..
client adb: setsid() for adb host server. 2016-02-22 15:57:08 -08:00
daemon adbd: Remove check for set_supplementary_gids. 2016-01-08 10:56:20 -08:00
.clang-format adb: fix clang-format for access modifier dedent. 2016-02-22 15:57:08 -08:00
Android.mk adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
CPPLINT.cfg
MODULE_LICENSE_APACHE2
NOTICE
OVERVIEW.TXT
SERVICES.TXT
SYNC.TXT
adb.cpp adb: setsid() for adb host server. 2016-02-22 15:57:08 -08:00
adb.h adb: tag fatal, fatal_errno with printf attribute. 2016-01-15 15:25:31 -08:00
adb_auth.cpp
adb_auth.h
adb_auth_client.cpp
adb_auth_host.cpp base: add SystemErrorCodeToString() function. 2016-02-01 12:18:26 -08:00
adb_client.cpp adb: add adb_get_feature_set. 2016-01-31 19:12:26 -08:00
adb_client.h adb: add nullability specifiers to adb_client.h. 2016-01-31 19:22:04 -08:00
adb_io.cpp Increase the maximum shell command length to 4096ish. 2016-01-15 15:02:19 -08:00
adb_io.h
adb_io_test.cpp
adb_listeners.cpp
adb_listeners.h
adb_trace.cpp
adb_trace.h
adb_utils.cpp adb: don't emulate fdevent or socketpair on Windows. 2016-02-22 15:57:08 -08:00
adb_utils.h base: add network address parsing function from adb. 2016-01-21 20:03:33 -08:00
adb_utils_test.cpp adb: mkdirs fixes 2016-02-22 15:57:08 -08:00
commandline.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
console.cpp
diagnose_usb.cpp
diagnose_usb.h
fdevent.cpp adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
fdevent.h adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
fdevent_test.cpp adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
fdevent_test.h adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
file_sync_client.cpp adb: don't append a slash to a path that already ends with one. 2016-02-03 16:24:13 -08:00
file_sync_service.cpp adb: fix mistaken uses of SendFail in file_sync_service.cpp. 2016-02-03 23:50:32 +00:00
file_sync_service.h
framebuffer_service.cpp
get_my_path_darwin.cpp
get_my_path_linux.cpp
jdwp_service.cpp
line_printer.cpp Improve dumb terminal support (emacs is dumb). 2016-01-08 15:47:07 -08:00
line_printer.h
mutex_list.h
protocol.txt
remount_service.cpp
remount_service.h
security_log_tags.h ADB security logging 2016-01-21 15:57:02 +00:00
services.cpp adb: detect when the client disconnects in wait-for-device. 2016-02-22 15:57:08 -08:00
services.h
set_verity_enable_state_service.cpp
shell_service.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
shell_service.h
shell_service_protocol.cpp
shell_service_protocol_test.cpp
shell_service_test.cpp adb: fix subprocess termination for legacy shell. 2016-01-27 17:13:41 -08:00
socket.h
socket_test.cpp adb: make fdevent_test, socket_test compile on Windows. 2016-02-22 15:57:08 -08:00
sockets.cpp Increase the maximum shell command length to 4096ish. 2016-01-15 15:02:19 -08:00
sockets.dia
sysdeps.h adb: don't emulate fdevent or socketpair on Windows. 2016-02-22 15:57:08 -08:00
sysdeps_test.cpp adb: detect when the client disconnects in wait-for-device. 2016-02-22 15:57:08 -08:00
sysdeps_win32.cpp adb: add fd exhaustion test, fix errno reporting in sysdeps_win32. 2016-02-22 15:57:08 -08:00
sysdeps_win32_test.cpp adb: allow wine's output for sysdeps_win32 strerror test. 2016-02-22 15:57:08 -08:00
test_adb.py
test_device.py
test_track_devices.cpp
transport.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
transport.h
transport_local.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
transport_test.cpp
transport_usb.cpp
usb_linux.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
usb_linux_client.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
usb_osx.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00
usb_windows.cpp adb: make adb_thread_func_t return void, add adb_thread_exit. 2016-02-22 15:57:08 -08:00