Home
last modified time | relevance | path

Searched refs:GetMonotonicTime (Results 1 – 11 of 11) sorted by relevance

/system/update_engine/common/
Dclock_interface.h42 virtual base::Time GetMonotonicTime() const = 0;
Dclock.h30 base::Time GetMonotonicTime() const override;
Dfake_clock.h31 base::Time GetMonotonicTime() const override { return monotonic_time_; } in GetMonotonicTime() function
Dclock.cc27 base::Time Clock::GetMonotonicTime() const { in GetMonotonicTime() function in chromeos_update_engine::Clock
/system/update_engine/update_manager/
Devaluation_context_unittest.cc371 fake_clock_->SetMonotonicTime(fake_clock_->GetMonotonicTime() + in TEST_F()
402 Time cur_time = fake_clock_->GetMonotonicTime(); in TEST_F()
414 cur_time = fake_clock_->GetMonotonicTime(); in TEST_F()
435 fake_clock_->GetMonotonicTime() + TimeDelta::FromSeconds(1))); in TEST_F()
460 fake_clock_->GetMonotonicTime() - TimeDelta::FromSeconds(20))); in TEST_F()
462 fake_clock_->GetMonotonicTime() - TimeDelta::FromSeconds(1))); in TEST_F()
Devaluation_context.cc101 monotonic_deadline - SystemState::Get()->clock()->GetMonotonicTime(); in RemainingTime()
108 : SystemState::Get()->clock()->GetMonotonicTime() + timeout); in MonotonicDeadline()
145 evaluation_start_monotonic_ = clock->GetMonotonicTime(); in ResetEvaluation()
Ddefault_policy.cc57 SystemState::Get()->clock()->GetMonotonicTime()); in UpdateCheckAllowed()
/system/update_engine/
Dmetrics_utils.cc332 Time update_finish_time = clock->GetMonotonicTime(); in SetSystemUpdatedMarker()
366 TimeDelta time_to_reboot = clock->GetMonotonicTime() - system_updated_at; in LoadAndReportTimeToReboot()
/system/update_engine/cros/
Dpayload_state.cc201 attempt_start_time_monotonic_ = clock->GetMonotonicTime(); in AttemptStarted()
634 clock->GetMonotonicTime() - attempt_start_time_monotonic_; in CollectAndReportAttemptMetrics()
1160 Time now = SystemState::Get()->clock()->GetMonotonicTime(); in SetUpdateDurationUptime()
1165 Time now = SystemState::Get()->clock()->GetMonotonicTime(); in CalculateUpdateDurationUptime()
Dmetrics_reporter_omaha.cc582 Time now = SystemState::Get()->clock()->GetMonotonicTime(); in MonotonicDurationHelper()
/system/update_engine/aosp/
Dupdate_attempter_android.cc827 TimeDelta duration_uptime = clock_->GetMonotonicTime() - monotonic_time_start; in CollectAndReportUpdateMetricsOnUpdateFinished()
961 metrics_utils::SetUpdateTimestampStart(clock_->GetMonotonicTime(), prefs_); in UpdatePrefsOnUpdateStart()