Searched refs:mRule (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 40 private AudioMixingRule mRule; field in AudioMix 64 mRule = rule; in AudioMix() 173 return mRule; in getRule() 192 return mRule.isAffectingUsage(usage); in isAffectingUsage() 242 && (this.mRule == that.mRule) in equals() 250 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode() 263 private AudioMixingRule mRule = null; field in AudioMix.Builder 287 mRule = rule; in Builder() 302 mRule = rule; in setMixingRule() 402 if (mRule == null) { in build() [all …]
|
D | AudioMixingRule.java | 104 final int mRule; field in AudioMixingRule.AudioMixMatchCriterion 110 mRule = rule; in AudioMixMatchCriterion() 116 mRule = rule; in AudioMixMatchCriterion() 121 return Objects.hash(mAttr, mIntProp, mRule); in hashCode() 125 dest.writeInt(mRule); in writeToParcel() 126 final int match_rule = mRule & ~RULE_EXCLUSION_MASK; in writeToParcel() 146 public int getRule() { return mRule; } in getRule() 151 if ((criterion.mRule & RULE_MATCH_ATTRIBUTE_USAGE) != 0 in isAffectingUsage() 452 if ((criterion.mRule & ~RULE_EXCLUSION_MASK) != match_rule) { in addRuleInternal() 459 if (criterion.mRule == rule) { in addRuleInternal() [all …]
|
D | AudioPolicyConfig.java | 175 switch(criterion.mRule) { in toLogFriendlyString()
|
/frameworks/av/media/libaudioclient/ |
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 switch (mRule) { in readFromParcel() 57 ALOGE("Trying to build AudioMixMatchCriterion from unknown rule %d", mRule); in readFromParcel() 65 parcel->writeInt32(mRule); in writeToParcel() 134 crit.mRule = RULE_EXCLUDE_UID; in setExcludeUid() 141 crit.mRule = RULE_MATCH_UID; in setMatchUid() 149 if (mCriteria[i].mRule == rule in hasUidRule() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | DexmakerShareClassLoaderRuleTest.java | 40 private final DexmakerShareClassLoaderRule mRule = new DexmakerShareClassLoaderRule(); field in DexmakerShareClassLoaderRuleTest 49 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_setsProperty() 54 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_resetsProperty() 61 mRule.apply(ASSERT_STATEMENT, null).evaluate(); in rule_resetsProperty_toExactValue() 67 mRule.apply(new Statement() { in rule_preventsOtherThreadFromInterfering() 96 mRule.apply(new Statement() { in rule_isReentrant()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 52 bool unknownRule = !RuleTypeConverter::toString(criterion.mRule, ruleType); in dump() 53 switch (criterion.mRule & ~RULE_EXCLUSION_MASK) { // no need to match RULE_EXCLUDE_... in dump() 70 dst->appendFormat("Unknown rule type value 0x%x\n", criterion.mRule); in dump() 256 switch (mix->mCriteria[j].mRule) { in mixMatch() 365 if ((RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 367 (RULE_EXCLUDE_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 489 const uint32_t rule = mix->mCriteria[j].mRule; in removeUidDeviceAffinities() 517 const uint32_t rule = mix->mCriteria[j].mRule; in getDevicesForUid()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 77 uint32_t mRule; variable
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 129 jfieldID mRule; member 157 jfieldID mRule; member 1881 jobject jRule = env->GetObjectField(jAudioMix, gAudioMixFields.mRule); in convertAudioMixToNative() 1900 nCriterion.mRule = env->GetIntField(jCriterion, gAudioMixMatchCriterionFields.mRule); in convertAudioMixToNative() 1902 const uint32_t match_rule = nCriterion.mRule & ~RULE_EXCLUSION_MASK; in convertAudioMixToNative() 2480 gAudioMixFields.mRule = GetFieldIDOrDie(env, audioMixClass, "mRule", in register_android_media_AudioSystem() 2511 gAudioMixMatchCriterionFields.mRule = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mRule", in register_android_media_AudioSystem()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 34553 Landroid/media/audiopolicy/AudioMix$Builder;->mRule:Landroid/media/audiopolicy/AudioMixingRule;
|