/system/update_engine/update_manager/ |
D | real_time_provider.cc | 38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} in CurrDateVariable() 44 clock_->GetWallclockTime().LocalExplode(&now_exp); in GetValue() 50 ClockInterface* clock_; member in chromeos_update_manager::CurrDateVariable 61 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} in CurrHourVariable() 67 clock_->GetWallclockTime().LocalExplode(&exploded); in GetValue() 72 ClockInterface* clock_; member in chromeos_update_manager::CurrHourVariable 78 var_curr_date_.reset(new CurrDateVariable("curr_date", clock_)); in Init() 79 var_curr_hour_.reset(new CurrHourVariable("curr_hour", clock_)); in Init()
|
D | real_time_provider.h | 33 : clock_(clock) {} in RealTimeProvider() 48 chromeos_update_engine::ClockInterface* const clock_;
|
D | default_policy.cc | 32 : clock_(clock), aux_state_(new DefaultPolicyState()) {} in DefaultPolicy() 48 if (clock_) in UpdateCheckAllowed() 49 aux_state_->set_last_check_allowed_time(clock_->GetMonotonicTime()); in UpdateCheckAllowed()
|
D | evaluation_context.cc | 74 : clock_(clock), in EvaluationContext() 103 TimeDelta remaining = monotonic_deadline - clock_->GetMonotonicTime(); in RemainingTime() 109 clock_->GetMonotonicTime() + timeout); in MonotonicDeadline() 144 evaluation_start_wallclock_ = clock_->GetWallclockTime(); in ResetEvaluation() 145 evaluation_start_monotonic_ = clock_->GetMonotonicTime(); in ResetEvaluation()
|
D | real_shill_provider.h | 42 : shill_proxy_(shill_proxy), clock_(clock) {} in RealShillProvider() 86 chromeos_update_engine::ClockInterface* const clock_; variable
|
D | update_manager.cc | 27 : default_policy_(clock), state_(state), clock_(clock), in UpdateManager()
|
D | update_manager-inl.h | 121 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest() 145 clock_, evaluation_timeout_, expiration_timeout_, in AsyncPolicyRequest()
|
D | default_policy.h | 95 chromeos_update_engine::ClockInterface* clock_;
|
D | evaluation_context.h | 177 chromeos_update_engine::ClockInterface* const clock_; variable
|
D | update_manager.h | 152 chromeos_update_engine::ClockInterface* clock_; variable
|
D | real_shill_provider.cc | 100 var_conn_last_changed_.SetValue(clock_->GetWallclockTime()); in ProcessDefaultService()
|
/system/update_engine/ |
D | fake_system_state.h | 52 inline ClockInterface* clock() override { return clock_; } in clock() 112 clock_ = clock ? clock : &fake_clock_; in set_clock() 176 CHECK(clock_ == &fake_clock_); in fake_clock() 249 ClockInterface* clock_; variable
|
D | real_system_state.h | 87 inline ClockInterface* clock() override { return &clock_; } in clock() 144 Clock clock_; variable
|
D | fake_system_state.cc | 27 clock_(&fake_clock_), in FakeSystemState()
|
D | real_system_state.cc | 173 &clock_, base::TimeDelta::FromSeconds(5), in Initialize() 178 nullptr, &clock_, update_manager_.get(), "cros_au", in Initialize()
|
D | p2p_manager.cc | 182 ClockInterface* clock_; member in chromeos_update_engine::P2PManagerImpl 227 : clock_(clock), in P2PManagerImpl() 357 if (clock_ != nullptr && max_file_age_ != TimeDelta() && in PerformHousekeeping() 358 clock_->GetWallclockTime() - time > max_file_age_) { in PerformHousekeeping()
|