Create a public setUp() method for metric collectors.

This one method ensures all setup on the metric collector is done.
Classes using metric collectors directly should call this method to set
the collector up, rather than setupAdditionalArgs() or later, other
setup callbacks.

Original change: https://android-review.googlesource.com/c/platform/platform_testing/+/1915119

Bug: 206859096, 206682311
Test: Existing tests still pass.
Change-Id: Ia4abd7b54eaa84ce9abbd9d40034c1a112d123ee
(cherry picked from commit 47fe815205b2abb759520d30765b7c5e4aa3d22b)
Merged-In: Ia4abd7b54eaa84ce9abbd9d40034c1a112d123ee
Merged-In: If668757fc68c4a1bdd15f07a5aba83f38e31d7bd
Merged-In: Ia989372addf180354cc3eff477983e438fcaf8ab
1 file changed
tree: 0be3897fecf1707598a2e85e530c987f9fa6e185
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg