Searched refs:policyMix (Results 1 – 6 of 6) sorted by relevance
208 sp<AudioPolicyMix> policyMix = sp<AudioPolicyMix>::make(mix); in registerMix() local209 add(policyMix); in registerMix()211 policyMix->mDeviceType, policyMix->mDeviceAddress.c_str()); in registerMix()214 desc->mPolicyMix = policyMix; in registerMix()215 policyMix->setOutput(desc); in registerMix()273 const String8& address, sp<AudioPolicyMix> &policyMix) const in getAudioPolicyMix()281 policyMix = itemAt(i); in getAudioPolicyMix()297 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput() local298 if (policyMix->getOutput() != desc) { in closeOutput()301 policyMix->clearOutput(); in closeOutput()[all …]
335 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local337 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()339 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()343 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) in setClientActive()345 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
119 sp<AudioPolicyMix> policyMix = mPolicyMix.promote(); in setClientActive() local120 if ((policyMix != NULL) && ((policyMix->mCbFlags & AudioMix::kCbFlagNotifyActivity) != 0)) { in setClientActive()122 mClientInterface->onDynamicPolicyMixStateUpdate(policyMix->mDeviceAddress, in setClientActive()
56 const String8& address, sp<AudioPolicyMix> &policyMix) const;103 sp<AudioPolicyMix> *policyMix) const;115 status_t getInputMixForAttr(audio_attributes_t attr, sp<AudioPolicyMix> *policyMix);
285 sp<AudioPolicyMix> policyMix = desc->mPolicyMix.promote(); in setDeviceConnectionStateInt() local286 if (policyMix != nullptr in setDeviceConnectionStateInt()287 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()288 && device->address() == policyMix->mDeviceAddress.c_str()) { in setDeviceConnectionStateInt()2400 sp<AudioPolicyMix> policyMix = outputDesc->mPolicyMix.promote(); in startSource() local2402 if (policyMix != nullptr) { in startSource()2404 address = policyMix->mDeviceAddress.c_str(); in startSource()2405 if ((policyMix->mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in startSource()2408 newDeviceType = policyMix->mDeviceType; in startSource()2559 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()[all …]
1222 const sp<AudioPolicyMix> &policyMix);