OSDN Git Service

Audio VTS: Enforce policy configuration format
authorKevin Rocard <krocard@google.com>
Wed, 24 May 2017 18:01:34 +0000 (11:01 -0700)
committerKevin Rocard <krocard@google.com>
Fri, 2 Jun 2017 23:43:32 +0000 (16:43 -0700)
commit19b3e43fb4e639985fde0219bb1bb491abf88537
tree1de1eec4a8db5590886df4e6f9e0853fa53280fb
parent88e8f90e7f7f133130a41e5ac542adb20f4e679c
Audio VTS: Enforce policy configuration format

Validate the audio_policy_configuration.xml supplied in /vendor against
the format schema.

Test: Run the VTS test on target
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Bug: 35700978
Change-Id: I800e692a6ff4f64655007c33af7e34d879ee1132
Signed-off-by: Kevin Rocard <krocard@google.com>
audio/2.0/vts/functional/Android.mk
audio/2.0/vts/functional/ValidateAudioConfiguration.cpp [new file with mode: 0644]
audio/2.0/vts/functional/utility/ValidateXml.cpp [new file with mode: 0644]
audio/2.0/vts/functional/utility/ValidateXml.h [new file with mode: 0644]