Give tests more control of crash parser behavior

Added a config object instead of a multitude of arguments.
The config object has options for:
	- crash signal (SIGSEGV, SIGABRT, SIGBUS, etc.)
	- whether or not to check the crash address
	- changing the min crash address threshold
	- what process patterns to match against

Bug: 142482078
Test: cts-tradefed run compatibility-common-util-tests
Test: cts-tradefed run cts -m CtsSecurityTestCases -t android.security.cts.StagefrightTest
Change-Id: Id5aec329fe689ce3d43c481b46bfe21550ff9fee
Merged-In: Id5aec329fe689ce3d43c481b46bfe21550ff9fee
2 files changed
tree: 264ce7cce428975266484ab2fcf57f3e759a105d
  1. build/
  2. common/
  3. tools/
  4. OWNERS
  5. PREUPLOAD.cfg
  6. test_defs.sh