Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java56 private int mMixType = MIX_TYPE_INVALID; field in AudioMix
87 mMixType = rule.getTargetMixType(); in AudioMix()
200 return mMixType; in getMixType()
297 && Objects.equals(this.mMixType, that.mMixType) in equals()
306 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat, mToken); in hashCode()
308 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode()
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h102 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
125 uint32_t mMixType; variable
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp88 mMixType = parcel->readInt32(); in readFromParcel()
114 parcel->writeInt32(mMixType); in writeToParcel()
217 return ((mMixType == MIX_TYPE_PLAYERS) in isDeviceAffinityCompatible()
DPolicyAidlConversion.cpp233 legacy.mMixType = VALUE_OR_RETURN(aidl2legacy_AudioMixType_uint32_t(aidl.mixType)); in aidl2legacy_AudioMix()
257 aidl.mixType = VALUE_OR_RETURN(legacy2aidl_uint32_t_AudioMixType(legacy.mMixType)); in legacy2aidl_AudioMix()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp133 if (!MixTypeConverter::toString(mMixType, mixTypeLiteral)) { in dump()
134 ALOGE("%s: failed to convert mix type %d", __FUNCTION__, mMixType); in dump()
428 if (mix->mMixType == MIX_TYPE_PLAYERS) { in mixMatch()
468 } else if (mix->mMixType == MIX_TYPE_RECORDERS) { in mixMatch()
499 if (mix->mMixType != MIX_TYPE_RECORDERS) { in getDeviceAndMixForInputSource()
550 if (audioPolicyMix->mMixType != MIX_TYPE_PLAYERS) { in getInputMixForAttr()
633 if (mix->mMixType != MIX_TYPE_PLAYERS) { in getDevicesForUid()
730 if (mix->mMixType != MIX_TYPE_PLAYERS) { in getDevicesForUserId()
/frameworks/av/media/libaudioclient/tests/
Daudioclient_serialization_tests.cpp225 EXPECT_EQ(amCopy.mMixType, am.mMixType) << msg; in TEST_F()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp161 jfieldID mMixType; member
2301 nAudioMix.mMixType, jAudioMixMatchCriterionList, in nativeAudioMixToJavaAudioMixingRule()
2334 nAudioMix->mMixType = env->GetIntField(jAudioMix, gAudioMixFields.mMixType); in convertAudioMixToNative()
3705 gAudioMixFields.mMixType = GetFieldIDOrDie(env, audioMixClass, "mMixType", "I"); in register_android_media_AudioSystem()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp287 && policyMix->mMixType == MIX_TYPE_RECORDERS in setDeviceConnectionStateInt()
2559 policyMix != NULL && policyMix->mMixType == MIX_TYPE_RECORDERS) { in startSource()
2675 policyMix->mMixType == MIX_TYPE_RECORDERS) { in stopSource()
2946 ALOG_ASSERT(policyMix->mMixType == MIX_TYPE_RECORDERS, "Invalid Mix Type"); in getInputForAttr()
3218 } else if (policyMix->mMixType == MIX_TYPE_PLAYERS) { in startInput()
3277 } else if (policyMix->mMixType == MIX_TYPE_PLAYERS) { in stopInput()
3845 if (is_mix_loopback_render(mix.mRouteFlags) && mix.mMixType != MIX_TYPE_PLAYERS) { in registerPolicyMixes()
3870 if (mix.mMixType == MIX_TYPE_PLAYERS) { in registerPolicyMixes()
4057 _aidl_return.emplace_back(policyMix->mCriteria, policyMix->mMixType, in getRegisteredPolicyMixes()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1591 EXPECT_EQ(mix.mMixType, MIX_TYPE_PLAYERS); in TEST_F_WITH_FLAGS()