Collector that will start perfetto trace when a test run starts and log trace file at the end.
public DeviceTraceCollector ()
public ITestInvocationListener init (IInvocationContext context,
Initialization of the collector with the current context and where to forward results. Will
only be called once per instance, and the collector is expected to update its internal
context and listener. Init will never be called during a test run always before.
Do not override unless you know what you are doing.
public void onTestRunEnd (DeviceMetricData runData,
Callback when a test run is ended. This should be the time for clean up.
public void setInstrumentationPkgName (String packageName)