audio: Implement transient state testing
Add ModuleDebug.streamTransientStateDelayMs parameter to ensure that streams stay in transient states for the specified amount of time. This enabled sending commands from VTS while the stream is still in a transient state. Add 'getStatus' stream command to retrieve current positions, counters, and stream state. Previously we were planning to use a zero-sized burst command for that, however, after the introduction of stream state machines, the 'burst' command is not handled in every stream state, and may even affect the current state, thus it's no more usable for this purpose. Bug: 205884982 Test: atest VtsHalAudioCoreTargetTest Change-Id: I8717acace8d95d76bef2ec9fd6561796d7544992
Loading
Please register or sign in to comment