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.cpp87 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local
88 add(policyMix); in registerMix()
90 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()
93 desc->mPolicyMix = policyMix; in registerMix()
94 policyMix->setOutput(desc); in registerMix()
118 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()
126 policyMix = itemAt(i); in getAudioPolicyMix()
141 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local
142 if (policyMix->getOutput() == desc) { in closeOutput()
143 policyMix->clearOutput(); in closeOutput()
[all …]
DAudioInputDescriptor.cpp322 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local
324 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()
326 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
330 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()
332 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.h55 const String8& address, sp<AudioPolicyMix> &policyMix) const;
79 sp<AudioPolicyMix> *policyMix) const;
91 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp208 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local
209 if (policyMix != nullptr in setDeviceConnectionStateInt()
210 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()
212 policyMix->mDeviceAddress.string(), in setDeviceConnectionStateInt()
1631 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local
1633 if (policyMix != NULL) { in startSource()
1635 address = policyMix->mDeviceAddress.string(); in startSource()
1636 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()
1639 newDeviceType = policyMix->mDeviceType; in startSource()
1764 if (audio_is_remote_submix_device(devices.types()) && policyMix != NULL && in startSource()
[all …]
DAudioPolicyManager.h837 const sp<AudioPolicyMix> &policyMix);