android_system_core/fastboot/device
chihhao.chen 8c544b6fd8 Fix non-aio USB read issue for fastbootd
non-aio USB read function was stuck in a loop waiting for more data
because data length parameter is always set 64 for fastbootd commands.
It should be a normal case to get less data than expected
since lengths of these commands are usually less than 64.
Add logic to check this and one more parameter to distinguish
fastbootd from general adbd case.

Bug: 133189029
Test: try various fastbootd commands
Change-Id: I6690324840d78f3f1e04235040301520329976db
Merged-In: I6690324840d78f3f1e04235040301520329976db
2019-05-29 23:10:50 +00:00
..
commands.cpp fastboot: Fix "fastboot gsi". 2019-01-29 13:20:36 -08:00
commands.h fastbootd: Add command to remove GSI installs 2019-01-17 18:33:14 +00:00
fastboot_device.cpp fastbootd: Add command to remove GSI installs 2019-01-17 18:33:14 +00:00
fastboot_device.h set_active command should update current slot information. 2018-10-10 12:25:11 -07:00
flashing.cpp Remove the rest of users of the old style fstab 2019-01-28 12:34:33 -08:00
flashing.h fastbootd: Remove metadata merging code. 2018-10-26 13:34:40 -07:00
main.cpp Add fastbootd. 2018-08-02 09:43:23 -07:00
usb_client.cpp Fix non-aio USB read issue for fastbootd 2019-05-29 23:10:50 +00:00
usb_client.h Add fastbootd. 2018-08-02 09:43:23 -07:00
utility.cpp fastbootd: Only flash slots listed by the boot control HAL. 2018-12-18 02:12:22 +00:00
utility.h fastbootd: Only flash slots listed by the boot control HAL. 2018-12-18 02:12:22 +00:00
variables.cpp fastbootd: Support two super partitions for retrofit devices. 2018-11-20 13:47:01 -08:00
variables.h fastboot: Query the name of the super partition. 2018-11-06 11:43:04 -08:00