Lines Matching refs:policy_ids
134 def _AddPolicyID(self, id, policy_ids, policy):
136 Adds |id| to |policy_ids|. Generates an error message if the
139 if id in policy_ids:
143 policy_ids.add(id)
145 def _CheckPolicyIDs(self, policy_ids):
147 Checks a set of policy_ids to make sure it contains a continuous range
152 for i in range(len(policy_ids)):
153 if (i + 1) not in policy_ids:
176 def _CheckPolicy(self, policy, is_in_group, policy_ids):
229 self._CheckPolicy(nested_policy, True, policy_ids)
242 self._AddPolicyID(id, policy_ids, policy)
469 policy_ids = set()
471 self._CheckPolicy(policy, False, policy_ids)
472 self._CheckPolicyIDs(policy_ids)