HomeSort by relevance Sort by last modified time
    Searched refs:Rule (Results 1 - 25 of 1306) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/tools/split-select/
TestRules.h 20 #include "Rule.h"
27 struct AndRule : public Rule {
29 op = Rule::AND_SUBRULES;
32 AndRule& add(const Rule& rhs) {
33 subrules.add(new Rule(rhs));
38 struct OrRule : public Rule {
40 op = Rule::OR_SUBRULES;
43 OrRule& add(const Rule& rhs) {
44 subrules.add(new Rule(rhs));
49 const Rule EqRule(Rule::Key key, long value)
    [all...]
TestRules.cpp 27 const Rule EqRule(Rule::Key key, long value) {
28 Rule rule; local
29 rule.op = Rule::EQUALS;
30 rule.key = key;
31 rule.longArgs.add(value);
32 return rule;
35 const Rule GtRule(Rule::Key key, long value)
36 Rule rule; local
44 Rule rule; local
52 Rule rule; local
60 Rule rule; local
69 Rule rule; local
    [all...]
Rule_test.cpp 17 #include "Rule.h"
33 Rule rule(AndRule()
34 .add(EqRule(Rule::SDK_VERSION, 7))
36 .add(GtRule(Rule::SCREEN_DENSITY, 10))
37 .add(LtRule(Rule::SCREEN_DENSITY, 5))
71 std::string result(rule.toJson().string());
78 sp<Rule> rule = new Rule(AndRule( local
86 sp<Rule> rule = new Rule(AndRule() local
    [all...]
RuleGenerator.h 21 #include "Rule.h"
31 static android::sp<Rule> generate(const android::SortedVector<SplitDescription>& group, size_t index);
33 static android::sp<Rule> generateAbi(const android::Vector<abi::Variant>& allVariants, size_t index);
34 static android::sp<Rule> generateDensity(const android::Vector<int>& allDensities, size_t index);
Rule.h 29 struct Rule : public virtual android::RefBase {
30 inline Rule();
31 Rule(const Rule& rhs);
65 android::Vector<android::sp<Rule> > subrules;
69 static android::sp<Rule> simplify(android::sp<Rule> rule);
72 Rule::Rule()
    [all...]
RuleGenerator.cpp 35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) {
37 sp<Rule> densityRule = new Rule();
38 densityRule->op = Rule::AND_SUBRULES;
44 sp<Rule> version = new Rule();
45 version->op = Rule::LESS_THAN;
46 version->key = Rule::SDK_VERSION;
52 sp<Rule> gt = new Rule();
    [all...]
RuleGenerator_test.cpp 37 ContainsAnyRule(Rule::NATIVE_PLATFORM, "armeabi")
41 ContainsAnyRule(Rule::NATIVE_PLATFORM, "armeabi-v7a", "arm64-v8a")
45 ContainsAnyRule(Rule::NATIVE_PLATFORM, "x86", "x86_64")
64 .add(LtRule(Rule::SCREEN_DENSITY, 263))
69 .add(GtRule(Rule::SCREEN_DENSITY, 262))
70 .add(LtRule(Rule::SCREEN_DENSITY, 363))
75 .add(GtRule(Rule::SCREEN_DENSITY, 362))
88 .add(LtRule(Rule::SDK_VERSION, SDK_LOLLIPOP))
89 .add(LtRule(Rule::SCREEN_DENSITY, 263))
94 .add(LtRule(Rule::SDK_VERSION, SDK_LOLLIPOP)
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
RuleClosureTransition.java 30 import org.antlr.tool.Rule;
32 /** A transition used to reference another rule. It tracks two targets
34 * state that refers to the other rule. Conversion of an NFA that
35 * falls off the end of a rule will be able to figure out who invoked
36 * that rule because of these special transitions.
39 /** Ptr to the rule definition object for this rule ref */
40 public Rule rule; field in class:RuleClosureTransition
42 /** What node to begin computations following ref to rule */
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
CombinedParser.h 19 #pragma mark Dynamic Rule Scopes
20 #pragma mark Rule Return Scopes start
21 #pragma mark Rule return scopes end
CombinedLexer.h 14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
Rule.py 2 # Rule object for generating FFS
20 ## Rule base class
23 class Rule(RuleClassObject):
RuleComplexFile.py 2 # Complex Rule object for generating FFS
18 import Rule
21 ## complex rule
RuleSimpleFile.py 2 # Simple Rule object for generating FFS
18 import Rule
21 ## simple rule
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
TestSuite.java 36 protected List<Rule> rules ;
44 rules = new ArrayList<Rule>();
52 public void addRule(Rule currentRule) {
53 if(currentRule == null) throw new IllegalArgumentException("Null rule");
57 // test rule name
58 public boolean hasRule(Rule rule) {
59 for(Rule r: rules) {
60 if(r.getName().equals(rule.getName())) {
71 public void setRules(List<Rule> newRules)
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
DatePickerCalendarActivityTest.java 20 import org.junit.Rule;
25 @Rule
DatePickerSpinnerActivityTest.java 20 import org.junit.Rule;
25 @Rule
TimePickerClockActivityTest.java 20 import org.junit.Rule;
25 @Rule
TimePickerSpinnerActivityTest.java 20 import org.junit.Rule;
25 @Rule
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/
TestLexer.h 13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/output1/
TestLexer.h 13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
TestLexerLexer.h 13 #pragma mark Rule return scopes start
14 #pragma mark Rule return scopes end
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
TreeRewriteLexer.h 14 #pragma mark Rule return scopes start
15 #pragma mark Rule return scopes end
  /external/junit-params/src/test/java/junitparams/
RulesTest.java 3 import org.junit.Rule;
20 @Rule
22 @Rule
24 @Rule
26 @Rule
28 @Rule
31 @Rule
47 .hasMessage("The @Rule 'testRule' must be public.");
52 @Rule
  /frameworks/support/transition/src/androidTest/java/androidx/transition/
BaseTest.java 19 import android.support.test.rule.ActivityTestRule;
22 import org.junit.Rule;
28 @Rule
29 public final ActivityTestRule<TransitionActivity> rule; field in class:BaseTest
32 rule = new ActivityTestRule<>(TransitionActivity.class);
  /packages/apps/Car/libs/car-settings-lib/tests/robotests/src/com/android/car/settingslib/robolectric/
BaseRobolectricTest.java 18 import org.junit.Rule;
28 //This rule automatically initializes any mocks created using the @Mock annotation
29 @Rule
30 public MockitoRule mMockitoRule = MockitoJUnit.rule();

Completed in 903 milliseconds

1 2 3 4 5 6 7 8 91011>>