/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
ZenModeAutomaticRulesPreferenceControllerTest.java | 96 Map.Entry<String, AutomaticZenRule>[] rules = mController.sortedRules(); local 97 assertEquals(NUM_RULES, rules.length); 101 assertEquals(GENERIC_RULE_NAME + (NUM_RULES - 1 - i), rules[i].getKey()); 111 Map.Entry<String, AutomaticZenRule>[] rules = mController.sortedRules(); local 112 assertEquals(NUM_RULES, rules.length); 116 assertEquals(GENERIC_RULE_NAME + i, rules[i].getKey()); 131 Map.Entry<String, AutomaticZenRule>[] rules = mController.sortedRules(); local 132 assertEquals(NUM_RULES + 2, rules.length); 134 assertEquals(rules[0].getKey(), DEFAULT_ID_1); 135 assertEquals(rules[1].getKey(), DEFAULT_ID_2) 160 Map.Entry<String, AutomaticZenRule>[] rules = mController.sortedRules(); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
PluralRulesTest.java | 91 PluralRules rules = factory.forLocale(locale); local 93 assertEquals(locale + " NaN", "other", rules.select(Double.NaN)); 94 assertEquals(locale + " ?", "other", rules.select(Double.POSITIVE_INFINITY)); 95 assertEquals(locale + " -?", "other", rules.select(Double.NEGATIVE_INFINITY)); 158 String rules = (String) shouldFailTest[0]; local 162 PluralRules.parseDescription(rules); 166 assertEquals("Exception " + rules, exception, actualException); 189 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, 191 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); 194 rules.getSamples(keyword, sampleType) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
PluralRulesTest.java | 88 PluralRules rules = factory.forLocale(locale); local 90 assertEquals(locale + " NaN", "other", rules.select(Double.NaN)); 91 assertEquals(locale + " ?", "other", rules.select(Double.POSITIVE_INFINITY)); 92 assertEquals(locale + " -?", "other", rules.select(Double.NEGATIVE_INFINITY)); 155 String rules = (String) shouldFailTest[0]; local 159 PluralRules.parseDescription(rules); 163 assertEquals("Exception " + rules, exception, actualException); 186 public void checkOldSamples(String description, PluralRules rules, String keyword, SampleType sampleType, 188 Collection<Double> oldSamples = rules.getSamples(keyword, sampleType); 191 rules.getSamples(keyword, sampleType) [all...] |
/external/deqp/modules/egl/ |
teglChooseConfigReference.cpp | 287 std::map<EGLenum, AttribRule> rules; local 290 rules[EGL_BUFFER_SIZE] = AttribRule(EGL_BUFFER_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SMALLER); // 4 291 rules[EGL_RED_SIZE] = AttribRule(EGL_RED_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 292 rules[EGL_GREEN_SIZE] = AttribRule(EGL_GREEN_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 293 rules[EGL_BLUE_SIZE] = AttribRule(EGL_BLUE_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 294 rules[EGL_LUMINANCE_SIZE] = AttribRule(EGL_LUMINANCE_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 295 rules[EGL_ALPHA_SIZE] = AttribRule(EGL_ALPHA_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SPECIAL); // 3 296 rules[EGL_ALPHA_MASK_SIZE] = AttribRule(EGL_ALPHA_MASK_SIZE, 0, CRITERIA_AT_LEAST, SORTORDER_SMALLER); // 9 297 rules[EGL_BIND_TO_TEXTURE_RGB] = AttribRule(EGL_BIND_TO_TEXTURE_RGB, EGL_DONT_CARE, CRITERIA_EXACT, SORTORDER_NONE); 298 rules[EGL_BIND_TO_TEXTURE_RGBA] = AttribRule(EGL_BIND_TO_TEXTURE_RGBA, EGL_DONT_CARE, CRITERIA_EXACT, (…) [all...] |
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
IPACM_Filtering.cpp | 78 IPACMDBG("Number of rules: %d\n", ruleTable->num_rules); 84 ruleTable->rules[cnt].rule.attrib.attrib_mask); 95 if (ruleTable->rules[cnt].status != 0) 98 cnt, ruleTable->rules[cnt].status); 106 if(ruleTable->rules[cnt].status != 0) 109 cnt, ruleTable->rules[cnt].status); 124 IPACMDBG("Number of rules: %d\n", ruleTable->num_rules); 132 if(ruleTable->rules[cnt].status != 0) 135 cnt, ruleTable->rules[cnt].status); 171 IPACMERR("failed committing Filtering rules.\n") [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
CollationTailoring.java | 30 * built from rules or deserialized from binary data. 58 assert rules == null && rulesResource == null; 59 rules = r; 63 assert rules == null && rulesResource == null; 67 if (rules != null) { 68 return rules; 103 // In Java, deserialize the rules string from the resource bundle 105 private String rules; field in class:CollationTailoring 107 // The locale is null (C++: bogus) when built from rules or constructed from a binary blob. 110 // UCA version u.v.w & rules version r.s.t.q [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
CollationTailoring.java | 29 * built from rules or deserialized from binary data. 56 assert rules == null && rulesResource == null; 57 rules = r; 61 assert rules == null && rulesResource == null; 65 if (rules != null) { 66 return rules; 101 // In Java, deserialize the rules string from the resource bundle 103 private String rules; field in class:CollationTailoring 105 // The locale is null (C++: bogus) when built from rules or constructed from a binary blob. 108 // UCA version u.v.w & rules version r.s.t.q [all...] |
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/ |
DependencyMappingTest.kt | 32 rules = setOf( 42 fun testRewrite(from: String, to: String?, rules: Set<PomRewriteRule>) { 44 pomRewriteRules = rules
|
/external/icu/icu4c/source/i18n/ |
quantityformatter.h | 99 * @param rules computes the plural variant to use. 107 const PluralRules &rules, 113 * Selects the standard plural form for the number/formatter/rules. 118 const PluralRules &rules,
|
/external/sonic/ |
mkorig | 14 make -f debian/rules clean
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
TCKZoneRulesProvider.java | 105 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); local 106 assertNotNull(rules); 108 assertEquals(rules2, rules); 142 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); local 143 assertEquals(versions.lastEntry().getValue(), rules); local 185 final ZoneRules rules = ZoneOffset.of("+01:45").getRules(); field in class:TCKZoneRulesProvider.MockTempProvider 193 result.put("BarVersion", rules); 199 return rules;
|
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/lib/ldscripts/ |
i386linux.x | 24 *(.rules)
|
i386linux.xbn | 24 *(.rules)
|
i386linux.xn | 24 *(.rules)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/lib/ldscripts/ |
i386linux.x | 20 *(.rules)
|
i386linux.xbn | 19 *(.rules)
|
i386linux.xn | 19 *(.rules)
|
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/x86_64-linux-android/lib/ldscripts/ |
i386linux.x | 24 *(.rules)
|
i386linux.xbn | 24 *(.rules)
|
i386linux.xn | 24 *(.rules)
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
AlignmentRules.java | 57 * A rule that applies other rules in order. 59 * @param rules all rules to be tried; the first rule that does not return 61 * rules that return a value different from {@link AlignmentRule#NO_ALIGNMENT}, then 65 public static AlignmentRule compose(@Nonnull AlignmentRule... rules) { 67 for (AlignmentRule r : rules) {
|
/external/icu/icu4c/source/test/cintltst/ |
cg7coll.c | 19 * Sample Rules: & Z < p , P 22 * Sample Rules: & c < ch , cH, Ch, CH 27 * Sample Rules: & Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&' 30 * Sample Rules: & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' 117 /* new table collation with rules "& Z < p, P" loop to FIXEDTESTSET */ 119 /* new table collation with rules "& C < ch , cH, Ch, CH " loop to TOTALTESTSET */ 121 /* new table collation with rules "& Question-mark ; ? & Hash-mark ; # & Ampersand ; '&' " loop to TOTALTESTSET */ 123 /* analogous to Japanese rules " & aa ; a- & ee ; e- & ii ; i- & oo ; o- & uu ; u- " */ /* loop to TOTALTESTSET */ 202 static const char rules[] = "& Z < p, P"; local 203 int32_t len=(int32_t)strlen(rules); 233 static const char rules[] = "& C < ch , cH, Ch, CH"; local 262 static const char rules[] = "& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'"; local 292 static const char rules[] = " & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' "; local [all...] |
/external/junit/src/main/java/org/junit/rules/ |
ExternalResource.java | 1 package org.junit.rules; 7 * A base class for Rules (like TemporaryFolder) that set up an external
|
/external/mockito/src/main/java/org/mockito/junit/ |
MockitoRule.java | 7 import org.junit.rules.MethodRule; 30 * <strong>Please</strong> give us feedback about the stubbing warnings of JUnit rules in the issue tracker 81 * <strong>Please</strong> give us feedback about the stubbing warnings of JUnit rules
|
/external/mockito/src/test/java/org/mockito/internal/progress/ |
TimesTest.java | 10 import org.junit.rules.ExpectedException;
|