/system/update_engine/update_manager/ |
D | evaluation_context.h | 65 class EvaluationContext : public base::RefCounted<EvaluationContext>, 68 EvaluationContext( 72 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb); 73 EvaluationContext(chromeos_update_engine::ClockInterface* clock, in EvaluationContext() function 75 : EvaluationContext( in EvaluationContext() 77 std::unique_ptr<base::Callback<void(EvaluationContext*)>>()) {} in EvaluationContext() 78 ~EvaluationContext(); 209 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb_; 211 base::WeakPtrFactory<EvaluationContext> weak_ptr_factory_; 213 DISALLOW_COPY_AND_ASSIGN(EvaluationContext);
|
D | evaluation_context.cc | 67 EvaluationContext::EvaluationContext( in EvaluationContext() function in chromeos_update_manager::EvaluationContext 71 unique_ptr<Callback<void(EvaluationContext*)>> unregister_cb) in EvaluationContext() 81 EvaluationContext::~EvaluationContext() { in ~EvaluationContext() 87 unique_ptr<Closure> EvaluationContext::RemoveObserversAndTimeout() { in RemoveObserversAndTimeout() 98 TimeDelta EvaluationContext::RemainingTime(Time monotonic_deadline) const { in RemainingTime() 105 Time EvaluationContext::MonotonicDeadline(TimeDelta timeout) { in MonotonicDeadline() 110 void EvaluationContext::ValueChanged(BaseVariable* var) { in ValueChanged() 115 void EvaluationContext::OnTimeout() { in OnTimeout() 123 void EvaluationContext::OnValueChangedOrTimeout() { in OnValueChangedOrTimeout() 131 bool EvaluationContext::IsWallclockTimeGreaterThan(Time timestamp) { in IsWallclockTimeGreaterThan() [all …]
|
D | update_manager-inl.h | 33 EvaluationContext* ec, in EvaluatePolicy() 34 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in EvaluatePolicy() argument 81 scoped_refptr<EvaluationContext> ec, in OnPolicyReadyToEvaluate() 83 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in OnPolicyReadyToEvaluate() argument 116 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in PolicyRequest() argument 120 scoped_refptr<EvaluationContext> ec( in PolicyRequest() 121 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest() 139 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in AsyncPolicyRequest() argument 143 scoped_refptr<EvaluationContext> ec = in AsyncPolicyRequest() 144 new EvaluationContext( in AsyncPolicyRequest() [all …]
|
D | update_manager.h | 73 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 89 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 116 EvaluationContext* ec, 117 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 130 scoped_refptr<EvaluationContext> ec, 132 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, 138 void UnregisterEvalContext(EvaluationContext* ec); 165 std::set<scoped_refptr<EvaluationContext>, 166 ScopedRefPtrLess<EvaluationContext>> ec_repo_;
|
D | chromeos_policy.h | 59 EvaluationContext* ec, State* state, std::string* error, 63 EvaluationContext* ec, 70 EvaluationContext* ec, 76 EvaluationContext* ec, 82 EvaluationContext* ec, 144 EvalStatus NextUpdateCheckTime(EvaluationContext* ec, State* state, 177 EvaluationContext* ec, State* state, std::string* error, 193 EvalStatus UpdateScattering(EvaluationContext* ec, State* state,
|
D | default_policy.h | 69 EvaluationContext* ec, State* state, std::string* error, 73 EvaluationContext* ec, State* state, std::string* error, 78 EvaluationContext* ec, State* state, std::string* error, 82 EvaluationContext* ec, State* state, std::string* error, 86 EvaluationContext* ec, State* state, std::string* error,
|
D | default_policy.cc | 35 EvaluationContext* ec, State* state, std::string* error, in UpdateCheckAllowed() 57 EvaluationContext* ec, in UpdateCanStart() 77 EvaluationContext* ec, in UpdateDownloadAllowed() 86 EvaluationContext* ec, in P2PEnabled() 95 EvaluationContext* ec, in P2PEnabledChanged()
|
D | mock_policy.h | 61 EvalStatus(EvaluationContext*, State*, std::string*, 65 EvalStatus(EvaluationContext*, State*, std::string*, 69 EvalStatus(EvaluationContext*, State*, std::string*, 73 EvalStatus(EvaluationContext*, State*, std::string*, 77 EvalStatus(EvaluationContext*, State*, std::string*,
|
D | policy.h | 199 EvalStatus (Policy::*policy_method)(EvaluationContext*, State*, in PolicyRequestName() argument 235 EvaluationContext* ec, State* state, std::string* error, 245 EvaluationContext* ec, 258 EvaluationContext* ec, 266 EvaluationContext* ec, State* state, std::string* error, 275 EvaluationContext* ec, State* state, std::string* error,
|
D | evaluation_context_unittest.cc | 63 void ReadVar(scoped_refptr<EvaluationContext> ec, Variable<T>* var) { in ReadVar() 69 void EvaluateRepeatedly(Closure evaluation, scoped_refptr<EvaluationContext> ec, in EvaluateRepeatedly() 94 eval_ctx_ = new EvaluationContext( in SetUp() 96 unique_ptr<base::Callback<void(EvaluationContext*)>>(nullptr)); in SetUp() 103 base::WeakPtr<EvaluationContext> eval_ctx_weak_alias = in TearDown() 126 scoped_refptr<EvaluationContext> eval_ctx_;
|
D | update_manager.cc | 44 void UpdateManager::UnregisterEvalContext(EvaluationContext* ec) { in UnregisterEvalContext()
|
D | chromeos_policy.cc | 192 EvaluationContext* ec, State* state, string* error, in UpdateCheckAllowed() 327 EvaluationContext* ec, in UpdateCanStart() 496 EvaluationContext* ec, in UpdateDownloadAllowed() 571 EvalStatus ChromeOSPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() 607 EvalStatus ChromeOSPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged() 618 EvalStatus ChromeOSPolicy::NextUpdateCheckTime(EvaluationContext* ec, in NextUpdateCheckTime() 705 EvaluationContext* ec, State* state, string* error, in UpdateBackoffAndDownloadUrl() 895 EvaluationContext* ec, in UpdateScattering()
|
D | evaluation_context-inl.h | 27 const T* EvaluationContext::GetValue(Variable<T>* var) { in GetValue()
|
D | update_manager_unittest.cc | 104 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, State* state, in UpdateCheckAllowed() 122 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, State* state, in UpdateCheckAllowed() 142 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, State* state, in UpdateCheckAllowed()
|
D | variable.h | 195 friend class EvaluationContext;
|
D | chromeos_policy_unittest.cc | 51 eval_ctx_ = new EvaluationContext(&fake_clock_, TimeDelta::FromSeconds(5)); in SetUp() 203 scoped_refptr<EvaluationContext> eval_ctx_;
|