diff options
author | Jerry Zhang <zhangjerry@google.com> | 2018-05-15 16:20:41 -0700 |
---|---|---|
committer | Jerry Zhang <zhangjerry@google.com> | 2018-07-17 11:53:30 -0700 |
commit | 16b78db9454b8a42b453c815c058fb52874b3104 (patch) | |
tree | 7ea2cb96b5ffe39acd4ff78f7e2db4d1bb4f5481 /debuggerd/handler/debuggerd_handler.cpp | |
parent | b156c60ad4dfb53f483a829cda02b80fdb8ac8e6 (diff) |
adb: Have device usb_handle return io size
Previously, read and write would return 0
on success. Now it will return the number
of bytes read/write. This is more consistent
with other usb handles and is needed in order
to handle partial packets (for fastbootd).
Update usb_write in other usb handles
to return amount written.
Change transport_usb accordingly.
Test: adb works
Bug: 78793464
Change-Id: If07ff05fbc8120343f20661475d34f4e5ff805de
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions