Add libaudiousecasevalidation library

This library will verify the audio attributes usage for a track
that is connected to the specified stream.

It will only update the audio attributes usage for AUDIO_USAGE_MEDIA or
AUDIO_USAGE_UNKNOWN, to AUDIO_USAGE_GAME if output flags AUDIO_OUTPUT_FLAG_FAST
or AUDIO_OUTPUT_FLAG_MMAP_NOIRQ have been set for specified stream.

Bug: 257922898
Test: atest libaudiousecasevalidation-test

Change-Id: Ic2d89fa05467538abbc97d707478df1d70901fdb
7 files changed