Home
last modified time | relevance | path

Searched refs:ruleList (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/
DRuleIndexingDetailsIdentifierTest.java119 List<Rule> ruleList = null; in getIndexType_nullRule() local
125 () -> splitRulesIntoIndexBuckets(ruleList)); in getIndexType_nullRule()
130 List<Rule> ruleList = new ArrayList(); in getIndexType_invalidFormula() local
131 ruleList.add(new Rule(getInvalidFormula(), Rule.DENY)); in getIndexType_invalidFormula()
136 () -> splitRulesIntoIndexBuckets(ruleList)); in getIndexType_invalidFormula()
141 List<Rule> ruleList = new ArrayList(); in getIndexType_ruleContainingPackageNameFormula() local
142 ruleList.add(RULE_WITH_PACKAGE_NAME); in getIndexType_ruleContainingPackageNameFormula()
144 Map<Integer, Map<String, List<Rule>>> result = splitRulesIntoIndexBuckets(ruleList); in getIndexType_ruleContainingPackageNameFormula()
158 List<Rule> ruleList = new ArrayList(); in getIndexType_ruleContainingAppCertificateFormula() local
159 ruleList.add(RULE_WITH_APP_CERTIFICATE); in getIndexType_ruleContainingAppCertificateFormula()
[all …]
DRuleBinarySerializerTest.java519 List<Rule> ruleList = new ArrayList(); in testBinaryString_verifyManyRulesAreIndexedCorrectly() local
521 ruleList.add( in testBinaryString_verifyManyRulesAreIndexedCorrectly()
526 ruleList.add( in testBinaryString_verifyManyRulesAreIndexedCorrectly()
531 ruleList.add( in testBinaryString_verifyManyRulesAreIndexedCorrectly()
541 ruleList, in testBinaryString_verifyManyRulesAreIndexedCorrectly()
629 List<Rule> ruleList = new ArrayList(); in testBinaryString_totalRuleSizeLimitReached() local
631 ruleList.add( in testBinaryString_totalRuleSizeLimitReached()
636 ruleList.add( in testBinaryString_totalRuleSizeLimitReached()
641 ruleList.add( in testBinaryString_totalRuleSizeLimitReached()
656 ruleList, in testBinaryString_totalRuleSizeLimitReached()
[all …]
/frameworks/base/services/core/java/com/android/server/integrity/model/
DIntegrityCheckResult.java44 private IntegrityCheckResult(Effect effect, @Nullable List<Rule> ruleList) { in IntegrityCheckResult() argument
46 this.mRuleList = ruleList; in IntegrityCheckResult()
71 public static IntegrityCheckResult allow(List<Rule> ruleList) { in allow() argument
72 return new IntegrityCheckResult(Effect.ALLOW, ruleList); in allow()
81 public static IntegrityCheckResult deny(List<Rule> ruleList) { in deny() argument
82 return new IntegrityCheckResult(Effect.DENY, ruleList); in deny()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionInfoUpdater.java903 List<UiccAccessRule> ruleList = embeddedProfile.getUiccAccessRules(); in updateEmbeddedSubscriptionsCache() local
905 if (ruleList == null || ruleList.size() == 0) { in updateEmbeddedSubscriptionsCache()
910 ruleList.toArray(new UiccAccessRule[ruleList.size()]))); in updateEmbeddedSubscriptionsCache()