/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() 61 ALOGE("Trying to build AudioMixMatchCriterion from unknown rule %d", mRule); in readFromParcel() 69 parcel->writeInt32(mRule); in writeToParcel() 140 crit.mRule = RULE_EXCLUDE_UID; in setExcludeUid() 147 crit.mRule = RULE_MATCH_UID; in setMatchUid() 155 if (mCriteria[i].mRule == rule in hasUidRule() [all …]
|
D | PolicyAidlConversion.cpp | 209 aidl2legacy_AudioMixMatchCriterionValue(aidl.value, &legacy.mRule)); in aidl2legacy_AudioMixMatchCriterion() 211 legacy.mRule |= RULE_EXCLUSION_MASK; in aidl2legacy_AudioMixMatchCriterion() 219 uint32_t rule = legacy.mRule; in legacy2aidl_AudioMixMatchCriterion()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 39 private AudioMixingRule mRule; field in AudioMix 63 mRule = rule; in AudioMix() 172 return mRule; in getRule() 191 return mRule.isAffectingUsage(usage); in isAffectingUsage() 201 return mRule.containsMatchAttributeRuleForUsage(usage); in containsMatchAttributeRuleForUsage() 251 && (this.mRule == that.mRule) in equals() 259 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode() 272 private AudioMixingRule mRule = null; field in AudioMix.Builder 296 mRule = rule; in Builder() 311 mRule = rule; in setMixingRule() [all …]
|
D | AudioMixingRule.java | 118 final int mRule; field in AudioMixingRule.AudioMixMatchCriterion 124 mRule = rule; in AudioMixMatchCriterion() 130 mRule = rule; in AudioMixMatchCriterion() 135 return Objects.hash(mAttr, mIntProp, mRule); in hashCode() 139 dest.writeInt(mRule); in writeToParcel() 140 final int match_rule = mRule & ~RULE_EXCLUSION_MASK; in writeToParcel() 161 public int getRule() { return mRule; } in getRule() 166 if ((criterion.mRule & RULE_MATCH_ATTRIBUTE_USAGE) != 0 in isAffectingUsage() 183 if (criterion.mRule == RULE_MATCH_ATTRIBUTE_USAGE in containsMatchAttributeRuleForUsage() 562 if ((criterion.mRule & ~RULE_EXCLUSION_MASK) != match_rule) { in addRuleInternal() [all …]
|
D | AudioPolicyConfig.java | 187 switch(criterion.mRule) { in toLogFriendlyString()
|
/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 | 55 bool unknownRule = !RuleTypeConverter::toString(criterion.mRule, ruleType); in dump() 56 switch (criterion.mRule & ~RULE_EXCLUSION_MASK) { // no need to match RULE_EXCLUDE_... in dump() 76 dst->appendFormat("Unknown rule type value 0x%x\n", criterion.mRule); in dump() 268 switch (mix->mCriteria[j].mRule) { in mixMatch() 403 if ((RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 405 (RULE_EXCLUDE_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 407 (RULE_MATCH_UID == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 409 (RULE_EXCLUDE_UID == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 531 const uint32_t rule = mix->mCriteria[j].mRule; in removeUidDeviceAffinities() 559 const uint32_t rule = mix->mCriteria[j].mRule; in getDevicesForUid() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | FrameTrackerTest.java | 69 public ActivityTestRule<ViewAttachTestActivity> mRule = field in FrameTrackerTest 84 mActivity = mRule.getActivity(); in setup() 88 Handler handler = mRule.getActivity().getMainThreadHandler(); in setup()
|
D | InteractionJankMonitorTest.java | 71 public ActivityTestRule<ViewAttachTestActivity> mRule = field in InteractionJankMonitorTest 77 mActivity = mRule.getActivity(); in setup()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 81 uint32_t mRule; variable
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipperControllerTest.java | 53 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardSecurityViewFlipperControllerTest
|
D | KeyguardSecurityContainerControllerTest.java | 63 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardSecurityContainerControllerTest
|
D | KeyguardSecurityContainerTest.java | 66 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardSecurityContainerTest
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 134 jfieldID mRule; member 163 jfieldID mRule; member 2054 jobject jRule = env->GetObjectField(jAudioMix, gAudioMixFields.mRule); in convertAudioMixToNative() 2075 nCriterion.mRule = env->GetIntField(jCriterion, gAudioMixMatchCriterionFields.mRule); in convertAudioMixToNative() 2077 const uint32_t match_rule = nCriterion.mRule & ~RULE_EXCLUSION_MASK; in convertAudioMixToNative() 2995 gAudioMixFields.mRule = GetFieldIDOrDie(env, audioMixClass, "mRule", in register_android_media_AudioSystem() 3029 gAudioMixMatchCriterionFields.mRule = GetFieldIDOrDie(env, audioMixMatchCriterionClass, "mRule", in register_android_media_AudioSystem()
|
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/ |
D | LambdaPerfTest.java | 81 public final TestRule mRule = (base, description) -> new Statement() { field in LambdaPerfTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBouncerTest.java | 103 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardBouncerTest
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 27302 Landroid/media/audiopolicy/AudioMix$Builder;->mRule:Landroid/media/audiopolicy/AudioMixingRule;
|