Lines Matching refs:Policy
34 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
39 // IMPORTANT: We must still proceed with evaluation of the policy in this
54 // First try calling the actual policy.
58 // If evaluating the main policy failed, defer to the default policy.
60 LOG(WARNING) << "Evaluating policy failed: " << error
66 LOG(WARNING) << "Evaluating default policy failed: " << error;
69 << "Default policy would block; this is a bug, forcing failure.";
83 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
87 // Evaluate the policy.
97 // Re-schedule the policy request based on used variables.
105 // Scheduling a reevaluation can fail because policy method didn't use any
109 LOG(ERROR) << "Failed to schedule a reevaluation of policy "
116 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,
129 // Sync policy requests must not block, if they do then this is an error.
132 << "Sync request used with an async policy; this is a bug";
139 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*,