platform_system_core/adb/client
Josh Gao 3828ebcdd8 adb: report error in copy_to_file.
Previously, if we failed to read a file after successfully opening it,
(e.g. because it's a directory), we would return prematurely without
notifying our caller, which would then wait forever for a response that
isn't coming.

Switch all of the adb install callsites over to checking the result,
but leave the other callsites ignoring the result, because they're
either deprecated, or don't care.

Bug: http://b/145621968
Test: mkdir foo.apk; adb install foo.apk
Change-Id: Ia82f8280b144f7881e067a10cd17f9a89019cf3f
2020-02-04 13:47:57 -08:00
..
adb_client.cpp Revert "Revert "Support socket activation of adb server"" 2019-12-11 08:20:20 +00:00
adb_client.h adb: don't manually construct device selection prefix in forward. 2019-08-06 16:43:34 -07:00
adb_install.cpp adb: report error in copy_to_file. 2020-02-04 13:47:57 -08:00
adb_install.h Adds atomic install support to adb 2019-01-11 18:13:36 +00:00
auth.cpp adb: log more detail on failure to read keys. 2019-10-07 08:25:42 -07:00
bugreport.cpp adb: don't use <error.h>. 2018-10-22 17:04:32 -07:00
bugreport.h adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
commandline.cpp adb: report error in copy_to_file. 2020-02-04 13:47:57 -08:00
commandline.h adb: report error in copy_to_file. 2020-02-04 13:47:57 -08:00
console.cpp NFC: Fix potentially uninitialized 'port' variable. 2019-05-09 12:55:41 -07:00
fastdeploy.cpp fastdeploy: fix tests. 2019-11-08 15:39:50 +00:00
fastdeploy.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fastdeploycallbacks.cpp FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fastdeploycallbacks.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
file_sync_client.cpp adb: make the push summary fit in 80 columns. 2020-01-27 10:05:36 -08:00
file_sync_client.h adb: split file_sync_service.h into client and daemon parts. 2018-07-25 18:08:32 -07:00
line_printer.cpp adb: win32: LinePrinter Unicode support 2018-09-02 16:27:12 -07:00
line_printer.h adb: don't spew push/pull progress to dumb terminals. 2018-08-22 17:28:33 -07:00
main.cpp Enable "localfilesystem" UNIX domain socket for ADB. 2019-12-04 10:05:05 +09:00
transport_mdns.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
usb_dispatch.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_libusb.cpp adb: make adb reconnect perform a USB reset. 2019-03-28 15:47:44 -07:00
usb_linux.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00
usb_osx.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00
usb_windows.cpp Properly finish daemon init when initial USB scan complete 2019-11-04 11:43:20 -08:00