Searched refs:policyMix (Results 1 – 6 of 6) sorted by relevance
92 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix() local93 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() local147 if (policyMix->getOutput() == desc) { in closeOutput()148 policyMix->clearOutput(); in closeOutput()[all …]
334 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local336 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()
118 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local119 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in setClientActive()121 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
56 const String8& address, sp<AudioPolicyMix> &policyMix) const;82 sp<AudioPolicyMix> *policyMix) const;94 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix);
276 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local277 if (policyMix != nullptr in setDeviceConnectionStateInt()278 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()279 && device->address() == policyMix->mDeviceAddress.string()) { in setDeviceConnectionStateInt()2062 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local2064 if (policyMix != nullptr) { in startSource()2066 address = policyMix->mDeviceAddress.string(); in startSource()2067 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()2070 newDeviceType = policyMix->mDeviceType; in startSource()2202 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()[all …]
1152 const sp<AudioPolicyMix> &policyMix);