[RESTRICT AUTOMERGE]: 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
2 files changed