| commit | df2e359d5c19c142fe400980cd15b0b60bea507b | [log] [tgz] |
|---|---|---|
| author | Mikhail Naganov <mnaganov@google.com> | Wed Dec 19 14:27:42 2018 -0800 |
| committer | Mikhail Naganov <mnaganov@google.com> | Fri Jan 11 21:01:07 2019 -0800 |
| tree | 5fbb45d0a3f448e60b2c1464eaf0bc5f9bf4c28a | |
| parent | ff7397bb08bf9953615d7b3416f4839bc0b1d2ff [diff] |
AudioPolicy: Add unit tests for the MSD use cases
Test the following scenarios:
- inputs / outputs update due to setForceUse change;
- MSD device selection and downstream patch creation
when an output for a supported format is opened;
- default device selection and downstream patch teardown
when an output for an unsupported format is opened;
- swiching outputs depending on the format.
Bug: 121048134
Test: audiopolicy_tests
Change-Id: I3a07c758ea7fd87250f425c27fbf0c38eb5bf8b5