platform_hardware_interfaces/audio
Kevin Rocard 3bcba14c36 Audio HAL: Allow setters to not be implemented
setSampleRate, setChannelMask, setFormat
may not be implemented by the HAL, although this is not documented in
the HAL API.
Currently the VTS test requires their implementation if the respective
getSupported{SampleRate,ChannelMask,Format} are supported.

Relax this requirement as the framework never calls those setters.

Note that the optionality of those functions will be documented
in the next HAL API version.

Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 69811500
Change-Id: I3a390ae925cabd99e7f1ed4a627e71ad87b1b437
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-12-05 15:42:10 -08:00
..
2.0 Audio HAL: Allow setters to not be implemented 2017-12-05 15:42:10 -08:00
common Update makefiles. (2/2) 2017-05-19 15:54:03 -07:00
effect VTS Audio Effect: Do not check the result of IEffect::offload method 2017-06-02 15:54:43 +00:00
Android.bp Audio VTS: Test now use Android.mk 2017-06-02 16:43:21 -07:00