Home
last modified time | relevance | path

Searched refs:ruleType (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java342 int ruleType = -1; in readRules() local
346 ruleType = TYPE_ACTIVITY; in readRules()
348 ruleType = TYPE_BROADCAST; in readRules()
350 ruleType = TYPE_SERVICE; in readRules()
353 if (ruleType != -1) { in readRules()
356 List<Rule> rules = rulesByType.get(ruleType); in readRules()
386 for (int ruleType=0; ruleType<rulesByType.size(); ruleType++) { in readRules()
387 List<Rule> rules = rulesByType.get(ruleType); in readRules()
388 FirewallIntentResolver resolver = resolvers[ruleType]; in readRules()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp154 std::string ruleType, ruleValue; in dump() local
155 bool unknownRule = !RuleTypeConverter::toString(criterion.mRule, ruleType); in dump()
177 dst->appendFormat("%s %s\n", ruleType.c_str(), ruleValue.c_str()); in dump()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java2391 int ruleType = rule.type; in ruleToProtoLocked() local
2394 ruleType = ZenModeEventLogger.ACTIVE_RULE_TYPE_MANUAL; in ruleToProtoLocked()
2414 /* optional ActiveRuleType rule_type = 11 */ ruleType)); in ruleToProtoLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java9826 @AutomaticZenRule.Type int ruleType) throws Exception { in addAutomaticZenRule_restrictedRuleTypeCanBeUsedBySystem()
9831 .setType(ruleType) in addAutomaticZenRule_restrictedRuleTypeCanBeUsedBySystem()
9842 @AutomaticZenRule.Type int ruleType) { in addAutomaticZenRule_restrictedRuleTypeCannotBeUsedByRegularApps()
9849 .setType(ruleType) in addAutomaticZenRule_restrictedRuleTypeCannotBeUsedByRegularApps()
/frameworks/base/core/api/
Dcurrent.txt7082 …ublic static final String META_DATA_AUTOMATIC_RULE_TYPE = "android.service.zen.automatic.ruleType";
41146 …precated public static final String META_DATA_RULE_TYPE = "android.service.zen.automatic.ruleType";