Home
last modified time | relevance | path

Searched refs:SetWallclockTime (Results 1 – 12 of 12) sorted by relevance

/system/update_engine/
Dmetrics_utils_unittest.cc91 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST()
117 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000)); in TEST()
128 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()
141 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000)); in TEST()
145 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()
Dupdate_attempter_unittest.cc869 fake_clock.SetWallclockTime(epoch); in TEST_F()
878 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()
882 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()
887 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()
894 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()
896 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()
901 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
903 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()
911 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
917 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(94)); in TEST_F()
[all …]
Dpayload_state_unittest.cc1057 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000)); in TEST()
1069 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000)); in TEST()
1083 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000)); in TEST()
1102 fake_clock.SetWallclockTime(Time::FromInternalValue(25000000)); in TEST()
1118 fake_clock.SetWallclockTime(Time::FromInternalValue( in TEST()
1137 fake_clock.SetWallclockTime(Time::FromInternalValue( in TEST()
1577 fake_clock.SetWallclockTime(epoch); in TEST()
1589 fake_clock.SetWallclockTime(epoch + in TEST()
1598 fake_clock.SetWallclockTime(epoch + in TEST()
1603 fake_clock.SetWallclockTime(epoch + in TEST()
[all …]
Dp2p_manager_unittest.cc197 fake_clock_.SetWallclockTime(cutoff_time + age_limit); in TEST_F()
Domaha_request_action_unittest.cc2042 fake_system_state_.fake_clock()->SetWallclockTime(arbitrary_date); in TEST_F()
2086 fake_system_state_.fake_clock()->SetWallclockTime(t2); in TEST_F()
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc71 fake_clock_.SetWallclockTime(now); in TEST_F()
79 fake_clock_.SetWallclockTime(now); in TEST_F()
Dreal_shill_provider_unittest.cc68 fake_clock_.SetWallclockTime(InitTime()); in SetUp()
132 fake_clock_.SetWallclockTime(conn_change_time); in SendDefaultServiceSignal()
136 fake_clock_.SetWallclockTime(conn_change_time + TimeDelta::FromSeconds(5)); in SendDefaultServiceSignal()
Dupdate_manager_unittest.cc309 fake_clock_.SetWallclockTime(fake_clock_.GetWallclockTime() + in TEST_F()
317 fake_clock_.SetWallclockTime(fake_clock_.GetWallclockTime() + in TEST_F()
Devaluation_context_unittest.cc93 fake_clock_.SetWallclockTime(Time::FromTimeT(1141262625)); in SetUp()
377 fake_clock_.SetWallclockTime(cur_time + TimeDelta::FromSeconds(4)); in TEST_F()
Dchromeos_policy_unittest.cc63 fake_clock_.SetWallclockTime(Time::FromInternalValue(12345678901234L)); in SetUpDefaultClock()
139 fake_clock_.SetWallclockTime(curr_time); in SetUpdateCheckAllowed()
333 fake_clock_.SetWallclockTime(next_update_check - TimeDelta::FromSeconds(1)); in TEST_F()
341 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
365 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
378 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
Dreal_updater_provider_unittest.cc99 fake_clock_->SetWallclockTime(kCurrWallclockTime); in SetupUpdateCompletedTime()
110 fake_clock_->SetWallclockTime(Time::FromDoubleT(123.456)); in TEST_F()
/system/update_engine/common/
Dfake_clock.h41 void SetWallclockTime(const base::Time &time) { in SetWallclockTime() function