Searched defs:rules (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/tools/split-select/
H A DSplitSelector_test.cpp56 KeyedVector<SplitDescription, sp<Rule> > rules = selector.getRules(); local
57 ssize_t idx = rules.indexOfKey(expected);
59 sp<Rule> rule = rules[idx];
H A DSplitSelector.cpp69 KeyedVector<SplitDescription, sp<Rule> > rules; local
78 rules.add(splits[j], rule);
82 return rules;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRules.java55 * Class that reads and stores the carrier privileged rules from the UICC.
57 * The rules are read when the class is created, hence it should only be created
246 * Returns true if the carrier privilege rules have finished loading.
253 * Returns true if the carrier privilege rules have finished loading and some rules were
261 * Returns package names for privilege rules.
262 * Return empty list if no rules defined or package name is empty string.
312 // Short-circuit if there are no rules to check against, so we don't need to fetch
441 // if rules cannot be read from ARA applet,
468 updateState(STATE_ERROR, "Error parsing rules
535 parseRules(String rules) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java458 int[] rules = params.getRules(layoutDirection);
460 applyHorizontalSizeRules(params, myWidth, rules);
554 final int[] rules = params.getRules(layoutDirection);
555 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) {
557 } else if (rules[ALIGN_PARENT_RIGHT] != 0) {
584 final int[] rules = params.getRules(layoutDirection);
585 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) {
587 } else if (rules[ALIGN_PARENT_BOTTO
884 applyHorizontalSizeRules(LayoutParams childParams, int myWidth, int[] rules) argument
1005 getRelatedView(int[] rules, int relation) argument
1026 getRelatedViewParams(int[] rules, int relation) argument
1037 getRelatedViewBaselineOffset(int[] rules) argument
1747 getSortedViews(View[] sorted, int... rules) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkManagementService.java546 // Make a copy of the current rules, and then clear them. This is because
547 // setFirewallUidRuleInternal only pushes down rules to the native daemon if they are
548 // different from the current rules stored in the mUidFirewall*Rules array for the
549 // specified chain. If we don't clear the rules, setFirewallUidRuleInternal will do
551 final SparseIntArray rules = uidFirewallRules.clone();
554 // Now push the rules. setFirewallUidRuleInternal will push each of these down to the
557 if (DBG) Slog.d(TAG, "Pushing " + size + " active firewall " + name + "UID rules");
558 for (int i = 0; i < rules.size(); i++) {
559 setFirewallUidRuleLocked(chain, rules.keyAt(i), rules
2250 setFirewallUidRules(int chain, int[] uids, int[] rules) argument
2552 dumpUidFirewallRule(PrintWriter pw, String name, SparseIntArray rules) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java196 * Service that maintains low-level network policy rules, using
197 * {@link NetworkStatsService} statistics to drive those rules.
199 * Derives active rules by combining a given policy with other system status,
297 /** Currently active network rules for ifaces. */
302 /** Currently derived rules for each UID. */
374 // rules enforced, such as system, phone, and radio UIDs.
712 // update rules for UID, since it might be subject to
730 // remove any policy and update rules to clean up
874 // rules without persisting.
1295 // current cycle. kernel doesn't like 0-byte rules, s
2568 updateRulesForWhitelistedPowerSaveLocked(boolean enabled, int chain, SparseIntArray rules) argument
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp2772 KeyedVector<String8, SortedVector<String8> > rules; member in class:ProguardKeepSet
2779 ssize_t index = rules.indexOfKey(rule);
2781 index = rules.add(rule, SortedVector<String8>());
2783 rules.editValueAt(index).add(where);
3140 const KeyedVector<String8, SortedVector<String8> >& rules = keep.rules; local
3141 const size_t N = rules.size();
3143 const SortedVector<String8>& locations = rules.valueAt(i);
3148 fprintf(fp, "%s\n\n", rules.keyAt(i).string());
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 8849 milliseconds