Loading
Move handling of flags of audio ports to libaudiofoundation
Since the flags of an audio port are part of its configuration, they need to be visible to HAL. Thus, expose them in AudioPort/Config classes from libaudiofoundation. To simplify code, removed unneeded implementation of Parcelable interface by AudioPort and DeviceDescriptorBase. PolicyAudioPortConfig now doesn't have any fields on its own, only inline methods. Bug: 198812639 Test: atest audiofoundation_parcelable_test Test: atest audiopolicy_tests Change-Id: I68fd6d232b7e00462866cd6240089a48ad187279