Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java46 private int mMixType = MIX_TYPE_INVALID; field in AudioMix
67 mMixType = rule.getTargetMixType(); in AudioMix()
178 return mMixType; in getMixType()
243 && (this.mMixType == that.mMixType) in equals()
250 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp33 if (!MixTypeConverter::toString(mMixType, mixTypeLiteral)) { in dump()
34 ALOGE("%s: failed to convert mix type %d", __FUNCTION__, mMixType); in dump()
210 if (mix->mMixType == MIX_TYPE_PLAYERS) { in mixMatch()
325 } else if (mix->mMixType == MIX_TYPE_RECORDERS) { in mixMatch()
361 if (mix->mMixType != MIX_TYPE_RECORDERS) { in getDeviceAndMixForInputSource()
419 if (audioPolicyMix->mMixType != MIX_TYPE_PLAYERS) { in getInputMixForAttr()
513 if (mix->mMixType != MIX_TYPE_PLAYERS) { in getDevicesForUid()
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp76 mMixType = parcel->readInt32(); in readFromParcel()
100 parcel->writeInt32(mMixType); in writeToParcel()
167 return ((mMixType == MIX_TYPE_PLAYERS) in isDeviceAffinityCompatible()
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h89 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
105 uint32_t mMixType; variable
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp134 jfieldID mMixType; member
1858 nAudioMix->mMixType = env->GetIntField(jAudioMix, gAudioMixFields.mMixType); in convertAudioMixToNative()
2488 gAudioMixFields.mMixType = GetFieldIDOrDie(env, audioMixClass, "mMixType", "I"); in register_android_media_AudioSystem()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp230 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()
1748 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()
1798 policyMix->mMixType == MIX_TYPE_RECORDERS) { in stopSource()
2024 ALOG_ASSERT(policyMix->mMixType == MIX_TYPE_RECORDERS, "Invalid Mix Type"); in getInputForAttr()
2263 } else if (policyMix->mMixType == MIX_TYPE_PLAYERS) { in startInput()
2320 } else if (policyMix->mMixType == MIX_TYPE_PLAYERS) { in stopInput()
2846 if (is_mix_loopback_render(mix.mRouteFlags) && mix.mMixType != MIX_TYPE_PLAYERS) { in registerPolicyMixes()
2871 if (mix.mMixType == MIX_TYPE_PLAYERS) { in registerPolicyMixes()