platform_system_core/adb/client
Josh Gao 5d799cd454 adb: fix spurious usb write failure on Windows.
We were accidentally returning 0 instead of the number of bytes written
whenever we wrote a USB packet that had a size that was a multiple of
the USB packet size, which resulted in the device getting kicked.

Bug: http://b/113070258
Test: python test_device.py
Change-Id: Ib3d6415545e90e1f4730afc8ad8713d10bb1534a
2018-08-22 17:11:40 -07:00
..
adb_client.cpp [adb] Modernize codebase by replacing NULL with nullptr 2018-07-13 18:21:00 -07:00
adb_client.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
adb_install.cpp Fix MacOS SDK build error caused by deprecated stl call. 2018-08-21 19:25:01 +01:00
adb_install.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
auth.cpp adb: report connection status when we're unauthorized. 2018-08-08 17:40:15 -07:00
bugreport.cpp adb: win32: fix Unicode console output 2018-07-30 19:53:23 -07:00
bugreport.h adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
commandline.cpp Merge "Integrate adb with fastdeploy" 2018-08-21 06:28:49 +00:00
commandline.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
console.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
fastdeploy.cpp Integrate adb with fastdeploy 2018-08-06 13:57:47 +01:00
fastdeploy.h Integrate adb with fastdeploy 2018-08-06 13:57:47 +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: split file_sync_service.h into client and daemon parts. 2018-07-25 18:08:32 -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] Modernize codebase by replacing NULL with nullptr 2018-07-13 18:21:00 -07:00
line_printer.h adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
main.cpp adb: add environment variables to disable usb, emulators, mdns. 2018-08-10 14:27:51 -07:00
transport_mdns.cpp adb: remove fdevent_install, fdevent_remove. 2018-05-22 14:54:49 -07:00
usb_dispatch.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_libusb.cpp adb: Have device usb_handle return io size 2018-07-17 11:53:30 -07:00
usb_linux.cpp Merge changes I31e444f3,If07ff05f,If3ba190d 2018-07-17 22:35:36 +00:00
usb_osx.cpp adb: Have device usb_handle return io size 2018-07-17 11:53:30 -07:00
usb_windows.cpp adb: fix spurious usb write failure on Windows. 2018-08-22 17:11:40 -07:00