Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc74 fake_clock_.SetWallclockTime(now); in TEST_F()
82 fake_clock_.SetWallclockTime(now); in TEST_F()
91 fake_clock_.SetWallclockTime(now); in TEST_F()
Dandroid_things_policy_unittest.cc61 fake_clock_.SetWallclockTime(curr_time); in SetUpdateCheckAllowed()
86 fake_clock_.SetWallclockTime(next_update_check - TimeDelta::FromSeconds(1)); in TEST_F()
96 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
Dupdate_time_restrictions_policy_impl_unittest.cc63 fake_clock_.SetWallclockTime(time); in TestPolicy()
Dreal_shill_provider_unittest.cc66 fake_clock_.SetWallclockTime(InitTime()); in SetUp()
130 fake_clock_.SetWallclockTime(conn_change_time); in SendDefaultServiceSignal()
134 fake_clock_.SetWallclockTime(conn_change_time + TimeDelta::FromSeconds(5)); in SendDefaultServiceSignal()
Dpolicy_test_utils.cc49 fake_clock_.SetWallclockTime(Time::FromInternalValue(12345678901234L)); in SetUpDefaultClock()
Dupdate_manager_unittest.cc317 fake_clock_.SetWallclockTime(fake_clock_.GetWallclockTime() + in TEST_F()
325 fake_clock_.SetWallclockTime(fake_clock_.GetWallclockTime() + in TEST_F()
Devaluation_context_unittest.cc95 fake_clock_.SetWallclockTime(Time::FromTimeT(1141262625)); in SetUp()
380 fake_clock_.SetWallclockTime(cur_time + TimeDelta::FromSeconds(4)); in TEST_F()
Dreal_updater_provider_unittest.cc124 fake_clock_->SetWallclockTime(kCurrWallclockTime); in SetupUpdateCompletedTime()
135 fake_clock_->SetWallclockTime(Time::FromDoubleT(123.456)); in TEST_F()
Dchromeos_policy_unittest.cc112 fake_clock_.SetWallclockTime(curr_time); in SetUpdateCheckAllowed()
198 fake_clock_.SetWallclockTime(next_update_check - TimeDelta::FromSeconds(1)); in TEST_F()
206 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
231 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
243 fake_clock_.SetWallclockTime(next_update_check + TimeDelta::FromSeconds(1)); in TEST_F()
/system/update_engine/
Dmetrics_utils_unittest.cc88 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST()
110 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000)); in TEST()
119 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()
130 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000)); in TEST()
133 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST()
Dmetrics_reporter_omaha_unittest.cc68 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()
111 fake_clock.SetWallclockTime(base::Time::FromInternalValue(61000000)); in TEST_F()
192 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()
265 fake_clock.SetWallclockTime(base::Time::FromInternalValue(61000000)); in TEST_F()
Dpayload_state_unittest.cc1065 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000)); in TEST()
1077 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000)); in TEST()
1091 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000)); in TEST()
1110 fake_clock.SetWallclockTime(Time::FromInternalValue(25000000)); in TEST()
1554 fake_clock.SetWallclockTime(epoch); in TEST()
1566 fake_clock.SetWallclockTime( in TEST()
1575 fake_clock.SetWallclockTime( in TEST()
1580 fake_clock.SetWallclockTime( in TEST()
1615 fake_clock.SetWallclockTime(time); in TEST()
1645 fake_clock.SetWallclockTime(time); in TEST()
Dupdate_attempter_unittest.cc1382 fake_clock.SetWallclockTime(epoch); in TEST_F()
1391 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()
1395 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()
1400 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()
1407 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()
1409 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()
1414 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
1416 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()
1424 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
1430 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(94)); in TEST_F()
[all …]
Domaha_request_action_unittest.cc1095 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1111 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1153 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1170 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1191 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1206 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1230 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1246 fake_system_state_.fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
2101 fake_system_state_.fake_clock()->SetWallclockTime(arbitrary_date); in TEST_F()
2133 fake_system_state_.fake_clock()->SetWallclockTime(t2); in TEST_F()
[all …]
Dp2p_manager_unittest.cc200 fake_clock_.SetWallclockTime(cutoff_time + age_limit); in TEST_F()
/system/update_engine/common/
Dfake_clock.h35 void SetWallclockTime(const base::Time& time) { wallclock_time_ = time; } in SetWallclockTime() function