audio VTS: Update CompressedOffloadOutputStream implementation
Do not rely on blocking behavior of 'IStreamOut.write', instead use stream callbacks. Measure the time between write start and drain complete. This makes the test working reliably across different chipsets. Bug: 219767875 Test: atest VtsHalAudioV7_0TargetTest:CompressedOffloadOutputStream/CompressedOffloadOutputStreamTest Test: atest VtsHalAudioV7_1TargetTest:CompressedOffloadOutputStream/CompressedOffloadOutputStreamTest Change-Id: I26fd4fd26914ed2a0b3273f4ae5512a87f9cca2c Merged-In: I26fd4fd26914ed2a0b3273f4ae5512a87f9cca2c (cherry picked from commit a0a5d4a9)
Loading
Please register or sign in to comment