android_system_core/adb/client
Elliott Hughes 4679a39610 adb: rationalize fatal/error logging.
Let's use LOG(FATAL)/PLOG(FATAL) for actual fatal stuff.

Add a Windows error(3) and move folks who didn't really mean "abort"
fatal over to it. Also get rid of syntax_error which wasn't adding a
lot of value, and most of the places it was adding "usage: " didn't seem
entirely appropriate anyway.

In particular, we seemed to have confused fastdeploy.cpp into aborting
in most user error cases, and none of the reviewers noticed. Clearly
we'd all lost track of far too many options.

(I've also cleaned up a few random instances of fprintf(3) + exit(2).)

Bug: N/A
Test: manual
Change-Id: I3e8440848a24e30d928de9eded505916bc324786
2018-10-19 14:04:24 -07:00
..
adb_client.cpp adb: really make kill-server wait for server death 2018-08-29 15:46:47 -07:00
adb_client.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
adb_install.cpp adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07:00
adb_install.h Reverted aapt dependency to be a dependency on libandroidfw 2018-10-05 17:55:05 +01:00
auth.cpp adb: report connection status when we're unauthorized. 2018-08-08 17:40:15 -07:00
bugreport.cpp adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07:00
bugreport.h
commandline.cpp adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07:00
commandline.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
console.cpp
fastdeploy.cpp adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07:00
fastdeploy.h Reverted aapt dependency to be a dependency on libandroidfw 2018-10-05 17:55:05 +01:00
fastdeploycallbacks.cpp Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
fastdeploycallbacks.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
file_sync_client.cpp adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07: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: don't spew push/pull progress to dumb terminals. 2018-08-22 17:28:33 -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 adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07:00
transport_mdns.cpp
usb_dispatch.cpp
usb_libusb.cpp adb: Have device usb_handle return io size 2018-07-17 11:53:30 -07:00
usb_linux.cpp adb should #include <sys/sysmacros.h> 2018-08-30 01:12:56 +04:00
usb_osx.cpp adb: Have device usb_handle return io size 2018-07-17 11:53:30 -07:00
usb_windows.cpp adb: rationalize fatal/error logging. 2018-10-19 14:04:24 -07:00