android_system_core/adb
Joshua Duong 077ac11106 [adb client] Fix mdns discovery service registry.
We were getting stale service ip addresses because we weren't
destroying the sdref correctly.

Also, we were leaking the ResolvedServices when removing it from the
ServiceRegistry. Converted them to smart pointers to fix that.

Bug: 153343580

Test: test_adb.py
Change-Id: Ib7c1dbf54937d4ac6d9885cb5f7289bef616d12e
2020-05-05 00:21:12 -07:00
..
apex Mark updatable APEXes 2020-02-27 10:52:47 +09:00
client [adb client] Fix mdns discovery service registry. 2020-05-05 00:21:12 -07:00
coverage adb: allow filtering by file in coverage/show.sh. 2020-04-22 23:15:06 -07:00
crypto Statically link libadbd into minadbd. 2020-03-30 18:51:15 -07:00
daemon adb: split transport_local.cpp into client/daemon. 2020-04-22 23:15:02 -07:00
fastdeploy adbd: remove static dependency on libcutils. 2020-02-19 17:44:38 -08:00
fdevent adbd: improve coverage by compiling less code. 2020-04-21 17:57:29 -07:00
libs adbconnection: silence logspam. 2020-04-17 16:35:01 -07:00
pairing_auth Fix pairing aes_128_gcm key initialization. 2020-03-26 02:14:48 +00:00
pairing_connection Remove host_supported from libadb_pairing_server. 2020-04-15 06:53:38 +00:00
proto Statically link libadbd into minadbd. 2020-03-30 18:51:15 -07:00
sysdeps Remove various bits of dead code and unused workarounds. 2020-02-22 16:53:24 +00:00
tls Statically link libadbd into minadbd. 2020-03-30 18:51:15 -07:00
tools adb: add helper binary to do a usb reset on a device. 2020-03-18 14:59:15 -07:00
.clang-format
adb.bash Adb and fastboot completion supports zsh users. 2018-07-17 14:19:35 +08:00
adb.cpp [adb client] Add "mdns services" command. 2020-04-22 08:43:15 -07:00
adb.h adb: add option to disable kill-server. 2020-04-06 14:33:14 -07:00
adb_auth.h [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
adb_integration_test_adb.xml Add adb integration test to general-tests 2018-08-08 12:08:50 -07:00
adb_integration_test_device.xml Add adb_integration_test_device to general-tests 2018-10-12 13:48:14 -07:00
adb_io.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_io.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_io_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
adb_listeners.cpp Revert "Revert "Delay initial accept() until server initialized"" 2020-03-27 20:51:19 +00:00
adb_listeners.h Revert "Revert "Delay initial accept() until server initialized"" 2020-03-27 20:51:19 +00:00
adb_listeners_test.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
adb_mdns.h adb: change mdns tls service names (RFC 6763). 2020-04-17 16:38:34 -07:00
adb_trace.cpp adbd: improve coverage by compiling less code. 2020-04-21 17:57:29 -07:00
adb_trace.h adbd: remove static dependency on libcutils. 2020-02-19 17:44:38 -08:00
adb_unique_fd.cpp adb: actually enable fdsan. 2018-08-06 18:50:10 -07:00
adb_unique_fd.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_utils.cpp Allow overriding the log path. 2019-07-30 12:26:31 -07:00
adb_utils.h [adb] Use STL for ParseUInt() implementation 2019-08-02 11:33:41 -07:00
adb_utils_test.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_wifi.h [adb client] Add "mdns services" command. 2020-04-22 08:43:15 -07:00
Android.bp adbd: don't use libc++_static. 2020-04-22 23:15:06 -07:00
benchmark_device.py adb: add benchmarks for sink/source. 2019-02-28 15:53:48 -08:00
bugreport_test.cpp adb: Avoid extra std::string copies 2019-03-26 12:00:19 -07:00
compression_utils.h adb: implement LZ4 compression. 2020-04-02 17:11:07 -07:00
file_sync_protocol.h adb: add dry-run option to push/sync. 2020-04-02 17:11:08 -07:00
mdns_test.cpp adb: change mdns tls service names (RFC 6763). 2020-04-17 16:38:34 -07:00
MODULE_LICENSE_APACHE2
NOTICE Revert "Revert "Revert "adb: append the libwinpthread COPYING to adb's NOTICE.""" 2018-11-29 23:14:02 +00:00
OVERVIEW.TXT adb: fix obsolete documentation. 2018-06-22 13:12:19 -07:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00
protocol.txt [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
security_log_tags.h
services.cpp adb: allow wait-for-disconnect to match offline for TCP devices. 2020-04-21 17:57:15 -07:00
services.h Support adb rescue wipe command 2019-04-29 15:21:50 -07:00
SERVICES.TXT adb: fix obsolete documentation. 2018-06-22 13:12:19 -07:00
shell_protocol.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
shell_service_protocol.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
shell_service_protocol_test.cpp adb: split shell_service.h into client/daemon/protocol parts. 2018-07-25 18:08:44 -07:00
SOCKET-ACTIVATION.txt Revert "Revert "Support socket activation of adb server"" 2019-12-11 08:20:20 +00:00
socket.h adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
socket_spec.cpp Merge "Enable "localfilesystem" UNIX domain socket for ADB." 2019-12-18 05:34:30 +00:00
socket_spec.h Enable "localfilesystem" UNIX domain socket for ADB. 2019-12-04 10:05:05 +09:00
socket_spec_test.cpp Enable "localfilesystem" UNIX domain socket for ADB. 2019-12-04 10:05:05 +09:00
socket_test.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
sockets.cpp Enable "localfilesystem" UNIX domain socket for ADB. 2019-12-04 10:05:05 +09:00
sockets.dia
SYNC.TXT Fix typos in ADB documentation 2017-11-30 10:57:51 -08:00
sysdeps.h Add missing static for macOS inline. 2020-04-06 09:17:08 -07:00
sysdeps_test.cpp adb: win32: silence wine test failure. 2019-07-16 15:22:51 -07:00
sysdeps_unix.cpp Incremental installations in adb, client/host side. 2020-02-19 08:01:06 -08:00
sysdeps_win32.cpp [adbwifi] Add adbwifi_libs, TLS connection, and MDNS implementation. 2020-02-21 21:06:40 +00:00
sysdeps_win32_test.cpp switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
test_adb.py [adb client] Fix mdns discovery service registry. 2020-05-05 00:21:12 -07:00
test_device.py adb: add dry-run option to push/sync. 2020-04-02 17:11:08 -07:00
trace.sh
transport.cpp adb: change mdns tls service names (RFC 6763). 2020-04-17 16:38:34 -07:00
transport.h [adb] Don't copy features set on each get() 2020-04-09 22:26:48 -07:00
transport_benchmark.cpp Revert "adb: make benchmarks build on the host." 2018-11-13 11:28:29 -08:00
transport_fd.cpp [adbwifi] Add A_STLS command. 2020-02-21 21:07:13 +00:00
transport_test.cpp [adb] Don't copy features set on each get() 2020-04-09 22:26:48 -07:00
types.cpp adb: fix front_size, front_data. 2020-04-02 17:11:07 -07:00
types.h adb: fix front_size, front_data. 2020-04-02 17:11:07 -07:00
types_test.cpp adb: fix front_size, front_data. 2020-04-02 17:11:07 -07:00