audiopolicy: Fix sofware bridge creation for AudioHAL supporting routing APIs

AudioPolicy roughly checks if HAL supports routing APIs 3.0 to enable or
not software bridge in case of device to device patch requests.

However, Audio HAL declares in XML file routes supported. AudioPolicy
shall refine its decision upon information available in the policy configuration
file.

Test: Audio smoke tests.
Test: CTS tests for AudioRecord, AudioTrack and AudioEffect

Change-Id: Idc2e1ccd7d9fb6385f9a05ee002bec045e608232
Signed-off-by: Francois Gaffie <francois.gaffie@renault.com>
5 files changed