Searched refs:combinationPredicate (Results 1 – 4 of 4) sorted by relevance
58 auto combinationPredicate = config.add_predicate(); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition() local59 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()60 combinationPredicate->mutable_combination()->set_operation(LogicalOperation::AND); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()61 addPredicateToPredicateCombination(screenIsOffPredicate, combinationPredicate); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()62 addPredicateToPredicateCombination(isSyncingPredicate, combinationPredicate); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()68 metric->set_condition(combinationPredicate->id()); in CreateDurationMetricConfig_NoLink_AND_CombinationCondition()107 auto combinationPredicate = config.add_predicate(); in CreateDurationMetricConfig_Link_AND_CombinationCondition() local108 combinationPredicate->set_id(StringToId("CombinationPredicate")); in CreateDurationMetricConfig_Link_AND_CombinationCondition()109 combinationPredicate->mutable_combination()->set_operation(LogicalOperation::AND); in CreateDurationMetricConfig_Link_AND_CombinationCondition()110 addPredicateToPredicateCombination(screenIsOffPredicate, combinationPredicate); in CreateDurationMetricConfig_Link_AND_CombinationCondition()[all …]
210 Predicate* combinationPredicate) { in addPredicateToPredicateCombination() argument211 combinationPredicate->mutable_combination()->add_predicate(predicate.id()); in addPredicateToPredicateCombination()
62 auto combinationPredicate = config.add_predicate(); in CreateStatsdConfig() local63 combinationPredicate->set_id(StringToId("combinationPredicate")); in CreateStatsdConfig()64 combinationPredicate->mutable_combination()->set_operation(LogicalOperation::AND); in CreateStatsdConfig()65 addPredicateToPredicateCombination(screenIsOffPredicate, combinationPredicate); in CreateStatsdConfig()66 addPredicateToPredicateCombination(isSyncingPredicate, combinationPredicate); in CreateStatsdConfig()67 addPredicateToPredicateCombination(isInBackgroundPredicate, combinationPredicate); in CreateStatsdConfig()72 countMetric->set_condition(combinationPredicate->id()); in CreateStatsdConfig()
395 Predicate* combinationPredicate) { in addPredicateToPredicateCombination() argument396 combinationPredicate->mutable_combination()->add_predicate(predicate.id()); in addPredicateToPredicateCombination()