Home
last modified time | relevance | path

Searched refs:mRule (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java36 private AudioMixingRule mRule; field in AudioMix
54 mRule = rule; in AudioMix()
147 return mRule; in getRule()
167 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode()
182 private AudioMixingRule mRule = null; field in AudioMix.Builder
207 mRule = rule; in Builder()
222 mRule = rule; in setMixingRule()
326 if (mRule == null) { in build()
353 if (mRule.getTargetMixType() != AudioMix.MIX_TYPE_PLAYERS) { in build()
362 if (mRule.getTargetMixType() == MIX_TYPE_PLAYERS) { in build()
[all …]
DAudioMixingRule.java97 final int mRule; field in AudioMixingRule.AudioMixMatchCriterion
103 mRule = rule; in AudioMixMatchCriterion()
109 mRule = rule; in AudioMixMatchCriterion()
114 return Objects.hash(mAttr, mIntProp, mRule); in hashCode()
118 dest.writeInt(mRule); in writeToParcel()
119 final int match_rule = mRule & ~RULE_EXCLUSION_MASK; in writeToParcel()
389 if (criterion.mRule == rule) { in addRuleInternal()
403 if (criterion.mRule == rule) { in addRuleInternal()
417 if (criterion.mRule == rule) { in addRuleInternal()
DAudioPolicyConfig.java162 switch(criterion.mRule) { in toLogFriendlyString()
/frameworks/av/media/libmedia/
DAudioPolicy.cpp30 : mRule(rule) in AudioMixMatchCriterion()
32 if (mRule == RULE_MATCH_ATTRIBUTE_USAGE || in AudioMixMatchCriterion()
33 mRule == RULE_EXCLUDE_ATTRIBUTE_USAGE) { in AudioMixMatchCriterion()
42 mRule = parcel->readInt32(); in readFromParcel()
43 if (mRule == RULE_MATCH_ATTRIBUTE_USAGE || in readFromParcel()
44 mRule == RULE_EXCLUDE_ATTRIBUTE_USAGE) { in readFromParcel()
54 parcel->writeInt32(mRule); in writeToParcel()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp145 switch (mix->mCriteria[j].mRule) { in getOutputForAttr()
242 if ((RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource()
244 (RULE_EXCLUDE_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource()
/frameworks/av/include/media/
DAudioPolicy.h72 uint32_t mRule; variable
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp110 jfieldID mRule; member
137 jfieldID mRule; member
1636 jobject jRule = env->GetObjectField(jAudioMix, gAudioMixFields.mRule); in convertAudioMixToNative()
1653 nCriterion.mRule = env->GetIntField(jCriterion, gAudioMixMatchCriterionFields.mRule); in convertAudioMixToNative()
1655 const uint32_t match_rule = nCriterion.mRule & ~RULE_EXCLUSION_MASK; in convertAudioMixToNative()
1908 gAudioMixFields.mRule = GetFieldIDOrDie(env, audioMixClass, "mRule", in register_android_media_AudioSystem()
1937 gAudioMixMatchCriterionFields.mRule = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mRule", in register_android_media_AudioSystem()