Home
last modified time | relevance | path

Searched refs:GetWallclockTime (Results 1 – 15 of 15) sorted by relevance

/system/update_engine/update_manager/
Dchromeos_policy_unittest.cc66 new Time(fake_clock_.GetWallclockTime())); in SetUpDefaultState()
68 new Time(fake_clock_.GetWallclockTime())); in SetUpDefaultState()
142 Time first_seen_time = fake_clock_.GetWallclockTime() - first_seen_period; in GetDefaultUpdateState()
211 new Time(fake_clock_.GetWallclockTime() - TimeDelta::FromMinutes(10))); in TEST_F()
216 EXPECT_LE(fake_clock_.GetWallclockTime(), next_update_check); in TEST_F()
218 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
233 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
238 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
257 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
261 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
[all …]
Dreal_time_provider.cc44 clock_->GetWallclockTime().LocalExplode(&now_exp); in GetValue()
67 clock_->GetWallclockTime().LocalExplode(&exploded); in GetValue()
Devaluation_context_unittest.cc375 Time cur_time = fake_clock_.GetWallclockTime(); in TEST_F()
387 cur_time = fake_clock_.GetWallclockTime(); in TEST_F()
419 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds(1))); in TEST_F()
441 fake_clock_.GetWallclockTime() - TimeDelta::FromSeconds(20))); in TEST_F()
443 fake_clock_.GetWallclockTime() - TimeDelta::FromSeconds(1))); in TEST_F()
Dupdate_manager_unittest.cc292 0, fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds(3), in TEST_F()
309 fake_clock_.SetWallclockTime(fake_clock_.GetWallclockTime() + in TEST_F()
317 fake_clock_.SetWallclockTime(fake_clock_.GetWallclockTime() + in TEST_F()
Dreal_updater_provider.cc252 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue()
422 system_state->clock()->GetWallclockTime()), in RealUpdaterProvider()
Dreal_shill_provider.cc126 var_conn_last_changed_.SetValue(clock_->GetWallclockTime()); in ProcessDefaultService()
Devaluation_context.cc142 evaluation_start_wallclock_ = clock_->GetWallclockTime(); in ResetEvaluation()
/system/update_engine/common/
Dclock_interface.h35 virtual base::Time GetWallclockTime() = 0;
Dclock.h29 base::Time GetWallclockTime() override;
Dfake_clock.h29 base::Time GetWallclockTime() override { in GetWallclockTime() function
Dclock.cc23 base::Time Clock::GetWallclockTime() { in GetWallclockTime() function in chromeos_update_engine::Clock
/system/update_engine/
Dpayload_state.cc222 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded()
759 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState()
957 ? system_state_->clock()->GetWallclockTime() : in GetUpdateDuration()
968 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart()
1191 int64_t value = system_state_->clock()->GetWallclockTime().ToInternalValue(); in CreateSystemUpdatedMarkerFile()
1223 system_state_->clock()->GetWallclockTime() - system_updated_at; in UpdateEngineStarted()
1358 SetP2PFirstAttemptTimestamp(system_state_->clock()->GetWallclockTime()); in P2PNewAttempt()
1374 Time now = system_state_->clock()->GetWallclockTime(); in P2PAttemptAllowed()
Dmetrics_utils.cc267 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper()
Dupdate_attempter.cc193 Time now = system_state_->clock()->GetWallclockTime(); in CheckAndReportDailyMetrics()
240 Time now = system_state_->clock()->GetWallclockTime(); in ReportOSAge()
912 last_checked_time_ = system_state_->clock()->GetWallclockTime().ToTimeT(); in UpdateLastCheckedTime()
Dp2p_manager.cc355 clock_->GetWallclockTime() - time > max_file_age_) { in PerformHousekeeping()