APM: return compatibility score to indicate how the profile is compatible
for the given parameters.

Use compatibility score to describe how the profile is compatibile with
given parameters. In that way, it can help find the exactly matched
profile.

Bug: 322899696
Test: atest audiopolicy_tests
Merged-In: I968b705c81d467ca5952c408d6ee3152acef0fdd
Change-Id: I968b705c81d467ca5952c408d6ee3152acef0fdd
6 files changed