Add WaitUntilFullyBootedWithResets

Adds WaitUntilFullyBootedWithResets to HighDevice. This is functionally
similar to WaitUntilFullyBooted, but will periodically reset the device
connection if the device does not appear to be online. A functionally
identical implementation has been shown to improve stability in
Chromium's use cases.

Bug: b:344849382
Change-Id: Iad5b57ae30e438d4cd2ec63247b2452d4eda9dfd
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/python-adb/+/6139305
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Auto-Submit: Brian Sheedy <bsheedy@chromium.org>
2 files changed