History log of /frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f4ad6e5637b6deccdac4b60615383f290b3806cf 19-Nov-2015 François Gaffie <francois.gaffie@intel.com> Audio policy: implement configuration file in XML

This patch introduces configuration file of the policy in XML.
Legacy configuration file is used by default and
compilation flag USE_XML_AUDIO_POLICY_CONF must be defined to
use XML file format.

Change-Id: I352b788b5829d42ed82c851a4faef0e526be582e
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
112b0af826aeca45855690b9c105b2cdf9938bbe 19-Nov-2015 François Gaffie <francois.gaffie@intel.com> audio policy: introduction of AudioProfile

In order to be able to declare the possible sample
specifications for an Audio Port (a given format, a list of
sample rates, a list of channels), a new object AudioProfile is
introduced.

Change-Id: Ie3ca3400f05984e7b4132fc7ba90020eb4d998c7
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
a8ecc2c72ca26389bd6b0162181d60aaeaca8149 09-Nov-2015 François Gaffie <francois.gaffie@intel.com> audio policy: remove deserialization from policy objects

This patch removes the responsability of the deserialization of all
objects managed by the policy by:
-adding required accessors
-moving deserialization function to Config parser helper
-adds a TypeConverter to associate string to / from values of all
audio enumeration shared between HALs and policy.

Change-Id: I1ce798848f4657b37e47446c9fbdc63f7ed0390e
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
75bd29fde03953952804215d1f24d8dffaeda763 06-Jul-2015 Eric Laurent <elaurent@google.com> Merge "audio: add definitions for devices connected over IP" into mnc-dev
b9d73333cce3f9da3a7a0b33589f6bbe0f992a92 01-Jul-2015 Eric Laurent <elaurent@google.com> audio: add definitions for devices connected over IP

Bug: 22068684.
Change-Id: Idde0eaf7121d2e43f32eee3e6b10e99d8cff4912
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
6631424f66253c4bad94618fa078c97715a65fbc 02-Jul-2015 Ravi Kumar Alamanda <ralama@codeaurora.org> audiopolicy: Update flag enum tables for the new flags

Without an entry in sOutputFlagNameToEnumTable or sInputFlagNameToEnumTable,
a profile with specific output/input flag in the audio_policy.conf will
not be detected by AudioPolicyManager.

Bug: 19230391

Change-Id: I94bb3594e2eb8b57747b474a253da3551263c59a
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
e8d55a5d1f6b08cfdabea7628e956063a47fa160 18-Jun-2015 Ravi Kumar Alamanda <ralama@codeaurora.org> audiopolicy: Add AUDIO_OUTPUT_FLAG_TTS to flags enum table

Without an entry in sOutputFlagNameToEnumTable, a profile with
specific output flag in the audio_policy.conf will not be
detected by AudioPolicyManager.

Change-Id: Id242e6819aab1a67d72c564f3cc39af3de8e1ef7
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
f27e2fbfc3284c00a60fa68edc51d436f75b1e32 20-Apr-2015 Andy Hung <hunga@google.com> Add channel index record to AudioPolicyManager

Change-Id: Ic534bee084108a68c7818600df6e1c9dc9258a0d
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
322b4d25387a04c9afebe998326d005bbdf17ede 04-Apr-2015 Eric Laurent <elaurent@google.com> audio policy: fix unique audio port ID.

Remove mId member from AudioPort as it was shadowed
by mId in DeviceDescriptor.

Add getters for Id, and HW module name and version to device,
output and input descriptors.

Fix DeviceDescriptor name initialization.

Change-Id: I4a69f385e40330954d9dad5f2926c521f60b2ec1
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
7d669b3551c20109f5544455ca1555499693e1e1 31-Mar-2015 Phil Burk <philburk@google.com> audiopolicy: add support for parsing AUDIO_FORMAT_DTS

Bug: 18292317
Change-Id: Ic9a15fc09ce32021d12072fb71252d207deac30a
Signed-off-by: Phil Burk <philburk@google.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
53615e29c99c5e9d2ca77aaefd7bf5c770513120 19-Mar-2015 François Gaffie <francois.gaffie@intel.com> Migrate helper functions from managerdefault to common

This patch moves from manager to common:

-parse helper functions of the policy configuration file
-collection helper function on
-output / input descriptors
-DeviceDescriptor
-AudioPatch / Audio Port
-IO Profile
-HwModule

Change-Id: If45e53418db75af1af198f43c4ef27884499055f
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h
98cc191247388132b6fd8a4ecd07abd6e4c5a0ed 18-Mar-2015 François Gaffie <francois.gaffie@intel.com> Split ManagerDefault into Manager and ManagerDefinitions

This patch splits the managerdefault into a manager and a manager
defintion library that contains all pillar elements of a policy manager.

It renames the file with the name of the main class they contains.

It splits the AudioPort into AudioPort and AudioPatch.

Change-Id: I992cf0b8aed895805cc003ba0980d2c9e92c985b
Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ConfigParsingUtils.h