Searched refs:fake_clock (Results 1 - 9 of 9) sorted by last modified time

/system/update_engine/
H A Dfake_system_state.h26 #include "update_engine/common/fake_clock.h"
178 inline FakeClock* fake_clock() { function in class:chromeos_update_engine::FakeSystemState
H A Dmetrics_reporter_omaha_unittest.cc27 #include "update_engine/common/fake_clock.h"
61 FakeClock fake_clock; local
65 fake_system_state.set_clock(&fake_clock);
67 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000));
68 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(1000000));
102 fake_clock.SetWallclockTime(base::Time::FromInternalValue(61000000));
103 fake_clock.SetMonotonicTime(base::Time::FromInternalValue(61000000));
122 FakeClock fake_clock; local
125 fake_system_state.set_clock(&fake_clock);
127 fake_clock
[all...]
H A Dmetrics_utils_unittest.cc21 #include "update_engine/common/fake_clock.h"
82 FakeClock fake_clock; local
87 fake_system_state.set_clock(&fake_clock);
91 fake_clock.SetWallclockTime(base::Time::FromInternalValue(1000000));
117 fake_clock.SetWallclockTime(base::Time::FromInternalValue(2000000));
128 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000));
141 fake_clock.SetWallclockTime(base::Time::FromInternalValue(3000000));
145 fake_clock.SetWallclockTime(base::Time::FromInternalValue(4000000));
155 FakeClock fake_clock; local
158 fake_system_state.set_clock(&fake_clock);
[all...]
H A Domaha_request_action_unittest.cc2113 fake_system_state_.fake_clock()->SetWallclockTime(arbitrary_date);
2157 fake_system_state_.fake_clock()->SetWallclockTime(t2);
H A Domaha_response_handler_action_unittest.cc502 FakeClock fake_clock; local
503 MockPolicy* mock_policy = new MockPolicy(&fake_clock);
H A Dpayload_state_unittest.cc26 #include "update_engine/common/fake_clock.h"
1035 FakeClock fake_clock; local
1040 fake_clock.SetWallclockTime(Time::FromInternalValue(1000000));
1041 fake_clock.SetMonotonicTime(Time::FromInternalValue(2000000));
1043 fake_system_state.set_clock(&fake_clock);
1052 fake_clock.SetWallclockTime(Time::FromInternalValue(8000000));
1053 fake_clock.SetMonotonicTime(Time::FromInternalValue(6000000));
1066 fake_clock.SetWallclockTime(Time::FromInternalValue(18000000));
1067 fake_clock.SetMonotonicTime(Time::FromInternalValue(16000000));
1075 fake_clock
1097 FakeClock fake_clock; local
1518 FakeClock fake_clock; local
1580 FakeClock fake_clock; local
1609 FakeClock fake_clock; local
[all...]
H A Dupdate_attempter_unittest.cc32 #include "update_engine/common/fake_clock.h"
936 FakeClock fake_clock; local
939 fake_system_state_.set_clock(&fake_clock);
943 fake_clock.SetWallclockTime(epoch);
952 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(10));
956 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24) -
961 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(24));
968 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(47));
970 fake_clock.SetWallclockTime(epoch + TimeDelta::FromHours(48));
975 fake_clock
999 FakeClock fake_clock; local
[all...]
/system/update_engine/payload_consumer/
H A Ddownload_action_unittest.cc506 fake_um_(fake_system_state_.fake_clock()) {}
/system/update_engine/update_manager/
H A Dreal_updater_provider_unittest.cc26 #include "update_engine/common/fake_clock.h"
103 fake_clock_ = fake_sys_state_.fake_clock();
130 FakeClock* fake_clock_; // Short for fake_sys_state_.fake_clock()

Completed in 127 milliseconds