Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc74 FakeSystemState::Get()->fake_clock()->SetWallclockTime(now); in TEST_F()
82 FakeSystemState::Get()->fake_clock()->SetWallclockTime(now); in TEST_F()
91 FakeSystemState::Get()->fake_clock()->SetWallclockTime(now); in TEST_F()
Dupdate_time_restrictions_monitor_unittest.cc92 FakeSystemState::Get()->fake_clock()->SetWallclockTime(now); in SetNow()
101 FakeSystemState::Get()->fake_clock()->SetWallclockTime(test_clock_.Now()); in AdvanceAfterTimestamp()
Dupdate_time_restrictions_policy_impl_unittest.cc63 fake_clock_->SetWallclockTime(time); in TestPolicy()
Dreal_shill_provider_unittest.cc66 FakeSystemState::Get()->fake_clock()->SetWallclockTime(InitTime()); in SetUp()
130 FakeSystemState::Get()->fake_clock()->SetWallclockTime(conn_change_time); in SendDefaultServiceSignal()
134 FakeSystemState::Get()->fake_clock()->SetWallclockTime( in SendDefaultServiceSignal()
Dupdate_manager_unittest.cc317 fake_clock->SetWallclockTime(fake_clock->GetWallclockTime() + in TEST_F()
325 fake_clock->SetWallclockTime(fake_clock->GetWallclockTime() + in TEST_F()
Dpolicy_test_utils.cc52 fake_clock_->SetWallclockTime(Time::FromInternalValue(12345678901234L)); in SetUpDefaultClock()
Devaluation_context_unittest.cc99 fake_clock_->SetWallclockTime(Time::FromTimeT(1141262625)); in SetUp()
383 fake_clock_->SetWallclockTime(cur_time + TimeDelta::FromSeconds(4)); 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()
361 fake_clock_->SetWallclockTime(fake_clock_->GetWallclockTime() + in TEST_F()
Dreal_updater_provider_unittest.cc119 FakeSystemState::Get()->fake_clock()->SetWallclockTime(kCurrWallclockTime); in SetupUpdateCompletedTime()
127 FakeSystemState::Get()->fake_clock()->SetWallclockTime( in TEST_F()
/system/update_engine/cros/
Dmetrics_reporter_omaha_unittest.cc65 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()
107 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(61000000)); in TEST_F()
175 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()
247 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(61000000)); in TEST_F()
527 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(1000000)); in TEST_F()
546 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(2000000)); in TEST_F()
553 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST_F()
562 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(3000000)); in TEST_F()
565 fake_clock_->SetWallclockTime(base::Time::FromInternalValue(4000000)); in TEST_F()
Dpayload_state_unittest.cc1054 fake_clock->SetWallclockTime(Time::FromInternalValue(1000000)); in TEST_F()
1065 fake_clock->SetWallclockTime(Time::FromInternalValue(8000000)); in TEST_F()
1079 fake_clock->SetWallclockTime(Time::FromInternalValue(18000000)); in TEST_F()
1098 fake_clock->SetWallclockTime(Time::FromInternalValue(25000000)); in TEST_F()
1507 fake_clock->SetWallclockTime(epoch); in TEST_F()
1519 fake_clock->SetWallclockTime( in TEST_F()
1528 fake_clock->SetWallclockTime( in TEST_F()
1533 fake_clock->SetWallclockTime( in TEST_F()
1559 FakeSystemState::Get()->fake_clock()->SetWallclockTime(time); in TEST_F()
1583 FakeSystemState::Get()->fake_clock()->SetWallclockTime(time); in TEST_F()
Dupdate_attempter_unittest.cc1311 fake_clock->SetWallclockTime(epoch); in TEST_F()
1320 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(10)); in TEST_F()
1324 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(24) - in TEST_F()
1329 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(24)); in TEST_F()
1336 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(47)); in TEST_F()
1338 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(48)); in TEST_F()
1343 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
1345 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(72)); in TEST_F()
1353 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(71)); in TEST_F()
1359 fake_clock->SetWallclockTime(epoch + TimeDelta::FromHours(94)); in TEST_F()
[all …]
Domaha_request_action_unittest.cc1094 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1110 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1152 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1169 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1190 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1205 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1229 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
1245 FakeSystemState::Get()->fake_clock()->SetWallclockTime(Time::Now()); in TEST_F()
2216 FakeSystemState::Get()->fake_clock()->SetWallclockTime(arbitrary_date); in TEST_F()
2248 FakeSystemState::Get()->fake_clock()->SetWallclockTime(t2); in TEST_F()
[all …]
Dp2p_manager_unittest.cc208 FakeSystemState::Get()->fake_clock()->SetWallclockTime(cutoff_time + in TEST_F()
/system/update_engine/common/
Dfake_clock.h35 void SetWallclockTime(const base::Time& time) { wallclock_time_ = time; } in SetWallclockTime() function