Kevin Rocard 117188b315 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 fa1f597442)
2018-01-23 22:41:21 +00:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:53:53 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2018-01-23 22:09:17 +00:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2017-05-19 15:54:03 -07:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%