Searched refs:ruleList (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/ |
D | RuleIndexingDetailsIdentifierTest.java | 119 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 …]
|
D | RuleBinarySerializerTest.java | 519 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/ |
D | IntegrityCheckResult.java | 44 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/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 427 List<ZenRule> ruleList = getZenRules(); in getAutomaticZenRules() local 428 HashMap<String, AutomaticZenRule> rules = new HashMap<>(ruleList.size()); in getAutomaticZenRules() 429 for (ZenRule rule : ruleList) { in getAutomaticZenRules() 1824 private void deleteRulesWithoutOwner(ArrayMap<String, ZenRule> ruleList) { in deleteRulesWithoutOwner() argument 1826 if (ruleList != null) { in deleteRulesWithoutOwner() 1827 for (int i = ruleList.size() - 1; i >= 0; i--) { in deleteRulesWithoutOwner() 1828 ZenRule rule = ruleList.valueAt(i); in deleteRulesWithoutOwner() 1835 ruleList.removeAt(i); in deleteRulesWithoutOwner()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 756 private static String rulesToString(ArrayMap<String, ZenRule> ruleList) { in rulesToString() argument 757 if (ruleList.isEmpty()) { in rulesToString() 761 StringBuilder buffer = new StringBuilder(ruleList.size() * 28); in rulesToString() 763 for (int i = 0; i < ruleList.size(); i++) { in rulesToString() 767 Object value = ruleList.valueAt(i); in rulesToString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/ |
D | SubscriptionManagerService.java | 1196 List<UiccAccessRule> ruleList = embeddedProfile.getUiccAccessRules(); in updateEmbeddedSubscriptions() local 1197 if (ruleList != null && !ruleList.isEmpty()) { in updateEmbeddedSubscriptions()
|