summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorchihhao.chen <chihhao.chen@mediatek.com>2019-05-20 16:55:55 +0800
committerHridya Valsaraju <hridya@google.com>2019-05-29 12:41:55 -0700
commit5f8b966d960ff9cb403a167768c48c2aa4d76710 (patch)
tree6109eab335885e1e3481ab2e6e695e4dab63f025 /trusty/coverage/coverage.cpp
parent20b0bd9ca4007ea96daaa27dcd48bc519a8fece1 (diff)
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
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions