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.cpp92 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local
93 add(policyMix); in registerMix()
95 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()
98 desc->mPolicyMix = policyMix; in registerMix()
99 policyMix->setOutput(desc); in registerMix()
123 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()
131 policyMix = itemAt(i); in getAudioPolicyMix()
146 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local
147 if (policyMix->getOutput() == desc) { in closeOutput()
148 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.cpp229 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local
230 if (policyMix != nullptr in setDeviceConnectionStateInt()
231 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()
232 && device->address() == policyMix->mDeviceAddress.string()) { in setDeviceConnectionStateInt()
1666 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local
1668 if (policyMix != nullptr) { in startSource()
1670 address = policyMix->mDeviceAddress.string(); in startSource()
1671 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()
1674 newDeviceType = policyMix->mDeviceType; in startSource()
1801 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()
[all …]
DAudioPolicyManager.h878 const sp<AudioPolicyMix> &policyMix);