Reduce flicker memory consumption (Pt 4)

Improve flicker memory consumption with the following:
- Use a static factory for better compatibility with JUnit4 ParameterizedRunner
- Ensure `cleanUp` is always called, even when an exception occurs

Bug: 178572522
Test: atest FlickerTests
Change-Id: I301418db397e156cbb4966a7f878a02164838630
12 files changed
tree: 8a766aa14d06ced540126ed25a0a53ebc43584bf
  1. build/
  2. docs/
  3. emu_test/
  4. libraries/
  5. scripts/
  6. tests/
  7. utils/
  8. PREUPLOAD.cfg