commit | 4f2111e7faf5cccb23f3a02adee5dc2c5afb525e | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Apr 18 14:17:47 2024 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Apr 23 17:16:04 2024 +0000 |
tree | 17350241aa6bf654f2ebcf7297a79c8d6c9c0f3a | |
parent | 90d580b735bcdd20aad84cd07e9d0278c9f980ab [diff] |
audio: Update 'PauseSync' scenario in AudioStreamIoOutTest According to the definition of the 'PAUSED' state in StreamDescriptor.aidl, s/w (the client) stops writing once the buffer is filled up. That means, it is allowed for an output stream not to consume data from the MQ while in the paused state, so allow that in the test. Also, update the state transition sequence in the test to flush any data after making a burst while in the 'PAUSED' state. Bug: 328010709 Test: atest VtsHalAudioCoreTargetTest (cherry picked from https://android-review.googlesource.com/q/commit:22e17d43bd9a56785b9c56a65500c6b6f1e56494) Merged-In: Icb5fd02ca4ede63d7ae33613ab66cb96f3e6df29 Change-Id: Icb5fd02ca4ede63d7ae33613ab66cb96f3e6df29