Adding additional logging.

This commit also fixes some logic around when the device should
provision more certificates to handle expiring certs.

Additionally, all binder calls are wrapped in SystemInterface so
that the ServiceSpecificException runtime exceptions can be caught
and handled in one call site.

Test: atest RemoteProvisionerUnitTests
Change-Id: I7d488cf2a1acdb990b41fe90fd9da1f90a033992
Merged-In: I7d488cf2a1acdb990b41fe90fd9da1f90a033992
4 files changed