HomeSort by relevance Sort by last modified time
    Searched full:ruletype (Results 1 - 25 of 39) sorted by null

1 2

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/
rbacrules.py 89 if rule.ruletype == "allow":
91 elif rule.ruletype == "role_transition":
95 format(rule.ruletype))
102 if rule.ruletype == "allow":
104 elif rule.ruletype == "role_transition":
108 format(rule.ruletype))
149 self.ruletype = rule.ruletype
161 # because RBACRuleDifference groups rules by ruletype,
162 # the ruletype always matches
    [all...]
mlsrules.py 68 if rule.ruletype == "range_transition":
72 format(rule.ruletype))
78 if rule.ruletype == "range_transition":
82 format(rule.ruletype))
118 self.ruletype = rule.ruletype
131 # because MLSRuleDifference groups rules by ruletype,
132 # the ruletype always matches.
terules.py 218 if rule.ruletype == "allow":
220 elif rule.ruletype == "auditallow":
222 elif rule.ruletype == "neverallow":
224 elif rule.ruletype == "dontaudit":
226 elif rule.ruletype == "type_transition":
228 elif rule.ruletype == "type_change":
230 elif rule.ruletype == "type_member":
234 format(rule.ruletype))
246 if rule.ruletype == "allow":
248 elif rule.ruletype == "auditallow"
    [all...]
fsuse.py 77 self.ruletype = rule.ruletype
89 return self.ruletype == other.ruletype and self.fs == other.fs
default.py 101 self.ruletype = default.ruletype
112 return self.ruletype == other.ruletype and \
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
defaultquery.py 36 ruletype The rule type(s) to match.
45 ruletype = CriteriaSetDescriptor(lookup_function="validate_default_ruletype") variable in class:DefaultQuery
52 self.log.debug("Ruletypes: {0.ruletype}".format(self))
55 if self.ruletype and d.ruletype not in self.ruletype:
fsusequery.py 35 ruletype The rule type(s) to match.
59 ruletype = CriteriaSetDescriptor(lookup_function="validate_fs_use_ruletype") variable in class:FSUseQuery
66 self.log.debug("Ruletypes: {0.ruletype}".format(self))
75 if self.ruletype and fsu.ruletype not in self.ruletype:
mlsrulequery.py 34 ruletype The list of rule type(s) to match.
46 ruletype = CriteriaSetDescriptor(lookup_function="validate_mls_ruletype") variable in class:MLSRuleQuery
62 self.log.debug("Ruletypes: {0.ruletype}".format(self))
74 if self.ruletype:
75 if rule.ruletype not in self.ruletype:
constraintquery.py 36 ruletype The list of rule type(s) to match.
65 ruletype = CriteriaSetDescriptor(lookup_function="validate_constraint_ruletype") variable in class:ConstraintQuery
99 self.log.debug("Ruletypes: {0.ruletype}".format(self))
108 if self.ruletype:
109 if c.ruletype not in self.ruletype:
rbacrulequery.py 36 ruletype The list of rule type(s) to match.
57 ruletype = CriteriaSetDescriptor(lookup_function="validate_rbac_ruletype") variable in class:RBACRuleQuery
88 self.log.debug("Ruletypes: {0.ruletype}".format(self))
100 if self.ruletype:
101 if rule.ruletype not in self.ruletype:
terulequery.py 36 ruletype The list of rule type(s) to match.
83 ruletype = CriteriaSetDescriptor(lookup_function="validate_te_ruletype") variable in class:TERuleQuery
99 self.log.debug("Ruletypes: {0.ruletype}".format(self))
115 if self.ruletype:
116 if rule.ruletype not in self.ruletype:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
default.py 73 obj.ruletype = "default_user"
79 obj.ruletype = "default_role"
85 obj.ruletype = "default_type"
93 obj.ruletype = "default_range"
103 ruletype = None variable in class:Default
107 return "{0.ruletype} {0.tclass} {0.default};".format(self)
110 return hash("{0.ruletype}|{0.tclass}".format(self))
128 return "{0.ruletype} {0.tclass} {0.default} {0.default_range};".format(self)
terule.py 126 self._rule_string = "{0.ruletype} {0.source} {0.target}:{0.tclass} ".format(self)
152 raise exception.RuleUseError("{0} rules do not have a default type.".format(self.ruletype))
156 raise exception.RuleUseError("{0} rules do not have file names".format(self.ruletype))
167 self._rule_string = "{0.ruletype} {0.source} {0.target}:{0.tclass} {0.default}".format(
196 return hash("{0.ruletype}|{0.source}|{0.target}|{0.tclass}|{1}|{2}|{3}".format(
203 "{0} rules do not have a permission set.".format(self.ruletype))
216 if self.ruletype == "type_transition":
220 format(self.ruletype))
rbacrule.py 76 return "{0.ruletype} {0.source} {0.target};".format(self)
79 return hash("{0.ruletype}|{0.source}|{0.target}".format(self))
81 ruletype = "allow" variable in class:RoleAllow
114 return "{0.ruletype} {0.source} {0.target}:{0.tclass} {0.default};".format(self)
116 ruletype = "role_transition" variable in class:RoleTransition
rule.py 39 return hash("{0.ruletype}|{0.source}|{0.target}|{0.tclass}|{1}|{2}".format(
43 def ruletype(self): member in class:PolicyRule
constraint.py 116 def __init__(self, policy, qpol_symbol, ruletype):
118 self.ruletype = ruletype
269 rule_string = "{0.ruletype} {0.tclass} ".format(self)
293 return "{0.ruletype} {0.tclass}\n\t{1}\n);".format(self, self._build_expression())
298 format(self.ruletype))
mlsrule.py 71 return "{0.ruletype} {0.source} {0.target}:{0.tclass} {0.default};".format(self)
73 ruletype = "range_transition" variable in class:MLSRule
fscontext.py 146 return "{0.ruletype} {0.fs} {0.context};".format(self)
149 return hash("{0.ruletype}|{0.fs}".format(self))
152 def ruletype(self): member in class:FSUse
__init__.py 211 return sum(1 for c in self.constraints() if c.ruletype == "constrain")
246 return sum(1 for c in self.constraints() if c.ruletype == "mlsconstrain")
251 return sum(1 for v in self.constraints() if v.ruletype == "mlsvalidatetrans")
341 return sum(1 for v in self.constraints() if v.ruletype == "validatetrans")
  /external/icu/icu4c/source/i18n/
nfrule.h 60 void setType(ERuleType ruleType) { baseValue = (int32_t)ruleType; }
  /frameworks/base/services/core/java/com/android/server/firewall/
IntentFirewall.java 324 int ruleType = -1;
328 ruleType = TYPE_ACTIVITY;
330 ruleType = TYPE_BROADCAST;
332 ruleType = TYPE_SERVICE;
335 if (ruleType != -1) {
338 List<Rule> rules = rulesByType.get(ruleType);
368 for (int ruleType=0; ruleType<rulesByType.size(); ruleType++) {
369 List<Rule> rules = rulesByType.get(ruleType);
    [all...]
  /external/selinux/prebuilts/bin/
sesearch.py 120 ruletype=args.tertypes, variable
156 ruletype=args.rbacrtypes, variable
180 ruletype=args.mlsrtypes, variable
sediff.py 468 rule_string = "{0.ruletype} {0.source} {0.target}:{0.tclass} {{ {1} }};".format(
504 rule_string = "{0.ruletype} {0.source} {0.target}:{0.tclass} {{ {1} }};".format(
540 rule_string = "{0.ruletype} {0.source} {0.target}:{0.tclass} {{ {1} }};".format(
576 rule_string = "{0.ruletype} {0.source} {0.target}:{0.tclass} {{ {1} }};".format(
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeAutomationSettings.java 227 final String ruleType = si.metaData.getString(ConditionProviderService.META_DATA_RULE_TYPE);
229 if (ruleType != null && !ruleType.trim().isEmpty() && configurationActivity != null) {
233 ri.title = ruleType;
  /frameworks/base/core/java/android/service/notification/
ConditionProviderService.java 49 * android:name="android.service.zen.automatic.ruleType"
79 public static final String META_DATA_RULE_TYPE = "android.service.zen.automatic.ruleType";

Completed in 403 milliseconds

1 2