Home
last modified time | relevance | path

Searched refs:policyMix (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp86 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local
87 add(policyMix); in registerMix()
89 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()
92 desc->mPolicyMix = policyMix; in registerMix()
93 policyMix->setOutput(desc); in registerMix()
117 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()
125 policyMix = itemAt(i); in getAudioPolicyMix()
140 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local
141 if (policyMix->getOutput() == desc) { in closeOutput()
142 policyMix->clearOutput(); in closeOutput()
[all …]
DAudioInputDescriptor.cpp334 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local
336 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()
338 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
342 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()
344 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
DAudioOutputDescriptor.cpp116 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local
117 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in setClientActive()
119 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h56 const String8& address, sp<AudioPolicyMix> &policyMix) const;
80 sp<AudioPolicyMix> *policyMix) const;
92 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp228 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local
229 if (policyMix != nullptr in setDeviceConnectionStateInt()
230 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()
231 && device->address() == policyMix->mDeviceAddress.string()) { in setDeviceConnectionStateInt()
1613 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local
1615 if (policyMix != NULL) { in startSource()
1617 address = policyMix->mDeviceAddress.string(); in startSource()
1618 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()
1621 newDeviceType = policyMix->mDeviceType; in startSource()
1748 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()
[all …]
DAudioPolicyManager.h855 const sp<AudioPolicyMix> &policyMix);