• Home
  • Raw
  • Download

Lines Matching refs:Rule

35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) {  in generateDensity()
37 sp<Rule> densityRule = new Rule(); in generateDensity()
38 densityRule->op = Rule::AND_SUBRULES; in generateDensity()
44 sp<Rule> version = new Rule(); in generateDensity()
45 version->op = Rule::LESS_THAN; in generateDensity()
46 version->key = Rule::SDK_VERSION; in generateDensity()
52 sp<Rule> gt = new Rule(); in generateDensity()
53 gt->op = Rule::GREATER_THAN; in generateDensity()
54 gt->key = Rule::SCREEN_DENSITY; in generateDensity()
60 sp<Rule> lt = new Rule(); in generateDensity()
61 lt->op = Rule::LESS_THAN; in generateDensity()
62 lt->key = Rule::SCREEN_DENSITY; in generateDensity()
70 sp<Rule> always = new Rule(); in generateDensity()
71 always->op = Rule::ALWAYS_TRUE; in generateDensity()
76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) { in generateAbi()
88 sp<Rule> abiRule = new Rule(); in generateAbi()
89 abiRule->op = Rule::CONTAINS_ANY; in generateAbi()
90 abiRule->key = Rule::NATIVE_PLATFORM; in generateAbi()
98 sp<Rule> RuleGenerator::generate(const SortedVector<SplitDescription>& group, size_t index) { in generate()
99 sp<Rule> rootRule = new Rule(); in generate()
100 rootRule->op = Rule::AND_SUBRULES; in generate()
103 sp<Rule> locale = new Rule(); in generate()
104 locale->op = Rule::EQUALS; in generate()
105 locale->key = Rule::LANGUAGE; in generate()
113 sp<Rule> sdk = new Rule(); in generate()
114 sdk->op = Rule::GREATER_THAN; in generate()
115 sdk->key = Rule::SDK_VERSION; in generate()