buffet: Automatically periodically call StartDevice()
Buffet now automatically calls StartDevice on itself periodically until
StartDevice succeeds. Remove the DBus call entirely and set up
periodic retries when we have credentials, with exponential backoff.
BUG=brillo:476
TEST=buffet_Registration continues to pass. Manually, start buffet with
and without credentials, observe that without credentials, it does not
attempt to StartDevice, and with credentials, it does so automatically,
with exponential backoff.
Change-Id: I7c93cd745666ae8cfd8c27365816e4296417ccae
Reviewed-on: https://chromium-review.googlesource.com/257020
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Tested-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Christopher Wiley <wiley@chromium.org>
6 files changed
tree: d03bcf258bf12fc3e0fd3d2b26a33fcdf770a233
- buffet/