diff options
author | Kevin Rocard <krocard@google.com> | 2017-11-30 18:30:55 -0800 |
---|---|---|
committer | Keun Soo Yim <yim@google.com> | 2018-01-23 22:41:21 +0000 |
commit | 117188b3158be8a110eb77db63e85a57711c10de (patch) | |
tree | f97ae9667aefe50cfa51ffd732851a14410f90a3 /identity/support/src/cppbor_parse.cpp | |
parent | eb488fad653fdcf6e0cb17927be31ad779f40c12 (diff) |
Audio policy config: Device port (type,address) must be unique
Device port are not identified by names but by their type and address
and the module they are in.
As a result, enforce this constraint in the XSD. Violating it results in
a policy parsing crash.
Bug: 69442986
Test: xmllint invalidates an XML with two devices of the same type
and address
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation
Merged-In: I84245f0fa80fef786a002c98073c166b6aaf2be4
Change-Id: I84245f0fa80fef786a002c98073c166b6aaf2be4
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit fa1f597442a8b99f34a03013b5c5eeab779d65ed)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions