/system/update_engine/update_manager/ |
D | real_time_provider.cc | 38 : Variable<Time>(name, TimeDelta::FromHours(1)), clock_(clock) {} in CurrDateVariable() 43 clock_->GetWallclockTime().LocalExplode(&now_exp); in GetValue() 52 ClockInterface* clock_; member in chromeos_update_manager::CurrDateVariable 63 : Variable<int>(name, TimeDelta::FromMinutes(5)), clock_(clock) {} in CurrHourVariable() 68 clock_->GetWallclockTime().LocalExplode(&exploded); in GetValue() 73 ClockInterface* clock_; member in chromeos_update_manager::CurrHourVariable 81 : Variable<int>(name, TimeDelta::FromSeconds(15)), clock_(clock) {} in CurrMinuteVariable() 86 clock_->GetWallclockTime().LocalExplode(&exploded); in GetValue() 91 ClockInterface* clock_; member in chromeos_update_manager::CurrMinuteVariable 97 var_curr_date_.reset(new CurrDateVariable("curr_date", clock_)); in Init() [all …]
|
D | real_time_provider.h | 33 : clock_(clock) {} in RealTimeProvider() 48 chromeos_update_engine::ClockInterface* const clock_;
|
D | default_policy.cc | 35 : clock_(clock), aux_state_(new DefaultPolicyState()) {} in DefaultPolicy() 54 if (clock_) in UpdateCheckAllowed() 55 aux_state_->set_last_check_allowed_time(clock_->GetMonotonicTime()); in UpdateCheckAllowed()
|
D | evaluation_context.cc | 72 : 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()
|
D | real_shill_provider.h | 42 : shill_proxy_(shill_proxy), clock_(clock) {} in RealShillProvider() 85 chromeos_update_engine::ClockInterface* const clock_; variable
|
D | update_manager.cc | 34 clock_(clock), in UpdateManager()
|
D | update_manager-inl.h | 123 new EvaluationContext(clock_, evaluation_timeout_)); in PolicyRequest() 145 clock_, in AsyncPolicyRequest()
|
D | default_policy.h | 108 chromeos_update_engine::ClockInterface* clock_;
|
D | evaluation_context.h | 178 chromeos_update_engine::ClockInterface* const clock_; variable
|
D | update_manager.h | 149 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 | update_attempter_android_unittest.cc | 48 clock_ = new FakeClock(); in SetUp() 51 update_attempter_android_.clock_.reset(clock_); in SetUp() 68 FakeClock* clock_; member in chromeos_update_engine::UpdateAttempterAndroidTest 106 clock_->SetMonotonicTime(now); in TEST_F() 129 clock_->SetBootTime(boot_time); in TEST_F() 130 clock_->SetMonotonicTime(up_time); in TEST_F()
|
D | fake_system_state.h | 53 inline ClockInterface* clock() override { return clock_; } in clock() 116 clock_ = clock ? clock : &fake_clock_; in set_clock() 185 CHECK(clock_ == &fake_clock_); in fake_clock() 258 ClockInterface* clock_; variable
|
D | real_system_state.h | 88 inline ClockInterface* clock() override { return &clock_; } in clock() 151 Clock clock_; variable
|
D | fake_system_state.cc | 27 clock_(&fake_clock_), in FakeSystemState()
|
D | update_attempter_android.cc | 109 clock_(new Clock()) { in UpdateAttempterAndroid() 602 metrics_utils::SetSystemUpdatedMarker(clock_.get(), prefs_); in TerminateUpdateAndNotify() 699 TimeDelta duration = clock_->GetBootTime() - boot_time_start; in CollectAndReportUpdateMetricsOnUpdateFinished() 700 TimeDelta duration_uptime = clock_->GetMonotonicTime() - monotonic_time_start; in CollectAndReportUpdateMetricsOnUpdateFinished() 804 metrics_reporter_.get(), prefs_, clock_.get()); in UpdatePrefsAndReportUpdateMetricsOnReboot() 824 metrics_utils::SetUpdateTimestampStart(clock_->GetMonotonicTime(), prefs_); in UpdatePrefsOnUpdateStart() 825 metrics_utils::SetUpdateBootTimestampStart(clock_->GetBootTime(), prefs_); in UpdatePrefsOnUpdateStart()
|
D | real_system_state.cc | 173 &clock_, in Initialize() 181 &clock_, in Initialize()
|
D | p2p_manager.cc | 175 ClockInterface* clock_; member in chromeos_update_engine::P2PManagerImpl 220 : clock_(clock), in P2PManagerImpl() 348 if (clock_ != nullptr && max_file_age_ != TimeDelta() && in PerformHousekeeping() 349 clock_->GetWallclockTime() - time > max_file_age_) { in PerformHousekeeping()
|
D | update_attempter_android.h | 190 std::unique_ptr<ClockInterface> clock_; variable
|