Add utility methods to Crash Parser

Also update the filtering implementation to be cleaner and easier to read.

* add process name to Crash.java
* detect crashes on process regex instead of thread name
* add the crash blob string to Crash.java
* add matchSecurityCrashes() to CrashUtils.java
* use BigInteger instead of long to correctly compare 64-bit addresses
* update unit tests

Bug: 133329166
Test: cts/run_unit_tests.sh

Change-Id: I904f82a3a2c3467c603d7bad19606280312a5e45
Merged-In: I904f82a3a2c3467c603d7bad19606280312a5e45
3 files changed
tree: 7733b5c331431cc2503347f823fa8b6644f376cb
  1. common/
  2. tools/
  3. Android.mk
  4. test_defs.sh