From f28217177630205d0b6c606aa69d0114311c7409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Gaffie?= Date: Tue, 19 Nov 2019 09:42:07 +0100 Subject: [PATCH] audio: update XSD for dynamic engine loading support config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: 141989952 Test: atest VtsHalAudioV6_0TargetTest Change-Id: Ic0afc27f09d8387236444901dfddc5f0f074ba1b Merged-In: Ic0afc27f09d8387236444901dfddc5f0f074ba1b Signed-off-by: François Gaffie --- audio/6.0/config/api/current.txt | 8 ++++++++ audio/6.0/config/audio_policy_configuration.xsd | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/audio/6.0/config/api/current.txt b/audio/6.0/config/api/current.txt index fa1e613746..adab3d2657 100644 --- a/audio/6.0/config/api/current.txt +++ b/audio/6.0/config/api/current.txt @@ -214,6 +214,12 @@ package audio.policy.configuration.V6_0 { method public void set_default(boolean); } + public enum EngineSuffix { + method public String getRawName(); + enum_constant public static final audio.policy.configuration.V6_0.EngineSuffix _default; + enum_constant public static final audio.policy.configuration.V6_0.EngineSuffix configurable; + } + public enum GainMode { method public String getRawName(); enum_constant public static final audio.policy.configuration.V6_0.GainMode AUDIO_GAIN_MODE_CHANNELS; @@ -252,7 +258,9 @@ package audio.policy.configuration.V6_0 { public class GlobalConfiguration { ctor public GlobalConfiguration(); + method public audio.policy.configuration.V6_0.EngineSuffix getEngine_library(); method public boolean getSpeaker_drc_enabled(); + method public void setEngine_library(audio.policy.configuration.V6_0.EngineSuffix); method public void setSpeaker_drc_enabled(boolean); } diff --git a/audio/6.0/config/audio_policy_configuration.xsd b/audio/6.0/config/audio_policy_configuration.xsd index b5d978c6a7..3fc60e2118 100644 --- a/audio/6.0/config/audio_policy_configuration.xsd +++ b/audio/6.0/config/audio_policy_configuration.xsd @@ -66,6 +66,7 @@ + @@ -623,4 +624,10 @@ + + + + + +