Home
last modified time | relevance | path

Searched refs:SetWallclockTime (Results 1 – 11 of 11) 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.cc882 fake_clock.SetWallclockTime(epoch); in TEST_F()
891 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()
895 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()
900 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()
907 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()
909 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()
914 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
916 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()
924 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
930 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(94)); in TEST_F()
[all …]
Dpayload_state_unittest.cc1043 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000)); in TEST()
1054 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000)); in TEST()
1067 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000)); in TEST()
1085 fake_clock.SetWallclockTime(Time::FromInternalValue(25000000)); in TEST()
1101 fake_clock.SetWallclockTime(Time::FromInternalValue( in TEST()
1119 fake_clock.SetWallclockTime(Time::FromInternalValue( in TEST()
1548 fake_clock.SetWallclockTime(epoch); in TEST()
1560 fake_clock.SetWallclockTime(epoch + in TEST()
1569 fake_clock.SetWallclockTime(epoch + in TEST()
1574 fake_clock.SetWallclockTime(epoch + in TEST()
[all …]
Dp2p_manager_unittest.cc197 fake_clock_.SetWallclockTime(cutoff_time + age_limit); 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.cc66 fake_clock_.SetWallclockTime(InitTime()); in SetUp()
129 fake_clock_.SetWallclockTime(conn_change_time); in SendDefaultServiceSignal()
133 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.cc61 fake_clock_.SetWallclockTime(Time::FromInternalValue(12345678901234L)); in SetUpDefaultClock()
137 fake_clock_.SetWallclockTime(curr_time); in SetUpdateCheckAllowed()
331 fake_clock_.SetWallclockTime(next_update_check - TimeDelta::FromSeconds(1)); in TEST_F()
339 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
363 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
376 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