support specifying process name at runtime

If the annoated process name with GfxMonitor starts with '#', we
treat it as a method that returns a String to indicate process
name. Such method will be called between beforeTest and test
iteration starts, in case that test class needs to setup test
iteration before it can determine the process name.

Also added monitor class name in the assertion message when not
enough frames are received.

Change-Id: I462f7c10a600372e137eb3d314cbf6703aa14ff5
3 files changed
tree: 3511abbda723898b5e09973a9b4a434aa118c9f6
  1. src/
  2. build.gradle