commit | 741c347b6cd6a216077725be567e5708dce96594 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Fri May 05 17:36:39 2023 -0700 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue May 16 15:58:20 2023 +0000 |
tree | 61d3f49cca14dc94fd7658cba08024b14babb48a | |
parent | f83f648f8ee5ff6893d42740538bf081ee1ce406 [diff] |
APM: Implementing configuration loading from AIDL HAL The main change is to utilize 'getAudioPolicyConfig' to receive the HAL-provided configuration from the AudioFlinger and initialize runtime structures from it. Accompanying changes: - made `libaudiopolicycomponents` a shared library; - added or moved around necessary conversion functions; Bug: 205884982 Test: run CF with AIDL HAL and compare APM dump A/B Test: m audiopolicy_fuzzer Test: atest audio_health_tests Test: atest audio_aidl_ndk_conversion_tests (cherry picked from https://android-review.googlesource.com/q/commit:9e459d7393179e7df286601c7536210c6011f090) Merged-In: I7d0f48bf4d9d4bdaa46246aa4dfbcc49e835c6b6 Change-Id: I7d0f48bf4d9d4bdaa46246aa4dfbcc49e835c6b6