No description
Find a file
Elliott Hughes 8b43c3e65a Fix adb sync/pull/push error reporting.
I fixed the server side to send detailed error reports, but the client-side
code for pull was broken because it had already read the "FAIL" header before
calling the general error reporting code that expects to be able to read
the header. This meant we'd always report that we failed to read the failure
message.

Also add a couple of missing "\n"s, make sure every error message is prefixed
by "adb: ", and remove a useless path length check that would silently ignore
over-long paths rather than relying on SendRequest to detect and report the
problem.

Bug: http://b/6205106
Change-Id: I23862ececf03b761115ffa3f7725b7e1cecb48c7
2015-10-23 22:27:11 -07:00
adb Fix adb sync/pull/push error reporting. 2015-10-23 22:27:11 -07:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base Fix lseek argument order. 2015-10-20 13:18:22 -07:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter crash_reporter: add missing mkdir for crash_server rule 2015-10-20 14:28:08 -04:00
debuggerd Remove __DATE__/__TIME__ from init and debuggerd 2015-10-22 13:12:18 -07:00
fastboot Remove USE_MINGW/CYGWIN; Whitelist windows modules 2015-09-02 17:10:35 -07:00
fingerprintd Fingerprint: Add HAL close() code 2015-07-10 16:26:32 -07:00
fs_mgr Error correction: Use libfec in fs_mgr 2015-10-14 22:12:04 +01:00
gatekeeperd update bundled rc files to their contents from rootdir/init.rc 2015-08-21 21:54:42 +00:00
healthd Don't use libstdc++. 2015-10-23 08:46:20 -07:00
include Merge "libbinderwrapper: Add GetCallingUid() and GetCallingPid()." 2015-10-16 21:43:36 +00:00
init Merge "init/adb: correct static lib dependencies for libselinux" 2015-10-22 23:03:51 +00:00
libbacktrace libbacktrace: don't let llvm cflags cover libbacktrace's cflags. 2015-09-24 17:46:27 -07:00
libbinderwrapper libbinderwrapper: Add GetCallingUid() and GetCallingPid(). 2015-10-16 09:04:33 -06:00
libcutils Make allocations use unique_ptr. 2015-10-14 14:03:29 -07:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog liblog: optimize code hotspot 2015-10-02 13:55:44 -07:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-15 16:13:19 -07:00
libnativebridge Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
libnetutils am fb1ecbc5: am e6e71608: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS." 2015-07-30 16:50:15 +00:00
libpixelflinger Fix some compiler warnings in libpixelflinger. 2015-10-21 18:52:17 -07:00
libprocessgroup processgroup: change the polling interval for killProcessGroup() 2015-06-16 13:59:32 -07:00
libsparse Fix parameter to lseek 2015-10-20 14:15:31 -07:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed. 2015-04-02 14:31:07 -07:00
libsysutils Fix incorrectly sized buffer. 2015-07-28 17:56:06 +09:00
libusbhost libusbhost: Fix problem reading USB string descriptors on some quirky devices 2015-06-18 13:38:31 -07:00
libutils Disable sanitization for LinearTransform 2015-10-22 11:20:45 -07:00
libziparchive Implement ZipWriter for quickly writing ZipFiles. 2015-10-15 16:27:44 -07:00
lmkd bundle init.rc contents with its service 2015-08-21 10:14:43 -07:00
logcat logcat: do not exit buffer loop on error 2015-10-07 16:23:54 -07:00
logd Logd: Fix missing include of rc file 2015-10-22 20:36:53 -07:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd Merge "Update crash_reporter and metrics rc files to trigger on post-fs-data" 2015-10-15 03:59:33 +00:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
packagelistparser system/core: add libpackagelistparser 2015-10-22 19:51:51 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Merge "Disable container overflow detect on target." 2015-10-23 22:03:52 +00:00
run-as Extend run-as with optional --user argument. 2015-06-10 12:09:10 -07:00
sdcard sdcard: use libpackageparser 2015-10-22 22:52:35 +00:00
toolbox Lose df to toybox. 2015-10-23 11:09:53 -07:00
trusty/libtrusty Merge "Revert "[core][trusty] add gatekeeper module"" 2015-09-16 22:54:14 +00:00
tzdatacheck Executable to run on boot that removes old tzdata if needed 2015-04-13 11:38:32 +01:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00