Searched defs:rules (Results 1 - 6 of 6) 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/base/core/java/android/net/
H A DNetworkPolicyManager.java38 * Manager for creating and modifying network policy rules.
315 public static void dumpRules(PrintWriter fout, int rules) { argument
317 if ((rules & RULE_REJECT_METERED) != 0) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRules.java53 * Class that reads and stores the carrier privileged rules from the UICC.
55 * The rules are read when the class is created, hence it should only be created
58 * The spec for the rules:
221 // Start loading the rules.
227 * Returns true if the carrier privilege rules have finished loading.
247 Rlog.d(LOG_TAG, "Error loading rules.");
393 updateState(STATE_ERROR, "Error parsing rules: " + ex);
395 updateState(STATE_ERROR, "Error parsing rules: " + ex);
444 * Parses the rules from the input string.
446 private static List<AccessRule> parseRules(String rules) { argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java460 int[] rules = params.getRules(layoutDirection);
462 applyHorizontalSizeRules(params, myWidth, rules);
559 final int[] rules = params.getRules(layoutDirection);
560 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_HORIZONTAL] != 0) {
562 } else if (rules[ALIGN_PARENT_RIGHT] != 0) {
589 final int[] rules = params.getRules(layoutDirection);
590 if (rules[CENTER_IN_PARENT] != 0 || rules[CENTER_VERTICAL] != 0) {
592 } else if (rules[ALIGN_PARENT_BOTTO
896 applyHorizontalSizeRules(LayoutParams childParams, int myWidth, int[] rules) argument
1009 getRelatedView(int[] rules, int relation) argument
1030 getRelatedViewParams(int[] rules, int relation) argument
1041 getRelatedViewBaseline(int[] rules, int relation) argument
1676 getSortedViews(View[] sorted, int... rules) argument
[all...]
/frameworks/base/tools/aapt/
H A DResource.cpp2736 KeyedVector<String8, SortedVector<String8> > rules; member in class:ProguardKeepSet
2743 ssize_t index = rules.indexOfKey(rule);
2745 index = rules.add(rule, SortedVector<String8>());
2747 rules.editValueAt(index).add(where);
3097 const KeyedVector<String8, SortedVector<String8> >& rules = keep.rules; local
3098 const size_t N = rules.size();
3100 const SortedVector<String8>& locations = rules.valueAt(i);
3105 fprintf(fp, "%s\n\n", rules.keyAt(i).string());

Completed in 1620 milliseconds