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

/frameworks/base/services/java/com/android/server/firewall/
H A DIntentFirewall.java158 // rule against the intent
160 Rule rule = candidateRules.get(i);
161 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType,
163 block |= rule.getBlock();
164 log |= rule.getLog();
331 Rule rule = new Rule();
335 // if we get an error while parsing a particular rule, we'll just ignore
336 // that rule and continue on with the next rule
338 rule
482 private final Rule rule; field in class:IntentFirewall.FirewallIntentFilter
484 FirewallIntentFilter(Rule rule) argument
524 addComponentFilter(ComponentName componentName, Rule rule) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java554 new DependencyListener(this, node, dependency.rule));
672 dependency.rule);
693 // The Dependency rule (WITH or AFTER) that the listener should wait for on
697 public DependencyListener(AnimatorSet animatorSet, Node node, int rule) { argument
700 this.mRule = rule;
750 if (dependency.rule == mRule &&
752 // rule fired - remove the dependency and listener and check to
923 public int rule; field in class:AnimatorSet.Dependency
925 public Dependency(Node node, int rule) { argument
927 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DSIMRecords.java1469 * If the SPN is not found on the SIM or is empty, the rule is
1474 int rule;
1477 rule = SPN_RULE_SHOW_PLMN;
1479 rule = SPN_RULE_SHOW_SPN;
1482 rule |= SPN_RULE_SHOW_PLMN;
1485 rule = SPN_RULE_SHOW_PLMN;
1488 rule |= SPN_RULE_SHOW_SPN;
1491 return rule;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java728 int rule = mPremiumSmsRule.get();
730 if (rule == PREMIUM_RULE_USE_SIM || rule == PREMIUM_RULE_USE_BOTH) {
739 if (rule == PREMIUM_RULE_USE_NETWORK || rule == PREMIUM_RULE_USE_BOTH) {
/frameworks/base/tools/aapt/
H A DResource.cpp2270 // { rule --> { file locations } }
2273 void add(const String8& rule, const String8& where);
2276 void ProguardKeepSet::add(const String8& rule, const String8& where) argument
2278 ssize_t index = rules.indexOfKey(rule);
2280 index = rules.add(rule, SortedVector<String8>());
2306 String8 rule("-keep class ");
2307 rule += className;
2308 rule += " { <init>(...); }";
2316 keep->add(rule, location);
2323 String8 rule("
[all...]
/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java1473 mConnector.execute("interface", "fwmark", "rule", "add", iface);
1483 mConnector.execute("interface", "fwmark", "rule", "remove", iface);
1631 final String rule = allow ? ALLOW : DENY;
1633 mConnector.execute("firewall", "set_interface_rule", iface, rule);
1643 final String rule = allow ? ALLOW : DENY;
1645 mConnector.execute("firewall", "set_egress_source_rule", addr, rule);
1655 final String rule = allow ? ALLOW : DENY;
1657 mConnector.execute("firewall", "set_egress_dest_rule", addr, port, rule);
1667 final String rule = allow ? ALLOW : DENY;
1669 mConnector.execute("firewall", "set_uid_rule", uid, rule);
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1362 * Adds a layout rule to be interpreted by the RelativeLayout. This
1380 * Adds a layout rule to be interpreted by the RelativeLayout. Use this for
1400 * Removes a layout rule to be interpreted by the RelativeLayout.
1425 // if no "left"/"right" rule has been defined and "start"/"end" rules are defined then we
1429 // rules. If no "start"/"end" rule is defined then we use "left"/"right" rules.
1443 // "left" rule is not defined but "start" rule is: use the "start" rule as
1444 // the "left" rule
1452 // "right" rule i
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java511 // EXTRA_SHOW_PLMN = depending on IccRecords rule
521 int rule = (iccRecords != null) ? iccRecords.getDisplayRule(mSS.getOperatorNumeric()) : 0;
540 ((rule & SIMRecords.SPN_RULE_SHOW_PLMN)
549 // EXTRA_SHOW_SPN = depending on IccRecords rule
553 && ((rule & SIMRecords.SPN_RULE_SHOW_SPN)
563 " sending intent rule=" + rule +
740 * There are exceptions for the above rule.
/frameworks/base/core/java/android/content/res/
H A DResources.java269 NativePluralRules rule = getPluralRule();
271 attrForQuantityCode(rule.quantityForInt(quantity)));
281 + " item=" + stringForQuantityCode(rule.quantityForInt(quantity)));

Completed in 395 milliseconds