As an abstraction to hold common utilities for interacting with the
device.
Also, coalesce exceptions into a new common TestException class.
Bug: 111830582
Test: atest -v system-memory-test
Change-Id: Ia297427bdcabce38631e7f760149d58c8a5bdd27
To get more logging around what GC has occurred over the course of the
test.
Test: atest -v system-memory-test
Bug: 111830582
Change-Id: I11827c78d73f3ddbf5e4e988c99abb96aebdc03a
Set up a memory test to experiment with actionable memory metrics and
detect regressions in system server memory use.
The initial CUJ is to launch an instrumentation that does nothing for
a few seconds.
The initial metric is to read showmap for system_server and report
VSS, RSS, and PSS.
The CUJ and metrics will be made more interesting once the basic
infrastructure for continuously running the test is set up.
Bug: 111830582
Test: tradefed.sh run commandAndExit template/local_min --template:map test=system-memory-test
Change-Id: I8793adb66de4adab254173585e2c8afc754d4a3a