Home
last modified time | relevance | path

Searched refs:policy_method (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/update_manager/
Dupdate_manager-inl.h34 EvalStatus (Policy::*policy_method)( in EvaluatePolicy()
51 const std::string policy_name = policy_->PolicyRequestName(policy_method); in EvaluatePolicy()
55 EvalStatus status = (policy_.get()->*policy_method)( in EvaluatePolicy()
62 status = (default_policy_.*policy_method)( in EvaluatePolicy()
80 EvalStatus (Policy::*policy_method)( in OnPolicyReadyToEvaluate()
85 EvalStatus status = EvaluatePolicy(ec.get(), policy_method, &result, args...); in OnPolicyReadyToEvaluate()
99 policy_method, in OnPolicyReadyToEvaluate()
109 << policy_->PolicyRequestName(policy_method) << "; this is a bug."; in OnPolicyReadyToEvaluate()
115 EvalStatus (Policy::*policy_method)( in PolicyRequest()
126 ec.get(), policy_method, result, args...); in PolicyRequest()
[all …]
Dupdate_manager.h48 EvalStatus (Policy::*policy_method)(EvaluationContext*,
82 EvalStatus (Policy::*policy_method)(
98 EvalStatus (Policy::*policy_method)(
105 EvalStatus (Policy::*policy_method)(EvaluationContext*,
131 EvalStatus (Policy::*policy_method)(
146 EvalStatus (Policy::*policy_method)(
Dpolicy.h220 std::string PolicyRequestName(EvalStatus (Policy::*policy_method)( in PolicyRequestName()
224 if (reinterpret_cast<typeof(&Policy::UpdateCheckAllowed)>(policy_method) == in PolicyRequestName()
227 if (reinterpret_cast<typeof(&Policy::UpdateCanBeApplied)>(policy_method) == in PolicyRequestName()
230 if (reinterpret_cast<typeof(&Policy::UpdateCanStart)>(policy_method) == in PolicyRequestName()
233 if (reinterpret_cast<typeof(&Policy::P2PEnabled)>(policy_method) == in PolicyRequestName()
236 if (reinterpret_cast<typeof(&Policy::P2PEnabledChanged)>(policy_method) == in PolicyRequestName()
Dupdate_manager.cc41 EvalStatus (Policy::*policy_method)( in AsyncPolicyRequestUpdateCheckAllowed()
43 AsyncPolicyRequest(callback, policy_method); in AsyncPolicyRequestUpdateCheckAllowed()
Dpolicy_test_utils.h81 T policy_method, in ExpectPolicyStatus() argument
87 (policy_.get()->*policy_method)( in ExpectPolicyStatus()
Dpolicy_utils.h48 T policy_method, in ConsultPolicies() argument
56 (policy->*policy_method)(ec, state, error, result, args...); in ConsultPolicies()
Dmock_update_manager.h37 EvalStatus (Policy::*policy_method)(