Searched refs:mRule (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 36 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 …]
|
D | AudioMixingRule.java | 97 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()
|
D | AudioPolicyConfig.java | 162 switch(criterion.mRule) { in toLogFriendlyString()
|
/frameworks/av/media/libmedia/ |
D | AudioPolicy.cpp | 30 : 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/ |
D | AudioPolicyMix.cpp | 145 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/ |
D | AudioPolicy.h | 72 uint32_t mRule; variable
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 110 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()
|