Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java34 private AudioMixingRule mRule; field in AudioMix
44 mRule = rule; in AudioMix()
90 return mRule; in getRule()
110 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode()
125 private AudioMixingRule mRule = null; field in AudioMix.Builder
146 mRule = rule; in Builder()
161 mRule = rule; in setMixingRule()
209 if (mRule == null) { in build()
223 return new AudioMix(mRule, mFormat, mRouteFlags); in build()
DAudioMixingRule.java76 int mRule; field in AudioMixingRule.AttributeMatchCriterion
81 mRule = rule; in AttributeMatchCriterion()
86 return Objects.hash(mAttr, mRule); in hashCode()
90 dest.writeInt(mRule); in writeToParcel()
91 if ((mRule == RULE_MATCH_ATTRIBUTE_USAGE) || (mRule == RULE_EXCLUDE_ATTRIBUTE_USAGE)) { in writeToParcel()
240 if (criterion.mRule == rule) { in addRuleInt()
253 if (criterion.mRule == rule) { in addRuleInt()
DAudioPolicyConfig.java151 switch(criterion.mRule) { in toLogFriendlyString()
/frameworks/av/media/libmedia/
DAudioPolicy.cpp30 : mRule(rule) in AttributeMatchCriterion()
32 if (mRule == RULE_MATCH_ATTRIBUTE_USAGE || in AttributeMatchCriterion()
33 mRule == RULE_EXCLUDE_ATTRIBUTE_USAGE) { in AttributeMatchCriterion()
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/include/media/
DAudioPolicy.h59 uint32_t mRule; variable
/frameworks/base/core/java/android/animation/
DAnimatorSet.java731 private int mRule; field in AnimatorSet.DependencyListener
736 this.mRule = rule; in DependencyListener()
751 if (mRule == Dependency.AFTER) { in onAnimationEnd()
766 if (mRule == Dependency.WITH) { in onAnimationStart()
786 if (dependency.rule == mRule && in startIfReady()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp109 jfieldID mRule; member
133 jfieldID mRule; member
1389 jobject jRule = env->GetObjectField(jAudioMix, gAudioMixFields.mRule); in convertAudioMixToNative()
1406 nCriterion.mRule = env->GetIntField(jCriterion, gAttributeMatchCriterionFields.mRule); in convertAudioMixToNative()
1409 if (nCriterion.mRule == RULE_MATCH_ATTRIBUTE_USAGE || in convertAudioMixToNative()
1410 nCriterion.mRule == RULE_EXCLUDE_ATTRIBUTE_USAGE) { in convertAudioMixToNative()
1631 gAudioMixFields.mRule = env->GetFieldID(audioMixClass, "mRule", in register_android_media_AudioSystem()
1656 gAttributeMatchCriterionFields.mRule = env->GetFieldID(attributeMatchCriterionClass, "mRule", in register_android_media_AudioSystem()
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp918 if ((RULE_MATCH_ATTRIBUTE_USAGE == mPolicyMixes[i]->mMix.mCriteria[j].mRule && in getOutputForAttr()
920 (RULE_EXCLUDE_ATTRIBUTE_USAGE == mPolicyMixes[i]->mMix.mCriteria[j].mRule && in getOutputForAttr()
5173 if ((RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET == mPolicyMixes[i]->mMix.mCriteria[j].mRule && in getDeviceAndMixForInputSource()
5175 (RULE_EXCLUDE_ATTRIBUTE_CAPTURE_PRESET == mPolicyMixes[i]->mMix.mCriteria[j].mRule && in getDeviceAndMixForInputSource()