Merge "Add macros to check for successful Result" am: 4df09e4685 am: 45f0c06c58 am: e94afa096e

Change-Id: I5d9b8b06b123d32f640611695d372a07a0dac612