platform_hardware_interfaces/audio/2.0
Kevin Rocard fa3b4a9334 Audio HAL VTS: differentiate getParam success/failure/not_implemented
When sending parameters to the HAL (and some getters are implemented
with getParameters), the client expect a status consistent
with the other HIDL methods. Ie: not implemented or success and failure.

Unfortunately, the legacy get_parameter interface, which currently most
Audio HIDL implementation are a wrapper around, do not return such error
code.

Get parameters return a list of key values.
 - If a requested key does not return a key value pair, consider it not
   implemented
 - If a requested key returns a key not followed by a correct value,
   consider it a failure
 - otherwise it is a success

Test: vts-tradefed run vts --module VtsHalAudioV2_0Target
Test: call/play music/record/video...
Bug: 36311550
Change-Id: Id6711e9c1974fe5a336b6de83a9b6d14f74437c9
Signed-off-by: Kevin Rocard <krocard@google.com>
2017-05-08 12:42:14 -07:00
..
default Audio HAL VTS: differentiate getParam success/failure/not_implemented 2017-05-08 12:42:14 -07:00
vts/functional Audio HAL VTS: differentiate getParam success/failure/not_implemented 2017-05-08 12:42:14 -07:00
Android.bp Update makefiles (2/2). 2017-04-11 09:58:03 -07:00
Android.mk Changed the naming scheme for Treble java libraries (both static and dynamic) 2017-04-13 15:23:46 -07:00
IDevice.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
IDevicesFactory.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
IPrimaryDevice.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
IStream.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
IStreamIn.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
IStreamOut.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
IStreamOutCallback.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00
types.hal Convert all comments into "doxygen-ready" comments. 2017-03-29 08:53:58 -07:00