/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 | 200 aidl2legacy_AudioMixMatchCriterionValue(aidl.value, &legacy.mRule)); in aidl2legacy_AudioMixMatchCriterion() 202 legacy.mRule |= RULE_EXCLUSION_MASK; in aidl2legacy_AudioMixMatchCriterion() 210 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() 245 return mRule.isForCallRedirection(); in isForCallRedirection() 256 && (this.mRule == that.mRule) in equals() 264 return Objects.hash(mRouteFlags, mRule, mMixType, mFormat); in hashCode() 277 private AudioMixingRule mRule = null; field in AudioMix.Builder 301 mRule = rule; in Builder() [all …]
|
D | AudioMixingRule.java | 123 final int mRule; field in AudioMixingRule.AudioMixMatchCriterion 129 mRule = rule; in AudioMixMatchCriterion() 135 mRule = rule; in AudioMixMatchCriterion() 140 return Objects.hash(mAttr, mIntProp, mRule); in hashCode() 144 dest.writeInt(mRule); in writeToParcel() 145 final int match_rule = mRule & ~RULE_EXCLUSION_MASK; in writeToParcel() 164 public int getRule() { return mRule; } in getRule() 169 if ((criterion.mRule & RULE_MATCH_ATTRIBUTE_USAGE) != 0 in isAffectingUsage() 186 if (criterion.mRule == RULE_MATCH_ATTRIBUTE_USAGE in containsMatchAttributeRuleForUsage() 268 && ((criterion.mRule == RULE_MATCH_ATTRIBUTE_USAGE in isForCallRedirection() [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() 278 switch (mix->mCriteria[j].mRule) { in mixMatch() 413 if ((RULE_MATCH_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 415 (RULE_EXCLUDE_ATTRIBUTE_CAPTURE_PRESET == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 417 (RULE_MATCH_UID == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 419 (RULE_EXCLUDE_UID == mix->mCriteria[j].mRule && in getDeviceAndMixForInputSource() 541 const uint32_t rule = mix->mCriteria[j].mRule; in removeUidDeviceAffinities() 569 const uint32_t rule = mix->mCriteria[j].mRule; in getDevicesForUid() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioPolicy.h | 81 uint32_t mRule; variable
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | FrameTrackerTest.java | 76 public ActivityTestRule<ViewAttachTestActivity> mRule = field in FrameTrackerTest 92 mActivity = mRule.getActivity(); in setup() 121 Handler handler = mRule.getActivity().getMainThreadHandler(); in spyFrameTracker() 127 View view = mRule.getActivity().getWindow().getDecorView(); in spyFrameTracker()
|
D | InteractionJankMonitorTest.java | 104 public ActivityTestRule<ViewAttachTestActivity> mRule = field in InteractionJankMonitorTest 157 mActivity = mRule.getActivity(); in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipperControllerTest.java | 55 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardSecurityViewFlipperControllerTest
|
D | KeyguardSecurityContainerTest.java | 86 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardSecurityContainerTest
|
D | KeyguardSecurityContainerControllerTest.java | 97 public MockitoRule mRule = MockitoJUnit.rule(); field in KeyguardSecurityContainerControllerTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | HotspotTileTest.java | 62 public MockitoRule mRule = MockitoJUnit.rule(); field in HotspotTileTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
D | WifiStateWorkerTest.java | 60 public MockitoRule mRule = MockitoJUnit.rule(); field in WifiStateWorkerTest
|
D | InternetAdapterTest.java | 56 public MockitoRule mRule = MockitoJUnit.rule(); field in InternetAdapterTest
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 138 jfieldID mRule; member 167 jfieldID mRule; member 2130 jobject jRule = env->GetObjectField(jAudioMix, gAudioMixFields.mRule); in convertAudioMixToNative() 2151 nCriterion.mRule = env->GetIntField(jCriterion, gAudioMixMatchCriterionFields.mRule); in convertAudioMixToNative() 2153 const uint32_t match_rule = nCriterion.mRule & ~RULE_EXCLUSION_MASK; in convertAudioMixToNative() 3257 gAudioMixFields.mRule = GetFieldIDOrDie(env, audioMixClass, "mRule", in register_android_media_AudioSystem() 3291 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/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 24424 Landroid/media/audiopolicy/AudioMix$Builder;->mRule:Landroid/media/audiopolicy/AudioMixingRule;
|