summaryrefslogtreecommitdiff
path: root/audio/core/all-versions/default/Stream.cpp
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2019-10-25 13:04:19 -0700
committerMikhail Naganov <mnaganov@google.com>2019-11-08 13:49:47 -0800
commit686af1cc4351de44ed77c1cd32986ec04f8885ca (patch)
treed1b59e386544b3b03038732c10656454e0e3acc7 /audio/core/all-versions/default/Stream.cpp
parentccd484bb80b2bdf4c1240e4853e776e2f069e855 (diff)
audio: Run VTS tests for non-primary modules for HAL V6
Implement parsing of AudioPolicyManager config for finding out declared modules (IDevice instances) with permanently attached devices and run tests for them. This only applies when running tests for HAL V6. Change class hierarchy to use IDevice interface as much as possible, only use IPrimaryDevice for its specific methods. Fix the following issues found while running the tests for "r_submix" and "msd" modules: - IDevice::getMicrophones can return NOT_SUPPORTED status; - IDevice::get/setParameters can return NOT_SUPPORTED. Other changes: - Factor out common code for getting devices via DeviceManager; - Factor out AudioPolicyConfigTest.HasPrimaryModule test from SetUp code; - Add device parameter generator for primary device only. Bug: 141989952 Bug: 141847510 Test: atest VtsHalAudioV5_0TargetTest atest VtsHalAudioV6_0TargetTest also, run modified V5_0 test using generators for V6_0 Change-Id: I51cec21670120d8dce75609954a18b886cc0c18d Merged-In: I51cec21670120d8dce75609954a18b886cc0c18d
Diffstat (limited to 'audio/core/all-versions/default/Stream.cpp')
0 files changed, 0 insertions, 0 deletions