Refactor the IntegrityCheckResult to hold a list of rules so that we can
identify the DENY / FORCE ALLOW type in our logs. The change also
refactors evaluateRules of RuleEvaluator method so that it is simpler to
understand.

Bug: 147095027
Test: atest frameworks/base/services/tests/servicetests/src/com/android/server/integrity/model
Change-Id: Ifc9d026ae19940adb9f4aa5028acbd2e495595d1
6 files changed