Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dnext_update_check_policy_impl_unittest.cc55 new Time(fake_clock_->GetWallclockTime() - TimeDelta::FromMinutes(10))); in TEST_F()
61 EXPECT_LE(fake_clock_->GetWallclockTime(), next_update_check); in TEST_F()
62 EXPECT_GE(fake_clock_->GetWallclockTime() + in TEST_F()
78 EXPECT_LE(fake_clock_->GetWallclockTime() + in TEST_F()
83 EXPECT_GE(fake_clock_->GetWallclockTime() + in TEST_F()
106 fake_clock_->GetWallclockTime() + in TEST_F()
110 fake_clock_->GetWallclockTime() + in TEST_F()
132 EXPECT_LE(fake_clock_->GetWallclockTime() + in TEST_F()
135 EXPECT_GE(fake_clock_->GetWallclockTime() + in TEST_F()
151 EXPECT_LE(fake_clock_->GetWallclockTime() + in TEST_F()
[all …]
Dpolicy_test_utils.cc56 Time current_time = FakeSystemState::Get()->clock()->GetWallclockTime(); in SetUpDefaultTimeProvider()
68 new Time(fake_clock_->GetWallclockTime())); in SetUpDefaultState()
70 new Time(fake_clock_->GetWallclockTime())); in SetUpDefaultState()
86 FakeSystemState::Get()->clock()->GetWallclockTime() - first_seen_period; in GetDefaultUpdateState()
Dreal_time_provider.cc43 SystemState::Get()->clock()->GetWallclockTime().LocalExplode(&now_exp); in GetValue()
66 SystemState::Get()->clock()->GetWallclockTime().LocalExplode(&exploded); in GetValue()
82 SystemState::Get()->clock()->GetWallclockTime().LocalExplode(&exploded); in GetValue()
Dchromeos_policy_unittest.cc183 fake_clock_->GetWallclockTime() + TimeDelta::FromMinutes(1234); in TEST_F()
219 fake_clock_->GetWallclockTime() + TimeDelta::FromMinutes(1234); in TEST_F()
361 fake_clock_->SetWallclockTime(fake_clock_->GetWallclockTime() + in TEST_F()
575 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
605 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
638 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
672 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
705 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
738 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
771 const Time curr_time = fake_clock_->GetWallclockTime(); in TEST_F()
[all …]
Dupdate_time_restrictions_monitor.cc52 return WeeklyTime::FromTime(SystemState::Get()->clock()->GetWallclockTime()); in Now()
103 << (SystemState::Get()->clock()->GetWallclockTime() + in WaitForRestrictedIntervalStarts()
Devaluation_context_unittest.cc381 Time cur_time = fake_clock_->GetWallclockTime(); in TEST_F()
393 cur_time = fake_clock_->GetWallclockTime(); in TEST_F()
425 fake_clock_->GetWallclockTime() + TimeDelta::FromSeconds(1))); in TEST_F()
447 fake_clock_->GetWallclockTime() - TimeDelta::FromSeconds(20))); in TEST_F()
449 fake_clock_->GetWallclockTime() - TimeDelta::FromSeconds(1))); in TEST_F()
Dupdate_manager_unittest.cc300 fake_clock->GetWallclockTime() + TimeDelta::FromSeconds(3), in TEST_F()
317 fake_clock->SetWallclockTime(fake_clock->GetWallclockTime() + in TEST_F()
325 fake_clock->SetWallclockTime(fake_clock->GetWallclockTime() + in TEST_F()
Dreal_shill_provider.cc102 SystemState::Get()->clock()->GetWallclockTime()); in ProcessDefaultService()
Dreal_updater_provider.cc248 return new Time(clock->GetWallclockTime() - duration_since_update); in GetValue()
475 SystemState::Get()->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() const = 0;
Dclock.h29 base::Time GetWallclockTime() const override;
Dfake_clock.h29 base::Time GetWallclockTime() const override { return wallclock_time_; } in GetWallclockTime() function
Dclock.cc23 base::Time Clock::GetWallclockTime() const { in GetWallclockTime() function in chromeos_update_engine::Clock
/system/update_engine/cros/
Dpayload_state.cc238 SetUpdateTimestampEnd(SystemState::Get()->clock()->GetWallclockTime()); in UpdateSucceeded()
822 SetUpdateTimestampStart(SystemState::Get()->clock()->GetWallclockTime()); in ResetPersistedState()
1030 ? SystemState::Get()->clock()->GetWallclockTime() in GetUpdateDuration()
1038 Time now = SystemState::Get()->clock()->GetWallclockTime(); in LoadUpdateTimestampStart()
1395 SystemState::Get()->clock()->GetWallclockTime()); in P2PNewAttempt()
1410 Time now = SystemState::Get()->clock()->GetWallclockTime(); in P2PAttemptAllowed()
Dupdate_attempter.cc219 Time now = SystemState::Get()->clock()->GetWallclockTime(); in CheckAndReportDailyMetrics()
262 Time now = SystemState::Get()->clock()->GetWallclockTime(); in ReportOSAge()
1079 SystemState::Get()->clock()->GetWallclockTime().ToTimeT(); in UpdateLastCheckedTime()
1847 SystemState::Get()->clock()->GetWallclockTime() - in ReportTimeToUpdateAppliedMetric()
Dmetrics_reporter_omaha.cc557 Time now = SystemState::Get()->clock()->GetWallclockTime(); in WallclockDurationHelper()
Dp2p_manager.cc343 SystemState::Get()->clock()->GetWallclockTime() - time > in PerformHousekeeping()
Domaha_request_action.cc1275 SystemState::Get()->clock()->GetWallclockTime() - update_first_seen_at; in IsWallClockBasedWaitingSatisfied()
1765 update_first_seen_at = SystemState::Get()->clock()->GetWallclockTime(); in LoadOrPersistUpdateFirstSeenAtPref()