Lines Matching refs:policies
36 # List of boolean policies that have been introduced with negative polarity in
166 # Checks that boolean policies are not negated (which makes them harder to
172 'new boolean policies follow the XYZEnabled pattern. ' +
184 'supported_on', 'label', 'policies', 'items',
223 # Each policy group must have a list of policies.
224 policies = self._CheckContains(policy, 'policies', list)
226 # Check sub-policies.
227 if policies is not None:
228 for nested_policy in policies:
233 self._Error('Policies of type "group" must not have an "id" field.',
268 # All user policies must have a per_profile feature flag.
276 # All policies must declare whether they allow changes at runtime.
482 print ('%d policies, %d of those in %d groups (containing on '
483 'average %.1f policies).' %
487 print self.num_policies, 'policies, 0 policy groups.'