Add utility methods to support hidl instrumentation. am: 7e1286cc93 am: e721d4d06e
am: 5522a38e7a

Change-Id: I9693dbfd60be840205cde91fc56256c6f5ce7bfe