/system/update_engine/update_manager/ |
D | evaluation_context.cc | 68 EvaluationContext::EvaluationContext( in EvaluationContext() function in chromeos_update_manager::EvaluationContext 71 unique_ptr<Callback<void(EvaluationContext*)>> unregister_cb) in EvaluationContext() 80 EvaluationContext::~EvaluationContext() { in ~EvaluationContext() 86 unique_ptr<Closure> EvaluationContext::RemoveObserversAndTimeout() { in RemoveObserversAndTimeout() 97 TimeDelta EvaluationContext::RemainingTime(Time monotonic_deadline) const { in RemainingTime() 105 Time EvaluationContext::MonotonicDeadline(TimeDelta timeout) { in MonotonicDeadline() 111 void EvaluationContext::ValueChanged(BaseVariable* var) { in ValueChanged() 116 void EvaluationContext::OnTimeout() { in OnTimeout() 124 void EvaluationContext::OnValueChangedOrTimeout() { in OnValueChangedOrTimeout() 132 bool EvaluationContext::IsWallclockTimeGreaterThan(Time timestamp) { in IsWallclockTimeGreaterThan() [all …]
|
D | evaluation_context.h | 63 class EvaluationContext : private BaseVariable::ObserverInterface { 65 EvaluationContext( 68 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb); 69 explicit EvaluationContext(base::TimeDelta evaluation_timeout) in EvaluationContext() function 70 : EvaluationContext( in EvaluationContext() 73 std::unique_ptr<base::Callback<void(EvaluationContext*)>>()) {} in EvaluationContext() 74 ~EvaluationContext(); 201 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb_; 203 base::WeakPtrFactory<EvaluationContext> weak_ptr_factory_; 205 DISALLOW_COPY_AND_ASSIGN(EvaluationContext);
|
D | update_manager.h | 48 EvalStatus (Policy::*policy_method)(EvaluationContext*, 83 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 99 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 105 EvalStatus (Policy::*policy_method)(EvaluationContext*, 130 EvaluationContext* ec, 132 EvaluationContext*, State*, std::string*, R*, Args...) const, 144 std::shared_ptr<EvaluationContext> ec, 147 EvaluationContext*, State*, std::string*, R*, Args...) const, 151 void UnregisterEvalContext(EvaluationContext* ec); 175 std::set<std::shared_ptr<EvaluationContext>> ec_repo_;
|
D | chromeos_policy.h | 57 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 63 EvaluationContext* ec, 69 EvalStatus UpdateCanStart(EvaluationContext* ec, 75 EvalStatus P2PEnabled(EvaluationContext* ec, 80 EvalStatus P2PEnabledChanged(EvaluationContext* ec, 146 EvaluationContext* ec, 164 EvalStatus UpdateScattering(EvaluationContext* ec,
|
D | update_manager-inl.h | 33 EvaluationContext* ec, in EvaluatePolicy() 35 EvaluationContext*, State*, std::string*, R*, Args...) const, in EvaluatePolicy() 78 std::shared_ptr<EvaluationContext> ec, in OnPolicyReadyToEvaluate() 81 EvaluationContext*, State*, std::string*, R*, Args...) const, in OnPolicyReadyToEvaluate() 116 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, in PolicyRequest() 119 auto ec = std::make_shared<EvaluationContext>(evaluation_timeout_); in PolicyRequest() 138 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, in AsyncPolicyRequest() 140 auto ec = std::make_shared<EvaluationContext>( in AsyncPolicyRequest() 143 std::unique_ptr<base::Callback<void(EvaluationContext*)>>( in AsyncPolicyRequest() 144 new base::Callback<void(EvaluationContext*)>( in AsyncPolicyRequest()
|
D | policy_utils.h | 49 EvaluationContext* ec, in ConsultPolicies() 71 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() 79 EvaluationContext* ec, in UpdateCanBeApplied() 87 EvalStatus UpdateCanStart(EvaluationContext* ec, in UpdateCanStart() 95 EvalStatus P2PEnabled(EvaluationContext* ec, in P2PEnabled() 102 EvalStatus P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
|
D | update_manager.cc | 42 EvaluationContext*, State*, std::string*, UpdateCheckParams*) const) { in AsyncPolicyRequestUpdateCheckAllowed() 46 void UpdateManager::UnregisterEvalContext(EvaluationContext* ec) { in UnregisterEvalContext() 51 std::shared_ptr<EvaluationContext>(ec, [](EvaluationContext*) {}))) { in UnregisterEvalContext() argument
|
D | mock_policy.h | 62 EvalStatus(EvaluationContext*, State*, std::string*, UpdateCheckParams*)); 65 EvalStatus(EvaluationContext*, 72 EvalStatus(EvaluationContext*, 80 EvalStatus(EvaluationContext*, State*, std::string*, bool*)); 83 P2PEnabled, EvalStatus(EvaluationContext*, State*, std::string*, bool*)); 87 EvalStatus(EvaluationContext*, State*, std::string*, bool*, bool));
|
D | default_policy.h | 66 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 72 EvaluationContext* ec, 78 EvalStatus UpdateCanStart(EvaluationContext* ec, 84 EvalStatus P2PEnabled(EvaluationContext* ec, 89 EvalStatus P2PEnabledChanged(EvaluationContext* ec,
|
D | default_policy.cc | 36 EvalStatus DefaultPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() 64 EvalStatus DefaultPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied() 73 EvalStatus DefaultPolicy::UpdateCanStart(EvaluationContext* ec, in UpdateCanStart() 92 EvalStatus DefaultPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() 100 EvalStatus DefaultPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
|
D | interactive_update_policy_impl.h | 35 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 41 EvaluationContext* ec, 57 bool CheckInteractiveUpdateRequested(EvaluationContext* ec,
|
D | policy.h | 221 EvaluationContext*, State*, std::string*, R*, Args...) const) const { in PolicyRequestName() 253 virtual EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 263 EvaluationContext* ec, 275 virtual EvalStatus UpdateCanStart(EvaluationContext* ec, 283 virtual EvalStatus P2PEnabled(EvaluationContext* ec, 293 virtual EvalStatus P2PEnabledChanged(EvaluationContext* ec,
|
D | interactive_update_policy_impl.cc | 26 EvaluationContext* ec, in UpdateCheckAllowed() 43 EvaluationContext* ec, in UpdateCanBeApplied() 61 EvaluationContext* ec, in CheckInteractiveUpdateRequested()
|
D | next_update_check_policy_impl.h | 51 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 74 EvaluationContext* ec,
|
D | evaluation_context_unittest.cc | 65 void ReadVar(shared_ptr<EvaluationContext> ec, Variable<T>* var) { in ReadVar() 72 shared_ptr<EvaluationContext> ec, in EvaluateRepeatedly() 100 eval_ctx_.reset(new EvaluationContext( in SetUp() 103 unique_ptr<base::Callback<void(EvaluationContext*)>>(nullptr))); in SetUp() 110 base::WeakPtr<EvaluationContext> eval_ctx_weak_alias = in TearDown() 133 shared_ptr<EvaluationContext> eval_ctx_;
|
D | enough_slots_ab_updates_policy_impl.cc | 24 EvaluationContext* ec, in UpdateCheckAllowed()
|
D | enterprise_device_policy_impl.h | 37 EvalStatus UpdateCheckAllowed(EvaluationContext* ec,
|
D | out_of_box_experience_policy_impl.h | 35 EvalStatus UpdateCheckAllowed(EvaluationContext* ec,
|
D | mock_update_manager.h | 38 EvaluationContext*, State*, std::string*, UpdateCheckParams*)
|
D | enterprise_rollback_policy_impl.cc | 26 EvaluationContext* ec, in UpdateCanBeApplied()
|
D | official_build_check_policy_impl.h | 33 EvalStatus UpdateCheckAllowed(EvaluationContext* ec,
|
D | enough_slots_ab_updates_policy_impl.h | 33 EvalStatus UpdateCheckAllowed(EvaluationContext* ec,
|
D | update_time_restrictions_policy_impl.h | 44 EvaluationContext* ec,
|
D | api_restricted_downloads_policy_impl.h | 34 EvaluationContext* ec,
|
D | out_of_box_experience_policy_impl.cc | 23 EvalStatus OobePolicyImpl::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed()
|