Implement a Junit4 RunListener based of a clone of tradefed's clearcut support.

Implements full Protobuf support in SysUI-Studio (not just nano and lite) (in topic cls).
Uses that support to compile a Protobuf used by Atest and Tradefed to send usage events to Clearcut(in topic cls).
Attempted to use junit-foundation to apply that RunListener to Robolectric(in topic cls).
Junit-Foundation doesn't support Robolectric and trips up, so instead Extend Robolectric to support RunListeners as plugins(in topic cls).

Flag: TEST_ONLY
Bug: 371194831
Test: ran test in SysUI-Studio
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f7b38bf5e44a39c3b5601f14eb63a502a5598090)
Merged-In: I585538b0ca38352aeb965092f00c6c04950fd98c
Change-Id: I585538b0ca38352aeb965092f00c6c04950fd98c
8 files changed
tree: 433636cec32d750bcc3476541d4763d80c40d291
  1. clearcut-junit-listener/
  2. plugins/
  3. scripts/
  4. Android.bp