Home
last modified time | relevance | path

Searched refs:rule1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/engine/
DRuleEvaluatorTest.java82 Rule rule1 = in testEvaluateRules_oneMatch_deny() local
98 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_oneMatch_deny()
101 assertThat(result.getMatchedRules()).containsExactly(rule1); in testEvaluateRules_oneMatch_deny()
106 Rule rule1 = in testEvaluateRules_multipleMatches_deny() local
128 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_multipleMatches_deny()
131 assertThat(result.getMatchedRules()).containsExactly(rule1, rule2); in testEvaluateRules_multipleMatches_deny()
241 Rule rule1 = in testEvaluateRules_forceAllow() local
263 RuleEvaluator.evaluateRules(Arrays.asList(rule1, rule2), APP_INSTALL_METADATA); in testEvaluateRules_forceAllow()
266 assertThat(result.getMatchedRules()).containsExactly(rule1); in testEvaluateRules_forceAllow()
271 Rule rule1 = in testEvaluateRules_multipleMatches_forceAllow() local
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_decode.cpp373 int rule1 = 0, rule2 = 0, rule3 = 0; in mv_prediction() local
382 rule1 = 1; in mv_prediction()
390 rule1 = 1; in mv_prediction()
424 if (rule1 + rule2 + rule3 > 1) in mv_prediction()
429 else if (rule1 + rule2 + rule3 == 1) in mv_prediction()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode.cpp2545 Int rule1, rule2, rule3; in find_pmvs() local
2635 rule1 = 0; in find_pmvs()
2637 rule1 = 1; in find_pmvs()
2655 rule1 = 1; in find_pmvs()
2657 rule1 = 0; in find_pmvs()
2674 if (rule1) in find_pmvs()
2711 if (rule1 && rule2 && rule3) in find_pmvs()
2716 else if (rule1 + rule2 + rule3 == 2) in find_pmvs()