Enable winscope tracing in IME internal tests

This enables winsocpe tracing for IME internal tests, as well as
collecting a screenshot on failure. It is configured to capture a single
trace for the entire test class run, and collect it at the end if any
failure occurred.

Flag: EXEMPT testfix
Bug: 421359220
Test: atest FrameworksImeTests
Change-Id: I0b0e4ef6bf54506832a86d7f558b468f96ef3dae
2 files changed