android_system_core/adb
bohu 8ac1b044af Emulator: fix adbd qemu pipe partial write
It does happens that the adb_write only writes to the
qemu pipe partially which throws host side's adb backend
into confusion and crashes.

This CL replaces adb_write with WriteFdExactly;
adb_read with ReadFdExactly.

(cherry picked from commit f66c5938be)

Change-Id: I684f5df79b1e3f00b4b7a2452c2712a73c15973c
2016-03-01 17:39:31 -08:00
..
client
daemon
.clang-format
Android.mk
CPPLINT.cfg
MODULE_LICENSE_APACHE2
NOTICE
OVERVIEW.TXT
SERVICES.TXT
SYNC.TXT
adb.cpp
adb.h
adb_auth.cpp
adb_auth.h
adb_auth_client.cpp
adb_auth_host.cpp
adb_client.cpp
adb_client.h
adb_io.cpp
adb_io.h
adb_io_test.cpp
adb_listeners.cpp
adb_listeners.h
adb_trace.cpp
adb_trace.h
adb_utils.cpp
adb_utils.h
adb_utils_test.cpp
commandline.cpp
console.cpp
diagnose_usb.cpp
diagnose_usb.h
fdevent.cpp
fdevent.h
fdevent_test.cpp
fdevent_test.h
file_sync_client.cpp
file_sync_service.cpp
file_sync_service.h
framebuffer_service.cpp
get_my_path_darwin.cpp
get_my_path_linux.cpp
jdwp_service.cpp
line_printer.cpp
line_printer.h
mutex_list.h
protocol.txt
remount_service.cpp
remount_service.h
security_log_tags.h
services.cpp
services.h
set_verity_enable_state_service.cpp
shell_service.cpp
shell_service.h
shell_service_protocol.cpp
shell_service_protocol_test.cpp
shell_service_test.cpp
socket.h
socket_test.cpp
sockets.cpp
sockets.dia
sysdeps.h
sysdeps_test.cpp
sysdeps_win32.cpp
sysdeps_win32_test.cpp
test_adb.py
test_device.py
test_track_devices.cpp
transport.cpp
transport.h
transport_local.cpp Emulator: fix adbd qemu pipe partial write 2016-03-01 17:39:31 -08:00
transport_test.cpp
transport_usb.cpp
usb_linux.cpp
usb_linux_client.cpp
usb_osx.cpp
usb_windows.cpp