5ac8cd425e1a0c4287c0bb84f922fef4fa106411 |
|
25-Mar-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
RENDER dynamic policies: fix address check Fix mix / output address comparison when registering dynamic policy mixes with a MIX_ROUTE_FLAG_RENDER flag. Fix mix registration code path where the matching output is not found, but no error is reported. Improve logs. Bug 25448664 Change-Id: I3679aead00304b38f7cc42dd9083644450771a15
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|
7638ca29e8400a19524adb982e9d22c02786de82 |
|
05-Mar-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Dynamic policies: support for device selection Dynamic policy mix: rename "registration" field to device address as this reflects the true use of the field. AudioPolicyManager: dynamic policy registration differs depending on policy routing flags. When register a mix with the RENDER flag, iterate over all outputs' patches to find a matching device and address. Bug 25448664 Change-Id: I71584081e7f1b2b5252fb6c4659fdeb464f7d282
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|
e8decedb429ed76dfa84cdb3e80ab3b969e77298 |
|
11-Feb-2016 |
Jean-Michel Trivi <jmtrivi@google.com> |
Dynamic audio policies on UID When looking for an output, take attributes and UID into account. To find the matching mix: for each mix - inspect which rules are used - find a candidate mix for usage - check UID compatibility Rename AttributeMatchCriterion to AudioMixMatchCriterion to be consistent with the fact that now mixing rules are not always about audio attributes. Bug 26798796 Change-Id: I1520b0df190a98f197ea8e0144b770e1e6d97888
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|
8c7e6dac6f5eb38cef627dab92eac8b38513450c |
|
22-Apr-2015 |
Eric Laurent <elaurent@google.com> |
audio policy: session routes continued. - Clear session routes when client process dies. - Enforce the route only when the requesting session is active. - Fix requested route not working if an output mix change is required (e.g forcing to SPEAKER when the default route is USB or A2DP). - Make sure all sessions sharing the strategy with a rerouted session have the same route (needed for volume control consistency) Change-Id: I0ab347a8fb97e73e2c5965374544c5f4fe509ef1
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|
b6347ac62b36b4d9578d181ba83bf8e6446298e8 |
|
09-Apr-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
Merge "Fix AudioPolicyManager dynamic policy initialization"
|
dacc06f5e8d00ace9d16a149fc41ff65323ffbb3 |
|
09-Apr-2015 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix AudioPolicyManager dynamic policy initialization AudioPolicyManager::getInputForAttr() is initializing the AudioMix for the new AudioInputDescriptor. The audio policy manager refactoring introduced a regression where the association of an existing AudioMix (registered when the associated AudioPolicy was registered) with the input descriptor copied a value of local scope, instead of referencing the AudioMix in the list of mixes. Bug 20081375 Change-Id: Iddd57fed8525880afd1d4a5493f97130aabe4816
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|
c75307b73d324d590d0dbc05b44bce9aa89b7145 |
|
17-Mar-2015 |
Eric Laurent <elaurent@google.com> |
audio policy: volume control reorganization Output volume and routing control by AudioOutputDescriptor is reorganized to prepare hardware source volume and routing control. AudioOutputDescriptor contains all volume, device and activity state common to software (audio flinger mixers) and hardware sources (tuners, A2DP, HDMI). A new class SwAudioOutputDescriptor is derived from AudioOutputDescriptor and is specific to software sources. Low level routing and volume control methods receive an AudioOutputDescriptor parameter instead of an IO handle. mPrimaryOutput is now an AudioOutputDescriptor. Change-Id: Ie90943ee3102cdb8adf89fdd2addd2c279b1e5bf
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|
036e1e9126dcd496203434aa69e52115d8e730cc |
|
19-Mar-2015 |
François Gaffie <francois.gaffie@intel.com> |
Add AudioMix and AudioMixCollection to common policy element This patch adds AudioMix and associated collection to the common policy pillar elements library. It removes the code from the manager and creates also helpers function associated to the mix collection. Change-Id: Ia3536fdef09da13734d2895030d736c701040237 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/AudioPolicyMix.cpp
|