Add (virtual) device ID to AudioPolicy/AudioMix

This adds a clear signal to AudioMix as to which (virtual) deviceId the
mix belongs to. This signal is then used in AudioServer to determine if
a record is permitted and has access to the mix via device-aware
permissions.

Bug: 291737188
Test: atest VirtualAudioPermissionTest
Change-Id: Iaf492814fe10059accf38174f655610ebe780e7d
8 files changed