diff options
| author | Josh Gao <jmgao@google.com> | 2017-05-03 22:37:10 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2017-05-04 16:03:12 -0700 |
| commit | fd713e53e890f5b3bf26a1c5a980137cc4378c3a (patch) | |
| tree | 7224b0001fc375b87ad7b3a0974057880988524d /trusty/coverage/coverage_test.cpp | |
| parent | 6f46e6b912b2cd30a699757c3f4bbf9b679e2b79 (diff) | |
adb: wait for devices to come up instead of sleeping for 3s.
Replace a hard-coded 3 second sleep with logic to wait until we've
scanned USB devices once and they've all come online.
Before:
adb shell true 0.00s user 0.00s system 0% cpu 3.047 total
After:
adb shell true 0.00s user 0.00s system 9% cpu 0.041 total
Bug: http://b/37869663
Test: `time adb shell true` after adb kill-server
Change-Id: I251d42afb885908ed9d03167287594ea16650d3f
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
