commit | 90d580b735bcdd20aad84cd07e9d0278c9f980ab | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Wed Apr 17 14:33:59 2024 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 23 17:15:51 2024 +0000 |
tree | a2f66f60f4429d801536732a1b672b9f145404bb | |
parent | 5e51445c1d453a557d3d09ade7b9f1364e820e97 [diff] |
audio: Fix IStreamIn.getActiveMicrophones test Since "active" means "used by the stream for acquiring data," it was unreasonable to expect the list of active microphones to be non-empty prior to actually starting data acquisition. This change adds running of 'burst' commands before calling 'getActiveMicrophones'. To reuse existing code some refactorings have been made. Added 'AudioInputFlags::HOTWORD_TAP' to the list of port config flags for which I/O testing is not performed. Bug: 328010709 Bug: 328362233 Test: atest VtsHalAudioCoreTargetTest (cherry picked from https://android-review.googlesource.com/q/commit:eee5499ba8381b50a29a541c2077b040a642fa18) Merged-In: I876c0b6d7365e104ec9ed8cf5033a83f822006b6 Change-Id: I876c0b6d7365e104ec9ed8cf5033a83f822006b6