Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dchromeos_policy_unittest.cc68 new Time(fake_clock_.GetWallclockTime())); in SetUpDefaultState()
70 new Time(fake_clock_.GetWallclockTime())); in SetUpDefaultState()
144 Time first_seen_time = fake_clock_.GetWallclockTime() - first_seen_period; in GetDefaultUpdateState()
213 new Time(fake_clock_.GetWallclockTime() - TimeDelta::FromMinutes(10))); in TEST_F()
218 EXPECT_LE(fake_clock_.GetWallclockTime(), next_update_check); in TEST_F()
220 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
235 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
240 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
259 fake_clock_.GetWallclockTime() + TimeDelta::FromSeconds( in TEST_F()
263 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_shill_provider.cc100 var_conn_last_changed_.SetValue(clock_->GetWallclockTime()); in ProcessDefaultService()
Dreal_updater_provider.cc252 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue()
422 system_state->clock()->GetWallclockTime()), in RealUpdaterProvider()
Devaluation_context.cc144 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.cc228 SetUpdateTimestampEnd(system_state_->clock()->GetWallclockTime()); in UpdateSucceeded()
776 SetUpdateTimestampStart(system_state_->clock()->GetWallclockTime()); in ResetPersistedState()
994 ? system_state_->clock()->GetWallclockTime() : in GetUpdateDuration()
1005 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart()
1230 int64_t value = system_state_->clock()->GetWallclockTime().ToInternalValue(); in CreateSystemUpdatedMarkerFile()
1262 system_state_->clock()->GetWallclockTime() - system_updated_at; in UpdateEngineStarted()
1397 SetP2PFirstAttemptTimestamp(system_state_->clock()->GetWallclockTime()); in P2PNewAttempt()
1413 Time now = system_state_->clock()->GetWallclockTime(); in P2PAttemptAllowed()
Dmetrics_utils.cc273 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper()
Dupdate_attempter.cc188 Time now = system_state_->clock()->GetWallclockTime(); in UpdateAttempter()
235 Time now = system_state_->clock()->GetWallclockTime(); in UpdateAttempter()
882 last_checked_time_ = system_state_->clock()->GetWallclockTime().ToTimeT(); in UpdateAttempter()
Domaha_request_action.cc1338 update_first_seen_at = system_state_->clock()->GetWallclockTime(); in IsWallClockBasedWaitingSatisfied()
1356 system_state_->clock()->GetWallclockTime() - update_first_seen_at; in IsWallClockBasedWaitingSatisfied()
Dp2p_manager.cc358 clock_->GetWallclockTime() - time > max_file_age_) { in PerformHousekeeping()