commit | 1e3bf7368051871e6cbf1430f436201d7b1e895b | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed May 03 22:37:10 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu May 04 16:03:12 2017 -0700 |
tree | e31cc6a7a30963a7c1c0186668674c7dc3db1446 | |
parent | a7430f3affc6309ef7270fe4092bea956bfe261d [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