Mikhail Naganov 1e703f182e audio VTS: Refactor test parameter generation for I/O streams
Two changes that are necessary to test offloaded output:

1. Pass all mix port flags specified in the config to HAL when
   opening an output stream. Previously the generator was
   omitting the 'NON_BLOCKING' flag, however it is necessary
   for offloaded output to work. This also now passes
   the 'GAPLESS_OFFLOAD' flag to the stream opening call site.

2. Provide the DeviceAddress of the attached source/sink
   device to tests that use mix ports. Some tests were looking
   up the device address anyway. Also, HAL implementations
   seem to prefer to have the actual output device instead
   of 'DEFAULT' when opening offload streams.

Bug: 219767875
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioV7_1TargetTest
Test: atest HalAudioV7_0GeneratorTest
Change-Id: I0482376ecc7d6964f45f508a80716ffab18044b4
Merged-In: I0482376ecc7d6964f45f508a80716ffab18044b4
(cherry picked from commit 713d2c5590)
2022-07-19 19:55:37 +00:00
2022-05-20 18:59:30 +00:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-06-09 23:01:28 +00:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-04-16 07:03:24 +09:00
2022-05-21 10:43:24 +00:00
2022-04-16 07:03:24 +09:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%