OSDN Git Service

Audio VTS: Enforce policy configuration format
authorKevin Rocard <krocard@google.com>
Wed, 31 May 2017 00:15:28 +0000 (17:15 -0700)
committerKevin Rocard <krocard@google.com>
Tue, 6 Jun 2017 01:55:49 +0000 (01:55 +0000)
commitcbf9c0811631c6ab0dbd1e17ab1af9a0129a6b6c
treea35aed29a2b4ad157fd644830e9507848b733a43
parent1c87d14016ad25b8d52bfff12934882809cc34f5
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>
(cherry picked from commit 06a2a403098a2f1874539cd0e5d25bef9674a01c)
audio/2.0/vts/functional/Android.bp
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]