Add timeout for calling into role controller service.

This changes adds a timeout for calling into the role controller
service, so that once the timeout is reached, onFailure() is
called. This change also ensures that the callback will only be
delivered once.

Bug: 110557011
Test: build
Change-Id: I070507b4db19439e2d62c976b449dd172dbcb052
1 file changed