Searched refs:rule (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioMixingRule.java28 * Here's an example of creating a mixing rule for all media playback:
45 * A rule requiring the usage information of the {@link AudioAttributes} to match
49 * A rule requiring the usage information of the {@link AudioAttributes} to differ
57 AttributeMatchCriterion(AudioAttributes attributes, int rule) { argument
59 mRule = rule;
81 * Add a rule for the selection of which streams are mixed together.
83 * rule hasn't been set yet.
84 * @param rule one of {@link AudioMixingRule#RULE_EXCLUDE_ATTRIBUTE_USAGE},
89 public Builder addRule(AudioAttributes attrToMatch, int rule) argument
94 if ((rule !
[all...]
H A DAudioMix.java38 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags) { argument
39 mRule = rule;
91 * @param rule a non-null {@link AudioMixingRule} instance.
94 public Builder(AudioMixingRule rule) argument
96 if (rule == null) {
99 mRule = rule;
105 * @param rule
109 public Builder setMixingRule(AudioMixingRule rule) argument
111 if (rule == null) {
114 mRule = rule;
[all...]
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java161 // rule against the intent
163 Rule rule = candidateRules.get(i);
164 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType,
166 block |= rule.getBlock();
167 log |= rule.getLog();
336 Rule rule = new Rule();
340 // if we get an error while parsing a particular rule, we'll just ignore
341 // that rule and continue on with the next rule
343 rule
487 private final Rule rule; field in class:IntentFirewall.FirewallIntentFilter
489 FirewallIntentFilter(Rule rule) argument
529 addComponentFilter(ComponentName componentName, Rule rule) argument
[all...]
/frameworks/testing/espresso/espresso-lib/
H A Dbuild.gradle95 rule pattern: "com.google.common.**",
97 rule pattern: "dagger.**",
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRules.java115 // Describes a single rule.
231 Rlog.d(LOG_TAG, "No matching rule found. Returning false.");
387 Rlog.e(LOG_TAG, "Skip unrecognized rule." + refArDo.value);
394 * Parses a single rule.
396 private static AccessRule parseRefArdo(String rule) { argument
397 Rlog.d(LOG_TAG, "Got rule: " + rule);
404 while (!rule.isEmpty()) {
405 if (rule.startsWith(TAG_REF_DO)) {
407 rule
[all...]
H A DSIMRecords.java1620 * If the SPN is not found on the SIM or is empty, the rule is
1625 int rule;
1630 rule = SPN_RULE_SHOW_PLMN;
1633 rule = SPN_RULE_SHOW_PLMN;
1635 rule = SPN_RULE_SHOW_SPN;
1638 rule |= SPN_RULE_SHOW_PLMN;
1641 rule = SPN_RULE_SHOW_PLMN;
1644 rule |= SPN_RULE_SHOW_SPN;
1647 return rule;
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java563 new DependencyListener(this, node, dependency.rule));
683 dependency.rule);
704 // The Dependency rule (WITH or AFTER) that the listener should wait for on
708 public DependencyListener(AnimatorSet animatorSet, Node node, int rule) { argument
711 this.mRule = rule;
761 if (dependency.rule == mRule &&
763 // rule fired - remove the dependency and listener and check to
963 public int rule; field in class:AnimatorSet.Dependency
965 public Dependency(Node node, int rule) { argument
967 this.rule
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java871 for (String rule : GOOD_RRULES) {
873 recur.parse(rule);
876 for (String rule : BAD_RRULES) {
881 recur.parse(rule);
886 assertTrue("Expected throw on " + rule, didThrow);
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java1794 final String rule = allow ? "allow" : "deny";
1796 mConnector.execute("firewall", "set_interface_rule", iface, rule);
1806 final String rule = allow ? "allow" : "deny";
1808 mConnector.execute("firewall", "set_egress_source_rule", addr, rule);
1818 final String rule = allow ? "allow" : "deny";
1820 mConnector.execute("firewall", "set_egress_dest_rule", addr, port, rule);
1830 final String rule = allow ? "allow" : "deny";
1832 mConnector.execute("firewall", "set_uid_rule", uid, rule);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java763 int rule = mPremiumSmsRule.get();
765 if (rule == PREMIUM_RULE_USE_SIM || rule == PREMIUM_RULE_USE_BOTH) {
774 if (rule == PREMIUM_RULE_USE_NETWORK || rule == PREMIUM_RULE_USE_BOTH) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeaderView.java353 int rule = mExpanded
356 if (rule != lp.getRules()[RelativeLayout.START_OF]) {
357 lp.addRule(RelativeLayout.START_OF, rule);
/frameworks/base/tools/aapt/
H A DResource.cpp2653 // { rule --> { file locations } }
2656 void add(const String8& rule, const String8& where);
2659 void ProguardKeepSet::add(const String8& rule, const String8& where) argument
2661 ssize_t index = rules.indexOfKey(rule);
2663 index = rules.add(rule, SortedVector<String8>());
2689 String8 rule("-keep class ");
2690 rule += className;
2691 rule += " { <init>(...); }";
2699 keep->add(rule, location);
2706 String8 rule("
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1380 * Adds a layout rule to be interpreted by the RelativeLayout. This
1398 * Adds a layout rule to be interpreted by the RelativeLayout. Use this for
1418 * Removes a layout rule to be interpreted by the RelativeLayout.
1443 // if no "left"/"right" rule has been defined and "start"/"end" rules are defined then we
1447 // rules. If no "start"/"end" rule is defined then we use "left"/"right" rules.
1461 // "left" rule is not defined but "start" rule is: use the "start" rule as
1462 // the "left" rule
1470 // "right" rule i
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java584 // EXTRA_SHOW_PLMN = depending on IccRecords rule
594 int rule = (iccRecords != null) ? iccRecords.getDisplayRule(mSS.getOperatorNumeric()) : 0;
613 ((rule & SIMRecords.SPN_RULE_SHOW_PLMN)
622 // EXTRA_SHOW_SPN = depending on IccRecords rule
626 && ((rule & SIMRecords.SPN_RULE_SHOW_SPN)
636 " sending intent rule=" + rule +
820 * There are exceptions for the above rule.
/frameworks/base/core/java/android/content/res/
H A DResources.java299 NativePluralRules rule = getPluralRule();
301 attrForQuantityCode(rule.quantityForInt(quantity)));
311 + " item=" + stringForQuantityCode(rule.quantityForInt(quantity)));
/frameworks/testing/espresso/libs/
H A Djarjar-1.4.jarcom/tonicsystems/jarjar/help.txt com/tonicsystems/jarjar/ext_util/StandaloneJarProcessor.class StandaloneJarProcessor.java package com. ...

Completed in 497 milliseconds