Retry AccelerometerFileReader::Initialize

BUG=b:128922696
TEST=Installed on arcada and verified retry behavior.

In the arcada board the ISH takes a long time to boot. In this case,
the call ti ::Initialize takes place much too early. The current
workaround is for arcada to delay loading chromium during boot, but
this adds upward of 1.7 seconds to boot. This change allows
initialization to be retried for up to 3 seconds after the initial
call to ::Initialize

Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I0e62d58872565e85e3e2b273d14e3f2189eb10e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1574282
Commit-Queue: Jonathan Ross <jonross@chromium.org>
Reviewed-by: Jonathan Ross <jonross@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660200}
2 files changed