Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java107 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 …]
DAudioMix.java62 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/
DTestRules.cpp28 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
DRule_test.cpp33 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
DSplitSelector_test.cpp59 sp<Rule> rule = rules[idx]; in TEST() local
DRule.cpp177 sp<Rule> Rule::simplify(sp<Rule> rule) { in simplify()
DSplitSelector.cpp76 sp<Rule> rule = Rule::simplify(RuleGenerator::generate(splits, j)); in getRules() local
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java163 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/
DZenModeHelper.java279 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 …]
DZenModeConditions.java123 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/
DAnnotationProcessor.cpp71 for (const AnnotationRule& rule : sAnnotationRules) { in AppendCommentLine() local
129 for (const AnnotationRule& rule : sAnnotationRules) { in Print() local
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp29 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/
DBpfCoordinatorTest.java306 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/
DXmlCompatVersioner.cpp55 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/
DCloseGuardTest.java29 public final TestRule rule = CloseGuardSupport.getRule(); field in CloseGuardTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupManagerTest.java50 public MockitoRule rule = MockitoJUnit.rule(); field in NotificationGroupManagerTest
DHeadsUpManagerPhoneTest.java51 @Rule public MockitoRule rule = MockitoJUnit.rule(); field in HeadsUpManagerPhoneTest
DNotificationGroupAlertTransferHelperTest.java58 @Rule public MockitoRule rule = MockitoJUnit.rule(); field in NotificationGroupAlertTransferHelperTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeController.java49 default void onManualRuleChanged(ZenRule rule) {} in onManualRuleChanged()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java170 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/
DZenModeConfigTest.java159 ZenModeConfig.ZenRule rule = new ZenModeConfig.ZenRule(); in testRuleXml() local
/frameworks/base/media/java/android/media/
DAudioPlaybackCaptureConfiguration.java118 private int[] getIntPredicates(int rule, in getIntPredicates()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java58 public MockitoRule rule = MockitoJUnit.rule(); field in AlertingNotificationManagerTest
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp489 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/
DNetworkTypeController.java392 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

12