Refactor the common interface into an abstract class

No new functionality added, pure refactor.

b/22564270/

Change-Id: I657491d5c41e70112b60c3f5f5d1ddba43c3e774
5 files changed