Bind ImpressionAttestationService to system
Added ImpressionAttestationController in WindowManager to allow the
ImpressionAttestationService to bind to system.
Added helper methods in ImpressionAttestationController:
1. Make requests blocking since they will come from a binder request and
can block without causing issues in WindowManager
2. Added timeout so the service will get torn down after 10s of
inactivity
3. Added cache of hashing algorithms list so they can be retrieved
without making another IPC call.
Test: Builds
Bug: 155825630
Change-Id: Ic80206fb84a8f020f45d5aa053ee86a005da4591
2 files changed