/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() 79 std::unique_ptr<base::Callback<void(EvaluationContext*)>>()) {} in EvaluationContext() 80 ~EvaluationContext(); 210 std::unique_ptr<base::Callback<void(EvaluationContext*)>> unregister_cb_; 212 base::WeakPtrFactory<EvaluationContext> weak_ptr_factory_; 214 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() 35 EvaluationContext*, State*, std::string*, R*, Args...) const, in EvaluatePolicy() 81 scoped_refptr<EvaluationContext> ec, in OnPolicyReadyToEvaluate() 84 EvaluationContext*, State*, std::string*, R*, Args...) const, in OnPolicyReadyToEvaluate() 119 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, in PolicyRequest() 122 scoped_refptr<EvaluationContext> ec( in PolicyRequest() 123 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest() 142 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, in AsyncPolicyRequest() 144 scoped_refptr<EvaluationContext> ec = new EvaluationContext( in AsyncPolicyRequest() 148 std::unique_ptr<base::Callback<void(EvaluationContext*)>>( in AsyncPolicyRequest() [all …]
|
D | update_manager.h | 75 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 91 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 114 EvaluationContext* ec, 116 EvaluationContext*, State*, std::string*, R*, Args...) const, 128 scoped_refptr<EvaluationContext> ec, 131 EvaluationContext*, State*, std::string*, R*, Args...) const, 135 void UnregisterEvalContext(EvaluationContext* ec); 162 std::set<scoped_refptr<EvaluationContext>, 163 ScopedRefPtrLess<EvaluationContext>>
|
D | chromeos_policy.h | 57 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 63 EvaluationContext* ec, 69 EvalStatus UpdateCanStart(EvaluationContext* ec, 75 EvalStatus UpdateDownloadAllowed(EvaluationContext* ec, 80 EvalStatus P2PEnabled(EvaluationContext* ec, 85 EvalStatus P2PEnabledChanged(EvaluationContext* ec, 151 EvaluationContext* ec, 169 EvalStatus UpdateScattering(EvaluationContext* ec,
|
D | android_things_policy.h | 35 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 43 EvaluationContext* ec, 50 EvalStatus UpdateCanStart(EvaluationContext* ec, 57 EvalStatus UpdateDownloadAllowed(EvaluationContext* ec, 64 EvalStatus P2PEnabled(EvaluationContext* ec, 71 EvalStatus P2PEnabledChanged(EvaluationContext* ec,
|
D | policy_utils.h | 49 EvaluationContext* ec, in ConsultPolicies() 72 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() 80 EvaluationContext* ec, in UpdateCanBeApplied() 88 EvalStatus UpdateCanStart(EvaluationContext* ec, in UpdateCanStart() 96 EvalStatus UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed() 103 EvalStatus P2PEnabled(EvaluationContext* ec, in P2PEnabled() 110 EvalStatus P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
|
D | default_policy.h | 68 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 74 EvaluationContext* ec, 80 EvalStatus UpdateCanStart(EvaluationContext* ec, 86 EvalStatus UpdateDownloadAllowed(EvaluationContext* ec, 91 EvalStatus P2PEnabled(EvaluationContext* ec, 96 EvalStatus P2PEnabledChanged(EvaluationContext* ec,
|
D | default_policy.cc | 37 EvalStatus DefaultPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() 62 EvalStatus DefaultPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied() 71 EvalStatus DefaultPolicy::UpdateCanStart(EvaluationContext* ec, in UpdateCanStart() 90 EvalStatus DefaultPolicy::UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed() 98 EvalStatus DefaultPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() 106 EvalStatus DefaultPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
|
D | android_things_policy.cc | 48 EvaluationContext* ec, in UpdateCheckAllowed() 105 EvaluationContext* ec, in UpdateCanBeApplied() 141 EvalStatus AndroidThingsPolicy::UpdateCanStart(EvaluationContext* ec, in UpdateCanStart() 152 EvalStatus AndroidThingsPolicy::UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed() 163 EvalStatus AndroidThingsPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() 173 EvalStatus AndroidThingsPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
|
D | mock_policy.h | 70 EvalStatus(EvaluationContext*, State*, std::string*, UpdateCheckParams*)); 73 EvalStatus(EvaluationContext*, 80 EvalStatus(EvaluationContext*, 88 EvalStatus(EvaluationContext*, State*, std::string*, bool*)); 91 P2PEnabled, EvalStatus(EvaluationContext*, State*, std::string*, bool*)); 95 EvalStatus(EvaluationContext*, State*, std::string*, bool*, bool));
|
D | policy.h | 209 EvaluationContext*, State*, std::string*, R*, Args...) const) const { in PolicyRequestName() 244 virtual EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 254 EvaluationContext* ec, 266 virtual EvalStatus UpdateCanStart(EvaluationContext* ec, 278 virtual EvalStatus UpdateDownloadAllowed(EvaluationContext* ec, 285 virtual EvalStatus P2PEnabled(EvaluationContext* ec, 295 virtual EvalStatus P2PEnabledChanged(EvaluationContext* ec,
|
D | interactive_update_policy_impl.h | 35 EvalStatus UpdateCheckAllowed(EvaluationContext* ec, 41 EvaluationContext* ec, 57 bool CheckInteractiveUpdateRequested(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 | official_build_check_policy_impl.cc | 23 EvaluationContext* ec, in UpdateCheckAllowed()
|
D | chromeos_policy.cc | 201 EvalStatus ChromeOSPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed() 262 EvalStatus ChromeOSPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied() 297 EvaluationContext* ec, in UpdateCanStart() 465 EvalStatus ChromeOSPolicy::UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed() 540 EvalStatus ChromeOSPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled() 576 EvalStatus ChromeOSPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged() 588 EvaluationContext* ec, in UpdateBackoffAndDownloadUrl() 782 EvaluationContext* ec, in UpdateScattering()
|
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 | enough_slots_ab_updates_policy_impl.h | 33 EvalStatus UpdateCheckAllowed(EvaluationContext* ec,
|
D | official_build_check_policy_impl.h | 33 EvalStatus UpdateCheckAllowed(EvaluationContext* ec,
|
D | next_update_check_policy_impl.cc | 35 EvaluationContext* ec, in UpdateCheckAllowed() 57 EvaluationContext* ec, in NextUpdateCheckTime()
|
D | evaluation_context_unittest.cc | 62 void ReadVar(scoped_refptr<EvaluationContext> ec, Variable<T>* var) { in ReadVar() 69 scoped_refptr<EvaluationContext> ec, in EvaluateRepeatedly() 95 eval_ctx_ = new EvaluationContext( in SetUp() 99 unique_ptr<base::Callback<void(EvaluationContext*)>>(nullptr)); in SetUp() 106 base::WeakPtr<EvaluationContext> eval_ctx_weak_alias = in TearDown() 129 scoped_refptr<EvaluationContext> eval_ctx_;
|
D | api_restricted_downloads_policy_impl.h | 34 EvaluationContext* ec,
|