Home
last modified time | relevance | path

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

12

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java100 AudioMixMatchCriterion(AudioAttributes attributes, int rule) { in AudioMixMatchCriterion()
106 AudioMixMatchCriterion(Integer intProp, int rule) { in AudioMixMatchCriterion()
148 private static boolean isValidSystemApiRule(int rule) { in isValidSystemApiRule()
159 private static boolean isValidAttributesSystemApiRule(int rule) { in isValidAttributesSystemApiRule()
170 private static boolean isValidRule(int rule) { in isValidRule()
182 private static boolean isPlayerRule(int rule) { in isPlayerRule()
230 public Builder addRule(AudioAttributes attrToMatch, int rule) in addRule()
259 public Builder excludeRule(AudioAttributes attrToMatch, int rule) in excludeRule()
281 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule()
311 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { in excludeMixRule()
[all …]
DAudioMix.java52 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix()
202 public Builder(AudioMixingRule rule) in Builder()
217 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/notification/
DZenModeConditions.java120 private void evaluateRule(ZenRule rule, ArraySet<Uri> current, boolean processSubscriptions) { in evaluateRule()
172 private boolean updateSnoozing(ZenRule rule) { in updateSnoozing()
181 private boolean updateCondition(Uri id, Condition condition, ZenRule rule) { in updateCondition()
DZenModeHelper.java265 ZenRule rule; in getAutomaticZenRule() local
304 ZenRule rule = new ZenRule(); in addAutomaticZenRule() local
325 ZenModeConfig.ZenRule rule; in updateAutomaticZenRule() local
346 ZenRule rule = newConfig.automaticRules.get(id); in removeAutomaticZenRule() local
365 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in removeAutomaticZenRules() local
387 public boolean canManageAutomaticZenRule(ZenRule rule) { in canManageAutomaticZenRule()
408 private boolean isSystemRule(AutomaticZenRule rule) { in isSystemRule()
431 private void populateZenRule(AutomaticZenRule automaticZenRule, ZenRule rule, boolean isNew) { in populateZenRule()
449 private AutomaticZenRule createAutomaticZenRule(ZenRule rule) { in createAutomaticZenRule()
591 ZenRule rule = newConfig.automaticRules.get(newConfig.automaticRules.keyAt(i)); in cleanUpZenRules() local
[all …]
/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/av/media/libmedia/
DAudioPolicy.cpp29 uint32_t rule) in AudioMixMatchCriterion()
/frameworks/base/tools/apilint/
Dapilint.py209 def __init__(self, sig, clazz, detail, error, rule, msg): argument
242 def _fail(clazz, detail, error, rule, msg): argument
252 def warn(clazz, detail, rule, msg): argument
255 def error(clazz, detail, rule, msg): argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeController.java46 public void onManualRuleChanged(ZenRule rule) {} in onManualRuleChanged()
DZenModeControllerImpl.java198 private void fireManualRuleChanged(ZenRule rule) { in fireManualRuleChanged()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java2101 final String rule = allow ? "allow" : "deny"; in setFirewallInterfaceRule() local
2113 final String rule = allow ? "allow" : "deny"; in setFirewallEgressSourceRule() local
2125 final String rule = allow ? "allow" : "deny"; in setFirewallEgressDestRule() local
2258 int rule = rules[index]; in setFirewallUidRules() local
2297 public void setFirewallUidRule(int chain, int uid, int rule) { in setFirewallUidRule()
2304 private void setFirewallUidRuleLocked(int chain, int uid, int rule) { in setFirewallUidRuleLocked()
2316 private boolean updateFirewallUidRuleLocked(int chain, int uid, int rule) { in updateFirewallUidRuleLocked()
2341 private @NonNull String getFirewallRuleName(int chain, int rule) { in getFirewallRuleName()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java170 int rule = mBuilder.isNavBarVertical() ? START_OF : ABOVE; in createContentFrame() local
245 int rule = mBuilder.isNavBarVertical() ? START_OF : ABOVE; in createActionBar() local
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java249 final String rule = allRules.valueAt(i); in diff() local
286 private static boolean isValidManualRule(ZenRule rule) { in isValidManualRule()
290 private static boolean isValidAutomaticRule(ZenRule rule) { in isValidAutomaticRule()
295 private static boolean sameCondition(ZenRule rule) { in sameCondition()
509 public static void writeRuleXml(ZenRule rule, XmlSerializer out) throws IOException { in writeRuleXml()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java559 private static AccessRule parseRefArdo(String rule) { in parseRefArdo()
DSIMRecords.java1668 int rule; in getDisplayRule() local
/frameworks/base/core/java/android/widget/
DRelativeLayout.java1486 private boolean isRelativeRule(int rule) { in isRelativeRule()
1810 final int rule = rules[rulesFilter[j]]; in findRoots() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHeaderView.java373 int rule = mExpanded in updateSystemIconsLayoutParams() local
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl341 void setFirewallUidRule(int chain, int uid, int rule); in setFirewallUidRule()
/frameworks/base/tools/aapt/
DResource.cpp2777 void ProguardKeepSet::add(const String8& rule, const String8& where) in add()
2807 String8 rule("-keep class "); in addProguardKeepRule() local
2824 String8 rule("-keepclassmembers class * { *** "); in addProguardKeepMethodRule() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java367 private void handleUpdateManualRule(ZenRule rule) { in handleUpdateManualRule()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java258 PluralRules rule = getPluralRule(); in getQuantityText() local

12