Home
last modified time | relevance | path

Searched refs:clock_ (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/update_manager/
Dreal_time_provider.cc38 : 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()
Dreal_time_provider.h33 : clock_(clock) {} in RealTimeProvider()
48 chromeos_update_engine::ClockInterface* const clock_;
Ddefault_policy.cc32 : 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()
Devaluation_context.cc72 : clock_(clock), in EvaluationContext()
101 TimeDelta remaining = monotonic_deadline - clock_->GetMonotonicTime(); in RemainingTime()
107 clock_->GetMonotonicTime() + timeout); in MonotonicDeadline()
142 evaluation_start_wallclock_ = clock_->GetWallclockTime(); in ResetEvaluation()
143 evaluation_start_monotonic_ = clock_->GetMonotonicTime(); in ResetEvaluation()
Dreal_shill_provider.h42 : shill_proxy_(shill_proxy), clock_(clock) {} in RealShillProvider()
86 chromeos_update_engine::ClockInterface* const clock_; variable
Dupdate_manager.cc27 : default_policy_(clock), state_(state), clock_(clock), in UpdateManager()
Dupdate_manager-inl.h121 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest()
145 clock_, evaluation_timeout_, expiration_timeout_, in AsyncPolicyRequest()
Ddefault_policy.h95 chromeos_update_engine::ClockInterface* clock_;
Devaluation_context.h177 chromeos_update_engine::ClockInterface* const clock_; variable
Dupdate_manager.h152 chromeos_update_engine::ClockInterface* clock_; variable
Dreal_shill_provider.cc100 var_conn_last_changed_.SetValue(clock_->GetWallclockTime()); in ProcessDefaultService()
/system/update_engine/
Dfake_system_state.h52 inline ClockInterface* clock() override { return clock_; } in clock()
114 clock_ = clock ? clock : &fake_clock_; in set_clock()
178 CHECK(clock_ == &fake_clock_); in fake_clock()
251 ClockInterface* clock_; variable
Dreal_system_state.h83 inline ClockInterface* clock() override { return &clock_; } in clock()
142 Clock clock_; variable
Dfake_system_state.cc27 clock_(&fake_clock_), in FakeSystemState()
Dreal_system_state.cc157 &clock_, base::TimeDelta::FromSeconds(5), in Initialize()
162 nullptr, &clock_, update_manager_.get(), "cros_au", in Initialize()
Dp2p_manager.cc179 ClockInterface* clock_; member in chromeos_update_engine::P2PManagerImpl
224 : clock_(clock), in P2PManagerImpl()
354 if (clock_ != nullptr && max_file_age_ != TimeDelta() && in PerformHousekeeping()
355 clock_->GetWallclockTime() - time > max_file_age_) { in PerformHousekeeping()