/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMixingRule.java | 107 AudioMixMatchCriterion(AudioAttributes attributes, int rule) { in AudioMixMatchCriterion() 113 AudioMixMatchCriterion(Integer intProp, int rule) { in AudioMixMatchCriterion() 200 private static boolean isValidSystemApiRule(int rule) { in isValidSystemApiRule() 211 private static boolean isValidAttributesSystemApiRule(int rule) { in isValidAttributesSystemApiRule() 222 private static boolean isValidRule(int rule) { in isValidRule() 234 private static boolean isPlayerRule(int rule) { in isPlayerRule() 280 public Builder addRule(AudioAttributes attrToMatch, int rule) in addRule() 308 public Builder excludeRule(AudioAttributes attrToMatch, int rule) in excludeRule() 329 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule() 358 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { in excludeMixRule() [all …]
|
D | AudioMix.java | 62 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix() 282 public Builder(AudioMixingRule rule) in Builder() 297 Builder setMixingRule(AudioMixingRule rule) in setMixingRule()
|
/frameworks/base/tools/split-select/ |
D | TestRules.cpp | 28 Rule rule; in EqRule() local 36 Rule rule; in GtRule() local 44 Rule rule; in LtRule() local 52 Rule rule; in ContainsAnyRule() local 60 Rule rule; in ContainsAnyRule() local 69 Rule rule; in AlwaysTrue() local
|
D | Rule_test.cpp | 33 Rule rule(AndRule() in TEST() local 78 sp<Rule> rule = new Rule(AndRule() in TEST() local 86 sp<Rule> rule = new Rule(AndRule() in TEST() local
|
D | SplitSelector_test.cpp | 59 sp<Rule> rule = rules[idx]; in TEST() local
|
D | Rule.cpp | 177 sp<Rule> Rule::simplify(sp<Rule> rule) { in simplify()
|
D | SplitSelector.cpp | 76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j)); in getRules() local
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | IntentFirewall.java | 163 Rule rule = candidateRules.get(i); in checkIntent() local 336 Rule rule = new Rule(); in readRules() local 373 Rule rule = rules.get(ruleIndex); in readRules() local 378 resolver.addComponentFilter(rule.getComponentFilter(i), rule); in readRules() local 487 private final Rule rule; field in IntentFirewall.FirewallIntentFilter 489 public FirewallIntentFilter(Rule rule) { in FirewallIntentFilter() 529 public void addComponentFilter(ComponentName componentName, Rule rule) { in addComponentFilter()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 279 ZenRule rule; in getAutomaticZenRule() local 323 ZenRule rule = new ZenRule(); in addAutomaticZenRule() local 344 ZenModeConfig.ZenRule rule; in updateAutomaticZenRule() local 364 ZenRule rule = newConfig.automaticRules.get(id); in removeAutomaticZenRule() local 383 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in removeAutomaticZenRules() local 414 private void setAutomaticZenRuleStateLocked(ZenModeConfig config, ZenRule rule, in setAutomaticZenRuleStateLocked() 436 private boolean ruleMatches(Uri id, Condition condition, ZenRule rule) { in ruleMatches() 443 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing() 467 public boolean canManageAutomaticZenRule(ZenRule rule) { in canManageAutomaticZenRule() 508 private boolean isSystemRule(AutomaticZenRule rule) { in isSystemRule() [all …]
|
D | ZenModeConditions.java | 123 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, ComponentName trigger, in evaluateRule() 175 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing()
|
/frameworks/base/tools/aapt2/java/ |
D | AnnotationProcessor.cpp | 71 for (const AnnotationRule& rule : sAnnotationRules) { in AppendCommentLine() local 129 for (const AnnotationRule& rule : sAnnotationRules) { in Print() local
|
/frameworks/av/media/libaudioclient/ |
D | AudioPolicy.cpp | 29 uint32_t rule) in AudioMixMatchCriterion() 147 const uint32_t rule = match ? RULE_MATCH_UID : RULE_EXCLUDE_UID; in hasUidRule() local
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 306 TetherOffloadRuleParcelMatcher(@NonNull Ipv6ForwardingRule rule) { in TetherOffloadRuleParcelMatcher() 330 private TetherOffloadRuleParcel matches(@NonNull Ipv6ForwardingRule rule) { in matches() 354 final Ipv6ForwardingRule rule = buildTestForwardingRule(mobileIfIndex, NEIGH_A, MAC_A); in testSetDataLimit() local 524 final Ipv6ForwardingRule rule = buildTestForwardingRule(ifIndex, neigh, mac); in testTetheringConfigDisable() local
|
/frameworks/base/tools/aapt2/link/ |
D | XmlCompatVersioner.cpp | 55 const ApiVersion& src_attr_version, const IDegradeRule* rule, in ProcessRule() 121 auto rule = rules_->find(attr_resid); in ProcessDoc() local
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | CloseGuardTest.java | 29 public final TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupManagerTest.java | 50 public MockitoRule rule = MockitoJUnit.rule(); field in NotificationGroupManagerTest
|
D | HeadsUpManagerPhoneTest.java | 51 @Rule public MockitoRule rule = MockitoJUnit.rule(); field in HeadsUpManagerPhoneTest
|
D | NotificationGroupAlertTransferHelperTest.java | 58 @Rule public MockitoRule rule = MockitoJUnit.rule(); field in NotificationGroupAlertTransferHelperTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ZenModeController.java | 49 default void onManualRuleChanged(ZenRule rule) {} in onManualRuleChanged()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 170 void uidFirewallRuleChanged(int chain, int uid, int rule) { in uidFirewallRuleChanged() 282 private static String getUidFirewallRuleChangedLog(int chain, int uid, int rule) { in getUidFirewallRuleChangedLog() 304 private static String getFirewallRuleName(int rule) { in getFirewallRuleName() 456 public void uidFirewallRuleChanged(int chain, int uid, int rule) { in uidFirewallRuleChanged()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeConfigTest.java | 159 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml() local
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 118 private int[] getIntPredicates(int rule, in getIntPredicates()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | AlertingNotificationManagerTest.java | 58 public MockitoRule rule = MockitoJUnit.rule(); field in AlertingNotificationManagerTest
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 489 const uint32_t rule = mix->mCriteria[j].mRule; in removeUidDeviceAffinities() local 517 const uint32_t rule = mix->mCriteria[j].mRule; in getDevicesForUid() local
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 392 OverrideTimerRule rule = mOverrideTimerRules.get(key); in getNrDisplayType() local 811 OverrideTimerRule rule = mOverrideTimerRules.get(mPreviousState); in transitionWithTimerTo() local 825 OverrideTimerRule rule = mOverrideTimerRules.get(mPrimaryTimerState); in transitionWithSecondaryTimerTo() local
|