c51e05b671ecb639fae5845541fe632bbf1bd8b7 |
02-Jun-2016 |
Di Folco, Neil <neil.di.folco@intel.com> |
engine configurable: AUDIO_SOURCE_UNPROCESSED aligment with legacy This patch realigns the configurable version of the engine with the legacy one with regards the new AUDIO_SOURCE_UNPROCESSED. This is required to pass the Audio Frequency Line CTS test. Bug: 29096641 Change-Id: I88abf91807bf66671ad3da6030d6aa6487cf4c54 Signed-off-by: Di Folco, Neil <neil.di.folco@intel.com>
xamples/Settings/device_for_input_source.pfw
|
c7ce9a2ee61ecabdedc87ae8635eb80a5fbce17c |
09-May-2016 |
François Gaffie <francois.gaffie@intel.com> |
engine configurable: add conf for product without devices this patch provides an example of configuration of policy engine for platforms: -without output devices -without input devices. Change-Id: I5e8a159de085e35fb245f2efb54f609d8e89ce16 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xamples/Android.mk
xamples/Settings/PolicyConfigurableDomains.xml
xamples/Settings/device_for_input_source.pfw
xamples/Settings/device_for_strategy_accessibility.pfw
xamples/Settings/device_for_strategy_dtmf.pfw
xamples/Settings/device_for_strategy_enforced_audible.pfw
xamples/Settings/device_for_strategy_media.pfw
xamples/Settings/device_for_strategy_phone.pfw
xamples/Settings/device_for_strategy_rerouting.pfw
xamples/Settings/device_for_strategy_sonification.pfw
xamples/Settings/device_for_strategy_sonification_respectful.pfw
xamples/Settings/device_for_strategy_transmitted_through_speaker.pfw
xamples/SettingsNoInput/device_for_input_source.pfw
xamples/SettingsNoOutput/device_for_strategies.pfw
xamples/Structure/PolicySubsystem-CommonTypes.xml
xamples/policy_criteria.txt
lugin/InputSource.cpp
|
f489ff899861a385c36b548bd51d0c6e17f8e67f |
09-May-2016 |
François Gaffie <francois.gaffie@intel.com> |
Audio Policy: engine configurable: remove sign bit from conf files In order to avoid mistake or extra configuration, this patch removes from xml/pfw configuration files the sign bit for input device and adds it programmaticaly within the Parameter Framework policy plugin Bug: 25075342 Change-Id: I571e8ae882cb338330d6a10da309b1249ce0417e Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xamples/Settings/PolicyConfigurableDomains.xml
xamples/Settings/device_for_input_source.pfw
xamples/Structure/PolicySubsystem-CommonTypes.xml
lugin/InputSource.cpp
|
d86071d55540c3a5c40afe2122bff6a5c4296bf1 |
09-May-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: aligment with legacy This patch realigns the configurable version of the engine with the legacy one. Bug: 25075342 Change-Id: Ic73cee9176d6593e8fbf6d92e571d76cdba42c6b Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Android.mk
xample/ParameterFrameworkConfigurationPolicy.xml.in
xample/README.md
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/device_for_input_source.pfw
xample/Settings/device_for_strategy_accessibility.pfw
xample/Settings/device_for_strategy_dtmf.pfw
xample/Settings/device_for_strategy_enforced_audible.pfw
xample/Settings/device_for_strategy_media.pfw
xample/Settings/device_for_strategy_phone.pfw
xample/Settings/device_for_strategy_rerouting.pfw
xample/Settings/device_for_strategy_sonification.pfw
xample/Settings/device_for_strategy_sonification_respectful.pfw
xample/Settings/device_for_strategy_transmitted_through_speaker.pfw
xample/Settings/strategy_for_stream.pfw
xample/Settings/strategy_for_usage.pfw
xample/Settings/volumes.pfw
xample/Structure/PolicyClass.xml
xample/Structure/PolicySubsystem-CommonTypes.xml
xample/Structure/PolicySubsystem.xml
xample/policy_criteria.txt
xamples/Android.mk
xamples/ParameterFrameworkConfigurationPolicy.xml.in
xamples/README.md
xamples/Settings/PolicyConfigurableDomains.xml
xamples/Settings/device_for_input_source.pfw
xamples/Settings/device_for_strategy_accessibility.pfw
xamples/Settings/device_for_strategy_dtmf.pfw
xamples/Settings/device_for_strategy_enforced_audible.pfw
xamples/Settings/device_for_strategy_media.pfw
xamples/Settings/device_for_strategy_phone.pfw
xamples/Settings/device_for_strategy_rerouting.pfw
xamples/Settings/device_for_strategy_sonification.pfw
xamples/Settings/device_for_strategy_sonification_respectful.pfw
xamples/Settings/device_for_strategy_transmitted_through_speaker.pfw
xamples/Settings/strategy_for_stream.pfw
xamples/Settings/strategy_for_usage.pfw
xamples/Settings/volumes.pfw
xamples/Structure/PolicyClass.xml
xamples/Structure/PolicySubsystem-CommonTypes.xml
xamples/Structure/PolicySubsystem.xml
xamples/policy_criteria.txt
|
4ac9d8441da55d95a60e92725576e38d7cc6cb34 |
12-Apr-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: improve accessibility volume This is the counter part patch of 28d09f06422841b4274d7fed6ad3441dc97382b2 for configurable engine verion based on the parameter framework. It solves: regressions caused by the introduction of accessibility stream type and strategy in M. - change the way ACCESSIBILITY usage maps to a given strategy: always map to strategy ACCESSIBILITY but implement a specific device selection for strategy ACCESSIBILITY in getDeviceForStrategy(). This makes sure that accessibility prompts always use ACCESSIBILITY stream type. - optimize getDeviceForStrategy() to avoid reloading the list of outputs and devices from the observer when called recursively. - make sure that all volume APIs also take into account ACCESSIBILITY stream when called for MUSIC stream. Generalize the concept of matching strategies for straqegies that should be considered equivalent for volume control. Bug: 25067903 Bug: 25616373 Change-Id: Ie674e6bfb5d1b25f71a9fd31cd2405c263b1732b Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/device_for_strategy_accessibility.pfw
|
e358ea3f7c1e9fbe2fca10e3b32f2e824ba4004b |
12-Apr-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: change default in call routing for line out device This patch is the counter part of a0b18ce8f737c0d6ccd728e17c3f355a250ae1dc. It updates engine configurable conf file accordingly: It solves: Current strategy is to use LINE OUT for calls only when speaker phone mode is enabled. This creates confusion because most users don't understand why the behavior differs between a headset and a line out. Also the main use of a line out device for calls is when connected to a car kit via an aux cable. In this case, you want to use the car kit by default without having to touch your phone and select speaker phone. Bug: Bug: 27548502 Change-Id: I07440fc882573a1ef797f35c86a2ce4ddf1389b1 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/device_for_strategy_dtmf.pfw
xample/Settings/device_for_strategy_phone.pfw
xample/Settings/device_for_strategy_sonification.pfw
xample/Settings/device_for_strategy_sonification_respectful.pfw
|
f4541b1d2342e08ee429b71627f1161812fc8d13 |
12-Apr-2016 |
François Gaffie <francois.gaffie@intel.com> |
Audio Policy: Engine Configurable: Force Encoded surround setting This patch is the counter part of 09bc4612bdd5874d744c5da1183d96fbd2ad0235. It solves Bug: 26373761 for configurable policy engine, i.e. Parameter-framework based policy. Bug: 26373761 Change-Id: I5f01732238375c1fa08a8f2116698d4362840ba6 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/policy_criteria.txt
|
8fa2697e21c61998f78c346251d2c08f77d720ea |
03-Mar-2016 |
Andy Hung <hunga@google.com> |
Update audio services for 64 bit compilation audioserver still runs in 32 bits Bug: 27479136 Change-Id: I99ac607e4ce006a87abc2a3f838023e00ef78647
lugin/Android.mk
|
c1391f91c4f85f5f2f08b072486455b990817710 |
10-Dec-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: upgrade to PFW 3.2.4 This patch updates the policy plugin to PFW 3.2.4. Bug: 22887211 Change-Id: Ic9f54c3108adeaec7031a1fd4f8e3b7cfb1c5abf Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Android.mk
xample/ParameterFrameworkConfigurationPolicy.xml
xample/ParameterFrameworkConfigurationPolicy.xml.in
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/device_for_input_source.pfw
xample/Settings/device_for_strategy_dtmf.pfw
xample/Settings/device_for_strategy_enforced_audible.pfw
xample/Structure/PolicySubsystem.xml
lugin/Android.mk
lugin/InputSource.cpp
lugin/InputSource.h
lugin/PolicySubsystem.cpp
lugin/PolicySubsystem.h
lugin/PolicySubsystemBuilder.cpp
lugin/Strategy.cpp
lugin/Strategy.h
lugin/Stream.cpp
lugin/Stream.h
lugin/Usage.cpp
lugin/Usage.h
|
a2b6c4b54cd3ae3db7f2a7f1df6d6f889af1e743 |
25-Feb-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: allow to use custom PFW and plugins Android build system prevents from having the same module target refered in more than one makefile. Some platform may need to use a custom parameter manager version than the aosp version of the PFW. It also concerns with associated plugins. This patch inhibits the AOSP Policy PFW plugin if USE_CUSTOM_PARAMETER_MANAGER is set to true. Bug; 22887211 Change-Id: I71147b3e7c8a9296af3182f8a1401bc37191a276 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
lugin/Android.mk
|
9792ec3735dc56ca2bd97d7e6524deb8c46f5186 |
26-Jan-2016 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: update example PFW files This patch updates the PFW files given as example. -it adapts to N-definition -fixes some bugs Change-Id: I9537982b33bf772056a3bf94c775ce28d9069ef2 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/device_for_input_source.pfw
xample/Settings/device_for_strategy_media.pfw
xample/Settings/device_for_strategy_phone.pfw
xample/Settings/volumes.pfw
xample/Structure/PolicySubsystem-CommonTypes.xml
xample/Structure/PolicySubsystem.xml
|
d1ab2bd4f1ea166a7e9e81cfd7f3e5dd47135d4d |
02-Dec-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: move volume table to XML file This patch allows to store in XML file volume tables. The compatibility is maintained for legacy conf file. Configurable Engine is only compatible with new XML conf. This patch removes from configurable engine Structure / Settings the volume table but keep the configurabllity of switching volume profiles from one another according to criteria like phone state... (ex: DTMF stream type is following Voice Profile in call) Change-Id: I78c91bc3378b6c47202abe7b5c1c1e011ff62eed Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Android.mk
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/volumes.pfw
xample/Structure/PolicySubsystem-CommonTypes.xml
xample/Structure/PolicySubsystem-Volume.xml
xample/Structure/PolicySubsystem.xml
lugin/Android.mk
lugin/PolicySubsystem.cpp
lugin/PolicySubsystem.h
lugin/Stream.cpp
lugin/Stream.h
lugin/VolumeProfile.cpp
lugin/VolumeProfile.h
|
fdb17f649c7480ddd83de9fd99ff48a4166a6acf |
16-Dec-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: configurable engine: remove unecessary function The policy plugin does not connect with any HW and does not need to perform a backward synchronisation at startup. This patch removes uncessary function linked with this functionality. Change-Id: Ie0d729f0eb4ea10d9a8450902dabba1fbbf199ef Signed-off-by: François Gaffie <francois.gaffie@intel.com>
lugin/InputSource.cpp
lugin/InputSource.h
lugin/Strategy.cpp
lugin/Strategy.h
lugin/Usage.cpp
lugin/Usage.h
|
b5959c7391ddcede07f0a1c65ae3aaaef02cd45f |
03-Dec-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: engine configurable: do not compile example makefile This patch avoids compiling the example makefile of the engine configurable settings and structure files. It is up to the oem to have its own makefile with its own structure and settings files. Change-Id: I735290bff08ca6183da7ea4266ced9206f2bb6a1 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
xample/Android.mk
|
d0609ad390ff8bb1cafebdf363bf1d15e63b949f |
01-Dec-2015 |
François Gaffie <francois.gaffie@intel.com> |
audio policy: move device_category type outside volume class This patch prepares the removal of hard coded volume tables by moving outside volume class the device_category enumeration. Change-Id: Ic712377898276a39bb782ac0bc7f793cdd7fa8bd Signed-off-by: François Gaffie <francois.gaffie@intel.com>
lugin/VolumeProfile.cpp
lugin/VolumeProfile.h
|
0489aa0a7a9930a155022cac97242eb7ec610cdc |
24-Jun-2015 |
François Gaffie <francois.gaffie@intel.com> |
Update Policy PFW plugin makefile for PFW release 2.6.0 This patch updates the Policy PFW plugin with latest change within PFW. It makes use of the dynamic xmlserializer library and does not need anymore to link against xmlserializer library dependencies. Change-Id: Ic7b912929a69d3906a34999c1ae25ddb9ac800e5 Signed-off-by: François Gaffie <francois.gaffie@intel.com> Bug 246391
lugin/Android.mk
|
0f17ab7f9fac4327a8772e9199f411af7df912a4 |
13-May-2015 |
François Gaffie <francois.gaffie@intel.com> |
Bug fix on Engine Configurable This patch fixes a couple of issue within audio policy engine configurable -valgrind error detected within the parsing of the configuration file -configuration file typos -start of the PFW delayed to the init in order to wait the full construction of the engine object -wrong specialization of template functions. -broadcast volume min / max init to stream collection of manager & PFW Change-Id: I08823ab4040c92b719747c60cc3fa5c8b5f172ac Signed-off-by: François Gaffie <francois.gaffie@intel.com>
lugin/PolicySubsystem.cpp
|
20f06f996337c9bf79d0b112083f6427a122ebab |
24-Mar-2015 |
François Gaffie <francois.gaffie@intel.com> |
Add a configurable version of the policy engine based on PFW This patch adds a configurable version of the policy engine based on the parameter framework. This configurable engine shall be activated with a flag USE_CONFIGURABLE_AUDIO_POLICY within BoardConfig.mk This patch provides the generic configuration as an example. This configuration provides the same user experience as the default policy engine. - Fix M Issue on configurable policy engine version. - Remove the "empty static lib include trick" hack The code was using a hack to import headers only through an empty lib. This trick was used not only by the PFW and its plugin but also internally with policy. This patch removes this hack and either links againts the real libraries if exist or point on the path of the header. However, since header directories are not recursively detected on Andoid, we need to manually add all necessary libraries. (for example libicuuc needed by libxml2) - let the build system decide which compiler and which stl is to be used - Disable by default Audio Policy Settings XML file generation at compilation time In order not to depend on python tool for the configurable policy example, this patch adds the generated Settings XML file and disables the generation from .pfw files at compile time. If the user wishes to regenerate it, he may use the pfw_rebuild_settings option. - Fix Clang issues within Configurable Audio Policy Fix compilation issues revealed when switching to CLANG compiler within the configurable version of policy engine. Change-Id: I3edc26db94c0bf8a76430ab8081bae52e9193705 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
ndroid.mk
xample/Android.mk
xample/ParameterFrameworkConfigurationPolicy.xml
xample/README.md
xample/Settings/PolicyConfigurableDomains.xml
xample/Settings/device_for_input_source.pfw
xample/Settings/device_for_strategy_accessibility.pfw
xample/Settings/device_for_strategy_dtmf.pfw
xample/Settings/device_for_strategy_enforced_audible.pfw
xample/Settings/device_for_strategy_media.pfw
xample/Settings/device_for_strategy_phone.pfw
xample/Settings/device_for_strategy_rerouting.pfw
xample/Settings/device_for_strategy_sonification.pfw
xample/Settings/device_for_strategy_sonification_respectful.pfw
xample/Settings/device_for_strategy_transmitted_through_speaker.pfw
xample/Settings/strategy_for_stream.pfw
xample/Settings/strategy_for_usage.pfw
xample/Settings/volumes.pfw
xample/Structure/PolicyClass.xml
xample/Structure/PolicySubsystem-CommonTypes.xml
xample/Structure/PolicySubsystem-Volume.xml
xample/Structure/PolicySubsystem.xml
xample/policy_criteria.txt
lugin/Android.mk
lugin/InputSource.cpp
lugin/InputSource.h
lugin/PolicyMappingKeys.h
lugin/PolicySubsystem.cpp
lugin/PolicySubsystem.h
lugin/PolicySubsystemBuilder.cpp
lugin/Strategy.cpp
lugin/Strategy.h
lugin/Stream.cpp
lugin/Stream.h
lugin/Usage.cpp
lugin/Usage.h
lugin/VolumeProfile.cpp
lugin/VolumeProfile.h
|
6fc6a64fa3b0a9e4577eb763590f531c0a50a27b |
25-Apr-2015 |
Eric Laurent <elaurent@google.com> |
Revert "Add a configurable version of the policy engine based on PFW" This reverts commit 65c3781db3443531deacecfbda5c7e7e82868a34. Change-Id: Ib61cd70f97c4c4f4b503fb845643627d6896f4f9
ndroid.mk
xample/Android.mk
xample/ParameterFrameworkConfigurationPolicy.xml
xample/README.md
xample/Settings/device_for_input_source.pfw
xample/Settings/device_for_strategy_accessibility.pfw
xample/Settings/device_for_strategy_dtmf.pfw
xample/Settings/device_for_strategy_enforced_audible.pfw
xample/Settings/device_for_strategy_media.pfw
xample/Settings/device_for_strategy_phone.pfw
xample/Settings/device_for_strategy_rerouting.pfw
xample/Settings/device_for_strategy_sonification.pfw
xample/Settings/device_for_strategy_sonification_respectful.pfw
xample/Settings/device_for_strategy_transmitted_through_speaker.pfw
xample/Settings/strategy_for_stream.pfw
xample/Settings/strategy_for_usage.pfw
xample/Settings/volumes.pfw
xample/Structure/PolicyClass.xml
xample/Structure/PolicySubsystem-CommonTypes.xml
xample/Structure/PolicySubsystem-Volume.xml
xample/Structure/PolicySubsystem.xml
xample/policy_criteria.txt
lugin/Android.mk
lugin/InputSource.cpp
lugin/InputSource.h
lugin/PolicyMappingKeys.h
lugin/PolicySubsystem.cpp
lugin/PolicySubsystem.h
lugin/PolicySubsystemBuilder.cpp
lugin/Strategy.cpp
lugin/Strategy.h
lugin/Stream.cpp
lugin/Stream.h
lugin/Usage.cpp
lugin/Usage.h
lugin/VolumeProfile.cpp
lugin/VolumeProfile.h
|
65c3781db3443531deacecfbda5c7e7e82868a34 |
24-Mar-2015 |
François Gaffie <francois.gaffie@intel.com> |
Add a configurable version of the policy engine based on PFW This patch adds a configurable version of the policy engine based on the parameter framework. This configurable engine shall be activated with a flag USE_CONFIGURABLE_AUDIO_POLICY within BoardConfig.mk This patch provides the generic configuration as an example. This configuration provides the same user experience as the default policy engine. Change-Id: Ic8217333ae370b89bfdd2ad11320c5f14ea4da34 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
ndroid.mk
xample/Android.mk
xample/ParameterFrameworkConfigurationPolicy.xml
xample/README.md
xample/Settings/device_for_input_source.pfw
xample/Settings/device_for_strategy_accessibility.pfw
xample/Settings/device_for_strategy_dtmf.pfw
xample/Settings/device_for_strategy_enforced_audible.pfw
xample/Settings/device_for_strategy_media.pfw
xample/Settings/device_for_strategy_phone.pfw
xample/Settings/device_for_strategy_rerouting.pfw
xample/Settings/device_for_strategy_sonification.pfw
xample/Settings/device_for_strategy_sonification_respectful.pfw
xample/Settings/device_for_strategy_transmitted_through_speaker.pfw
xample/Settings/strategy_for_stream.pfw
xample/Settings/strategy_for_usage.pfw
xample/Settings/volumes.pfw
xample/Structure/PolicyClass.xml
xample/Structure/PolicySubsystem-CommonTypes.xml
xample/Structure/PolicySubsystem-Volume.xml
xample/Structure/PolicySubsystem.xml
xample/policy_criteria.txt
lugin/Android.mk
lugin/InputSource.cpp
lugin/InputSource.h
lugin/PolicyMappingKeys.h
lugin/PolicySubsystem.cpp
lugin/PolicySubsystem.h
lugin/PolicySubsystemBuilder.cpp
lugin/Strategy.cpp
lugin/Strategy.h
lugin/Stream.cpp
lugin/Stream.h
lugin/Usage.cpp
lugin/Usage.h
lugin/VolumeProfile.cpp
lugin/VolumeProfile.h
|