Stop using bit mask for audio device types related helper functions

The change including:
1. audio_is_remote_submix_device
2. audio_device_is_digital
3. audio_device_address_to_parameter

Test: atest systemaudio_tests, audiopolicy_tests
Test: atest AudioPlaybackCaptureTest, AudioHostTest
Test: atest AudioServiceHostTest
Test: play music and make phone call with auto emulator
Test: play music and make phone call with BT device
Bug: 135621476
Change-Id: I038fbda99bc60e0a1fe951ce2c8c78fa553cb466
2 files changed