No description
Find a file
Josh Gao c251ec55d3 adb: don't abort when connecting to the same address twice.
When connecting to an address, we construct a transport first, and then
check whether we've already connected to that address. The consequent
destruction of the BlockingConnectionAdapter attempts to join threads
that haven't been started, which aborts.

Make it safe to destruct a BlockingConnectionAdapter without calling
Start on it first, to solve this.

Bug: http://b/69137547
Test: nc -l 12345 & (adb connect localhost:12345; adb connect localhost:12345)
Test: python test_adb.py
Change-Id: I6cb968a62dbac6332907e06575893d764905ee62
2018-04-03 13:58:21 -07:00
adb adb: don't abort when connecting to the same address twice. 2018-04-03 13:58:21 -07:00
adf Merge "Add OWNERS." 2017-12-07 23:21:26 +00:00
base Merge "Allow android::base::ScopeGuard in STL containers" 2018-03-26 23:05:25 +00:00
bootstat bootstat: refine "Kernel panic - not syncing" 2018-03-22 13:57:31 -07:00
cpio Possible null pointer miss on realloc 2017-03-23 22:41:14 +01:00
debuggerd Mark crash_dump.policy as not supported on mips 2018-02-27 15:35:11 -08:00
demangle bpfmt. 2018-02-16 17:58:14 -08:00
diagnose_usb Copy adb/OWNERS to diagnose_usb/OWNERS. 2018-03-05 15:47:43 -08:00
fastboot Merge "Add a header-version argument to fastboot" 2018-04-03 18:33:57 +00:00
fs_mgr Support Speck encryption. 2018-03-30 10:18:46 -07:00
gatekeeperd Merge "gatekeeperd: use std::unique_ptr" into oc-mr1-dev 2017-08-18 19:18:46 +00:00
healthd Remove obsolete BRILLO variable 2018-03-10 15:41:37 -08:00
include Move android_filesystem_config.h => fs_config.h 2017-08-03 17:20:27 +00:00
init Merge "Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr." 2018-03-31 17:03:25 +00:00
libappfuse bpfmt. 2018-02-16 17:58:14 -08:00
libasyncio Merge "Make libasyncio headers usable from C" 2018-03-06 19:35:21 +00:00
libbacktrace Method to avoid skipping frames for local unwinds. 2018-03-23 13:01:44 -07:00
libbinderwrapper libbinderwrapper: Android.mk -> Android.bp 2017-04-25 15:55:26 -07:00
libcrypto_utils Mark the modules as VNDK in Android.bp 2017-08-03 06:43:23 +00:00
libcutils Merge "Enabled SYS_MODULE capability for wifi@1.0-service" 2018-03-29 20:57:42 +00:00
libdiskconfig Rename target.linux[_x86[_64]] to target.linux_glibc[_x86[_64]] 2017-10-02 10:44:29 -07:00
libgrallocusage Use -Werror in system/core 2017-11-01 11:32:55 -07:00
libion libion: cleanup logging 2018-03-07 10:56:06 -08:00
libkeyutils Add libkeyutils. 2017-05-10 14:53:28 -07:00
liblog liblog: save errno through log writing 2018-03-07 10:56:51 -08:00
libmemtrack Add OWNERS. 2017-12-07 13:30:03 -08:00
libmemunreachable Remove test_suites: ["vts"] from memunreachable_binder_test 2018-03-15 14:57:22 -07:00
libmetricslogger Add OWNERS. 2017-12-07 13:30:03 -08:00
libnativebridge bpfmt. 2018-02-16 17:58:14 -08:00
libnativeloader bpfmt. 2018-02-16 17:58:14 -08:00
libnetutils Add OWNERS. 2017-12-07 13:30:03 -08:00
libpackagelistparser bpfmt. 2018-02-16 17:58:14 -08:00
libpixelflinger MIPS[64]: codeflinger: Fix build due to unused variable warnings 2017-11-06 16:38:49 +01:00
libprocessgroup libprocessgroup: remove legacy C string handling and build for host 2018-02-27 14:12:19 -08:00
libprocinfo bpfmt. 2018-02-16 17:58:14 -08:00
libqtaguid Redirect qtaguid native call to netd fwmark client 2017-11-09 18:02:22 -08:00
libsparse Merge "<stdbool.h> not necessary in C++." 2017-10-17 19:26:53 +00:00
libsuspend Add force_suspend function 2018-01-19 12:30:39 -08:00
libsync Merge "libsync: Add fence info tests" 2017-09-26 23:46:32 +00:00
libsystem bpfmt. 2018-02-16 17:58:14 -08:00
libsysutils Include iface index in the netlink event 2018-03-07 11:39:52 +09:00
libunwindstack Merge "Cache DWARF location rules for a given pc." 2018-03-29 14:47:35 +00:00
libusbhost Remove urb request size maximum. 2018-02-07 16:12:14 -08:00
libutils Revert "libutilscallstack is private VNDK-SP" 2018-03-14 16:21:00 +09:00
libvndksupport bpfmt. 2018-02-16 17:58:14 -08:00
libziparchive Remove empty zip warning on host builds 2018-03-01 21:33:49 +00:00
lmkd lmkd: Fix the message printed during a kill to avoid confusion 2018-03-21 17:12:42 +00:00
logcat bpfmt. 2018-02-16 17:58:14 -08:00
logd logd: identical check access message data out of range 2018-03-13 12:16:39 -07:00
logwrapper bpfmt. 2018-02-16 17:58:14 -08:00
mkbootimg Add dummy vndk library libmkbootimg to enable abi checks on boot_img_hdr. 2018-03-31 07:13:33 -07:00
property_service Verify the SELabels used in property_contexts 2018-03-26 09:22:55 -07:00
qemu_pipe Add OWNERS. 2017-12-07 13:30:03 -08:00
reboot reboot: only pause indefinitely for non-shutdown operations 2017-09-29 16:29:52 +00:00
rootdir Allow VNDK-SP extensions to use vendor lib 2018-03-29 17:18:40 +08:00
run-as run-as: Keep supplementary groups. 2017-09-29 15:34:23 -04:00
sdcard Remove FUSE logic; it's only a sdcardfs wrapper. 2018-01-12 15:41:55 -07:00
shell_and_utilities Reland: Add getprop to toolbox 2018-01-10 11:26:24 -08:00
storaged storaged: owner adjustment 2018-03-23 14:37:53 -07:00
toolbox Build toolbox with _FILE_OFFSET_BITS=64. 2018-01-22 16:15:55 -08:00
trusty bpfmt. 2018-02-16 17:58:14 -08:00
usbd bpfmt. 2018-02-16 17:58:14 -08:00
.clang-format Add a 2 width option of clang format. 2017-03-10 13:01:39 -08:00
.clang-format-2 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.clang-format-4 Only allow short functions in class definitions. 2017-03-28 12:31:37 -07:00
.gitignore
Android.bp Export android_filesystem_config.h as a filegroup 2017-01-17 18:20:28 -08:00
Android.mk
CleanSpec.mk Add VNDK version for namespace configuration files 2017-12-13 10:31:04 +09:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS Add ek and lorenzo to OWNERS for system/core netlink code. 2018-03-05 19:18:02 +09:00
platform_tools_tool_version.mk Fix warning on the build servers 2017-05-25 12:35:40 -07:00
PREUPLOAD.cfg Add a PREUPLOAD.cfg file to run git-clang-format on every commit 2017-03-08 16:51:26 +08:00