android_system_core/adb
Josh Gao 0cee7ccc59 adb: work around adbd push bug.
We shipped (well, are about to ship) an adbd that spuriously fails to
create directories upon push. Work around this in the adb client by
running a mkdir on all of the directories we would have otherwise
created.

On devices where we perform the workaround, this coincidentally fixes
a historic bug where we failed to push empty directories.

Bug: http://b/25566053
Bug: http://b/110953234
Test: python test_device.py
Change-Id: I690ec356c206fed4e5ab2c681c5570c8b231e26b
2018-07-10 13:20:40 -07:00
..
client adb: work around adbd push bug. 2018-07-10 13:20:40 -07:00
daemon adbd: fix spurious failure to create dirs when pushing. 2018-07-09 14:25:51 -07:00
sysdeps adb: implement adb_writev. 2018-04-11 12:54:36 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
adb.bash Move adb/fastboot bash completion into adb/fastboot. 2018-04-04 08:33:33 -07:00
adb.cpp Merge changes I465804fd,Ib5a684bb,If5e66570,I8471cc00,I8ba0a70a 2018-05-23 00:01:29 +00:00
adb.h Simplify __attribute__((__printf__)) use. 2018-06-26 13:07:21 -07:00
adb_auth.h adb: switch apacket over to a std::string payload. 2018-02-21 14:30:17 -08:00
adb_io.cpp adb: increase the shell command length limit. 2017-06-16 18:01:11 -07:00
adb_io.h adb: fix adb client running out of sockets on Windows 2015-10-30 16:23:10 -07:00
adb_io_test.cpp adb: disable tests that are expected to fail on Win32. 2016-04-18 14:33:38 -07:00
adb_listeners.cpp adb: remove fdevent_install, fdevent_remove. 2018-05-22 14:54:49 -07:00
adb_listeners.h adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00
adb_listeners_test.cpp adb: support forwarding TCP port 0. 2016-05-09 16:55:10 -07:00
adb_mdns.h Add mDNS device discovery for adb client 2017-03-07 14:45:51 -08:00
adb_trace.cpp adb: don't spew to logcat when tracing is enabled. 2018-02-06 15:55:06 -08:00
adb_trace.h adb: don't spew to logcat when tracing is enabled. 2018-02-06 15:55:06 -08:00
adb_unique_fd.cpp adb: really fix the mac build. 2018-05-24 22:58:08 -07:00
adb_unique_fd.h adb: really fix the mac build. 2018-05-24 22:58:08 -07:00
adb_utils.cpp Indicate that a packet was truncated. 2017-06-27 13:26:14 -07:00
adb_utils.h Give a clear error message if we can't start the server. 2017-06-20 14:21:41 -07:00
adb_utils_test.cpp adb: allow symlinks to directories in directory_exists. 2017-03-23 16:19:55 -07:00
Android.bp Update cflags for building Windows modules with Clang 2018-06-19 20:27:37 -07:00
Android.mk adb: restore adb/adb.exe in the list of artifacts. 2018-03-28 12:57:48 -07:00
benchmark_device.py adb: add benchmark script. 2018-05-23 11:26:04 -07:00
bugreport_test.cpp Merge "Don't preserve file attributes when pulling bugreport file..." 2017-08-22 22:41:26 +00:00
fdevent.cpp Revert "adb: detect some spin loops and abort." 2018-06-22 13:07:22 -07:00
fdevent.h adb: add an id field to fdevent. 2018-06-18 14:55:27 -07:00
fdevent_test.cpp adb: remove fdevent_install, fdevent_remove. 2018-05-22 14:54:49 -07:00
fdevent_test.h adb: move ownership of the fdevent thread into FdeventTest. 2018-03-30 14:57:09 -07:00
file_sync_service.h Add --sync support to push. 2017-05-19 11:09:58 -07:00
MODULE_LICENSE_APACHE2
NOTICE adb: append the libwinpthread COPYING to adb's NOTICE. 2017-03-08 21:27:59 -08: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 adb: convert Connection to a nonblocking interface. 2018-03-05 13:00:28 -08:00
remount_service.h
security_log_tags.h ADB security logging 2016-01-21 15:57:02 +00:00
services.cpp Revert "adb: detect some spin loops and abort." 2018-06-22 13:07:22 -07:00
services.h adb: put legacy shell: service back in. 2015-09-30 15:40:09 -07:00
SERVICES.TXT adb: fix obsolete documentation. 2018-06-22 13:12:19 -07:00
shell_service.h Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
shell_service_protocol.cpp adb: create shell protocol class (take 2). 2015-09-08 10:04:10 -07:00
shell_service_protocol_test.cpp adb: fix undefined behavior 2016-10-19 19:39:44 -07:00
socket.h adb: add IOVector. 2018-05-23 11:26:04 -07:00
socket_spec.cpp Add std::string StartsWith*/EndsWith* overloads. 2017-12-20 09:42:22 -08:00
socket_spec.h adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_spec_test.cpp adb: parse tcp socket specs with base::ParseNetAddress. 2016-09-20 13:55:43 -07:00
socket_test.cpp adb: switch apacket payload to a type that doesn't initialize its contents. 2018-04-11 12:54:07 -07:00
sockets.cpp adb: add IOVector. 2018-05-23 11:26:04 -07:00
sockets.dia
SYNC.TXT Fix typos in ADB documentation 2017-11-30 10:57:51 -08:00
sysdeps.h Simplify __attribute__((__printf__)) use. 2018-06-26 13:07:21 -07:00
sysdeps_test.cpp adb: fix FdeventTest.invalid_fd on Windows. 2018-03-29 14:24:03 -07:00
sysdeps_unix.cpp adb: use TCP keepalive. 2016-03-03 15:42:11 -08:00
sysdeps_win32.cpp Simplify __attribute__((__printf__)) use. 2018-06-26 13:07:21 -07:00
sysdeps_win32_test.cpp adb: add script to trace adbd. 2016-12-13 14:31:17 -08:00
test_adb.py adb: Add a test for emulator connection 2018-05-16 15:20:48 -07:00
test_device.py adb: work around adbd push bug. 2018-07-10 13:20:40 -07:00
trace.sh adb: add script to trace adbd. 2016-12-13 14:31:17 -08:00
transport.cpp Merge changes I465804fd,Ib5a684bb,If5e66570,I8471cc00,I8ba0a70a 2018-05-23 00:01:29 +00:00
transport.h adb: add nonblocking fd Connection. 2018-06-12 17:04:34 -07:00
transport_benchmark.cpp adb: add nonblocking fd Connection. 2018-06-12 17:04:34 -07:00
transport_fd.cpp adb: add nonblocking fd Connection. 2018-06-12 17:04:34 -07:00
transport_local.cpp adb: Add a way to reconnect TCP transports 2018-05-16 15:20:48 -07:00
transport_test.cpp adb: extract atransport's connection interface. 2018-01-30 15:22:41 -08:00
transport_usb.cpp adb: Make the Connection object a std::shared_ptr 2018-04-26 13:53:35 -07:00
types.h adb: add IOVector. 2018-05-23 11:26:04 -07:00
types_test.cpp adb: add IOVector. 2018-05-23 11:26:04 -07:00
usb.h adb: get libusb compiling on Windows. 2017-12-08 13:11:15 -08:00