Merge "Adding onTransact method for testing" am: 6ba4920c3a am: ca7e4c78c4 am: a974d88e33 am: f253c82b8e am: 26ce57b6d1

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1427437

Change-Id: I4c771f90bb7d8532d5c3fe6927614fa54c67ee11