platform_system_core/adb
Dan Albert 9313c0df20 Improve logging.
Any output from the LOG family will now go to stderr and logcat on the
device. stderr is usually redirected to a log file, but that is now
inhibited for adbd if being run from a tty (useful when debugging with
the serial console).

This also fixes sending logs to the file on device for the trace mask
of "all". The "all" tag was specifically handled to return early from
the function, preventing the file initialization from happening.

Change-Id: Id253577bfd1500fbce92dbfba0f9be23dbfd5ee4
2015-05-21 16:25:57 -07:00
..
client Improve logging. 2015-05-21 16:25:57 -07:00
daemon Improve logging. 2015-05-21 16:25:57 -07:00
tests Make pty raw in adb shell when non-interactive. 2015-05-15 17:33:05 -07:00
.clang-format Fix clang-format file for correct indent settings. 2015-03-19 13:27:20 -07:00
adb.cpp Improve logging. 2015-05-21 16:25:57 -07:00
adb.h Make atransport be a real class. 2015-05-21 15:49:05 -07:00
adb_auth.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
adb_auth.h Remove extern "C" barriers to using C++. 2015-04-17 09:47:42 -07:00
adb_auth_client.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
adb_auth_host.cpp adb / libbase: clean up NOGDI and evil ERROR macro 2015-05-20 12:25:19 -07:00
adb_client.cpp adb: win32: fix StringPrintf format string checking of %zd and PRIu64 2015-05-13 19:30:30 -07:00
adb_client.h adb: win32: fix adb emu command 2015-05-06 18:54:08 -07:00
adb_io.cpp Add WriteFdFmt and clean up more code. 2015-05-01 17:36:46 -07:00
adb_io.h Add WriteFdFmt and clean up more code. 2015-05-01 17:36:46 -07:00
adb_io_test.cpp Add WriteFdFmt and clean up more code. 2015-05-01 17:36:46 -07:00
adb_listeners.cpp Give enum types CamelCase names for clarity. 2015-05-05 13:10:43 -07:00
adb_listeners.h Give enum types CamelCase names for clarity. 2015-05-05 13:10:43 -07:00
adb_trace.h Improve logging. 2015-05-21 16:25:57 -07:00
adb_utils.cpp Fix ' escaping in adb. 2015-05-15 12:06:00 -07:00
adb_utils.h More adb buffer fixes. 2015-05-01 15:55:37 -07:00
adb_utils_test.cpp Fix ' escaping in adb. 2015-05-15 12:06:00 -07:00
Android.mk Merge "Clean up adb_trace_init." 2015-05-21 23:03:50 +00:00
commandline.cpp adb: win32: fix StringPrintf format string checking of %zd and PRIu64 2015-05-13 19:30:30 -07:00
console.cpp adb: win32: fix adb emu command 2015-05-06 18:54:08 -07:00
CPPLINT.cfg Ignore whitespace/indent issues from cpplint. 2015-05-18 16:49:07 -07:00
fdevent.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
fdevent.h Remove extern "C" barriers to using C++. 2015-04-17 09:47:42 -07:00
file_sync_client.cpp adb: win32: fix StringPrintf format string checking of %zd and PRIu64 2015-05-13 19:30:30 -07:00
file_sync_service.cpp File header cleanup. 2015-03-19 15:32:33 -07:00
file_sync_service.h Fix "adb sync" for devices without vendor and oem. 2015-04-21 10:17:07 -07:00
framebuffer_service.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
get_my_path_darwin.cpp Move get_my_path_darwin to C++. 2015-04-16 13:24:58 -07:00
get_my_path_linux.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
get_my_path_windows.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
jdwp_service.cpp Remove extern "C" barriers to using C++. 2015-04-17 09:47:42 -07:00
MODULE_LICENSE_APACHE2 eclair snapshot 2009-11-12 18:46:23 -08:00
mutex_list.h adb: Cleanup dead code 2013-04-24 21:31:45 -07:00
NOTICE eclair snapshot 2009-11-12 18:46:23 -08:00
OVERVIEW.TXT Fixing spelling errors in adb docs 2010-04-28 11:38:39 -04:00
protocol.txt adb: Add public key authentification 2012-08-23 00:20:06 -07:00
qemu_tracing.cpp Move adb to C++. 2015-03-09 14:06:11 -07:00
qemu_tracing.h Remove extern "C" barriers to using C++. 2015-04-17 09:47:42 -07:00
remount_service.cpp Failure to find an oem partition should not be a remount failure. 2015-05-11 13:28:22 -07:00
remount_service.h Failure to find an oem partition should not be a remount failure. 2015-05-11 13:28:22 -07:00
services.cpp Make connection states a proper type. 2015-05-18 17:10:33 -07:00
SERVICES.TXT adb: implement "adb reverse <local> <remote>" 2014-05-27 16:42:13 +02:00
set_verity_enable_state_service.cpp Failure to find an oem partition should not be a remount failure. 2015-05-11 13:28:22 -07:00
sockets.cpp Make connection states a proper type. 2015-05-18 17:10:33 -07:00
sockets.dia auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
SYNC.TXT Adding documentation on the sync part of the adb protocol previously missing. 2014-03-20 20:36:46 +01:00
sysdeps.h _beginthread returns uintptr_t. 2015-05-05 14:34:41 -07:00
sysdeps_win32.cpp adb / libbase: clean up NOGDI and evil ERROR macro 2015-05-20 12:25:19 -07:00
test_track_devices.cpp Make test_track_devices.cpp output easier to read. 2015-05-04 15:51:50 -07:00
transport.cpp Make atransport be a real class. 2015-05-21 15:49:05 -07:00
transport.h Make connection states a proper type. 2015-05-18 17:10:33 -07:00
transport_local.cpp Make connection states a proper type. 2015-05-18 17:10:33 -07:00
transport_test.cpp Make atransport be a real class. 2015-05-21 15:49:05 -07:00
transport_usb.cpp Make connection states a proper type. 2015-05-18 17:10:33 -07:00
usb_linux.cpp Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
usb_linux_client.cpp Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
usb_osx.cpp Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
usb_windows.cpp Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00