platform_hardware_interfaces/audio/6.0
Mikhail Naganov 5b8fc1298a audio: Run VTS tests for streams of non-primary modules for HAL V6
Implement parsing of AudioPolicyManager config for finding
out supported format configurations of streams. This only applies
when running tests for HAL V6. Previously format configurations
mandated by CDD were used for testing, this does not work well
for non-primary modules.

Fix the following issues found while running the tests
for "r_submix" and "msd" modules:

- IStream::getSupportedFormats must return a status
  to indicate that this capability is not supported by HAL;

- it is allowed for IStream::setDevices to return
  NOT_SUPPORTED status.

Other changes:

- Factor out helper functions for generating format
  configurations;

- Fix generation of the channel mask component in the names
  of tests that use AudioConfig, add sampling rate to test
  names.

Bug: 141989952
Bug: 141847510
Test: atest VtsHalAudioV5_0TargetTest
      atest VtsHalAudioV6_0TargetTest
            also, run modified V5_0 test using generators for V6_0

Change-Id: If0d330881901908e546baab89f63d3333003e355
2019-11-07 12:53:43 -08:00
..
config Introduce Audio V6 2019-10-08 11:07:27 +01:00
Android.bp Introduce Audio V6 2019-10-08 11:07:27 +01:00
IDevice.hal audio: Run VTS tests for non-primary modules for HAL V6 2019-11-01 11:29:40 -07:00
IDevicesFactory.hal Introduce Audio V6 2019-10-08 11:07:27 +01:00
IPrimaryDevice.hal Introduce Audio V6 2019-10-08 11:07:27 +01:00
IStream.hal audio: Run VTS tests for streams of non-primary modules for HAL V6 2019-11-07 12:53:43 -08:00
IStreamIn.hal Introduce Audio V6 2019-10-08 11:07:27 +01:00
IStreamOut.hal Introduce Audio V6 2019-10-08 11:07:27 +01:00
IStreamOutCallback.hal Introduce Audio V6 2019-10-08 11:07:27 +01:00
types.hal Introduce Audio V6 2019-10-08 11:07:27 +01:00