platform_system_core/adb
Spencer Low d396dc93a7 adb: win32: fix daemon acknowledgement
The daemon failed to startup because main.cpp was changed from calling
WriteFile() to android::base::WriteStringToFd(), the later which calls
write() in the C Runtime which by default has stdout in textmode which
does \n to \r\n translation.

The quick fix is to change stdout's mode from text to binary since right
after it is reopened to redirect to the daemon log file anyway.

Change-Id: I322fc9eae5d6abbf63f3d5917b0beb2171b5a15c
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-05-11 15:57:43 -07:00
..
client adb: win32: fix daemon acknowledgement 2015-05-11 15:57:43 -07:00
daemon Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
tests Implement the ssh(1) escaping rules. 2015-05-05 11:17:03 -07:00
.clang-format Fix clang-format file for correct indent settings. 2015-03-19 13:27:20 -07:00
adb.cpp Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
adb.h Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -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: win32: fix adb emu command 2015-05-06 18:54:08 -07:00
adb_client.cpp adb: win32: fix adb emu command 2015-05-06 18:54:08 -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 More adb buffer fixes. 2015-05-01 15:55:37 -07:00
adb_utils.cpp More adb buffer fixes. 2015-05-01 15:55:37 -07:00
adb_utils.h More adb buffer fixes. 2015-05-01 15:55:37 -07:00
adb_utils_test.cpp Use ' quoting to escape arguments. 2015-04-17 20:55:04 -07:00
Android.mk Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
commandline.cpp Merge "Fix "adb remount" for devices without an oem partition." 2015-05-08 17:49:11 +00:00
console.cpp adb: win32: fix adb emu command 2015-05-06 18:54:08 -07:00
CPPLINT.cfg Ignore another stupid lint warning. 2015-02-20 17:19:22 -08: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 Add some missing 'static's. 2015-05-05 18:26:10 -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 Simplify adb_thread_create. 2015-05-05 13:41:21 -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 Give enum types CamelCase names for clarity. 2015-05-05 13:10:43 -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: win32: fix adb emu command 2015-05-06 18:54:08 -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 Be tolerant of devices that don't report serials. 2015-05-06 16:48:52 -07:00
transport.h Give enum types CamelCase names for clarity. 2015-05-05 13:10:43 -07:00
transport_local.cpp Simplify adb_thread_create. 2015-05-05 13:41:21 -07:00
transport_test.cpp Add some basic tests to adb. 2015-02-25 10:57:26 -08:00
transport_usb.cpp File header cleanup. 2015-03-19 15:32: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