Align AIDL HAL config reporting with legacy
1. In libaudiohal, sort the modules in the "canonical" order,
as in the reference audio_policy_configuration_7_0.xml file.
This simplifies A/B comparisons.
2. When building the APM configuration from the one provided
by the AIDL HAL, insert "dynamic profiles" into the mix port
if it has an empty set of profiles (same as for device ports).
Bug: 286914845
Bug: 290273817
Test: run CF with AIDL HAL, A/B compare APM dumps with HIDL
Change-Id: Ifc645d0b1318ceaa6a3935bf470f2d045d518800
2 files changed