commit | 21762fa512c3d47bf0a78ffbfe3969ebabed2004 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Mar 05 16:28:57 2020 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Tue Mar 10 15:36:34 2020 -0700 |
tree | 740678fbbc90985039ec2ec445ab8ec9d93fc8df | |
parent | 47daf67f562b366a37c11a6b8de12d81840497d0 [diff] |
Allow for late audio module discovery in APM Extract code that loads hardware modules and fills out mAvailable{Input|Output}Devices into a reusable function. It is used both during APM initialization and on receiving a notification that a new HAL service has been discovered. Bug: 149854039 Test: atest audiopolicy_tests Change-Id: Ifb7f0b61b06a0609802e63dccb26f3472328ef48 Merged-In: Ifb7f0b61b06a0609802e63dccb26f3472328ef48