Home
last modified time | relevance | path

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

/system/update_engine/common/
Dclock_interface.h42 virtual base::Time GetMonotonicTime() = 0;
Dclock.h31 base::Time GetMonotonicTime() override;
Dfake_clock.h31 base::Time GetMonotonicTime() override { return monotonic_time_; } in GetMonotonicTime() function
Dclock.cc27 base::Time Clock::GetMonotonicTime() { in GetMonotonicTime() function in chromeos_update_engine::Clock
/system/update_engine/update_manager/
Devaluation_context_unittest.cc368 fake_clock_.SetMonotonicTime(fake_clock_.GetMonotonicTime() + in TEST_F()
399 Time cur_time = fake_clock_.GetMonotonicTime(); in TEST_F()
411 cur_time = fake_clock_.GetMonotonicTime(); in TEST_F()
432 fake_clock_.GetMonotonicTime() + TimeDelta::FromSeconds(1))); in TEST_F()
457 fake_clock_.GetMonotonicTime() - TimeDelta::FromSeconds(20))); in TEST_F()
459 fake_clock_.GetMonotonicTime() - TimeDelta::FromSeconds(1))); in TEST_F()
Devaluation_context.cc101 TimeDelta remaining = monotonic_deadline - clock_->GetMonotonicTime(); in RemainingTime()
107 : clock_->GetMonotonicTime() + timeout); in MonotonicDeadline()
143 evaluation_start_monotonic_ = clock_->GetMonotonicTime(); in ResetEvaluation()
Ddefault_policy.cc55 aux_state_->set_last_check_allowed_time(clock_->GetMonotonicTime()); in UpdateCheckAllowed()
/system/update_engine/
Dmetrics_utils.cc325 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper()
371 Time update_finish_time = clock->GetMonotonicTime(); in SetSystemUpdatedMarker()
406 clock->GetMonotonicTime() - system_updated_at; in LoadAndReportTimeToReboot()
Dpayload_state.cc202 attempt_start_time_monotonic_ = clock->GetMonotonicTime(); in AttemptStarted()
632 clock->GetMonotonicTime() - attempt_start_time_monotonic_; in CollectAndReportAttemptMetrics()
1177 Time now = system_state_->clock()->GetMonotonicTime(); in SetUpdateDurationUptime()
1182 Time now = system_state_->clock()->GetMonotonicTime(); in CalculateUpdateDurationUptime()
Dupdate_attempter_android.cc804 TimeDelta duration_uptime = clock_->GetMonotonicTime() - monotonic_time_start; in CollectAndReportUpdateMetricsOnUpdateFinished()
932 metrics_utils::SetUpdateTimestampStart(clock_->GetMonotonicTime(), prefs_); in UpdatePrefsOnUpdateStart()