Home
last modified time | relevance | path

Searched refs:FakeClock (Results 1 – 17 of 17) sorted by relevance

/system/security/keystore/tests/
Dconfirmationui_rate_limiting_test.cpp62 class FakeClock : public std::chrono::steady_clock { class
71 FakeClock::time_point FakeClock::sNow;
80 RateLimiting<FakeClock> rateLimiting; in TEST()
81 FakeClock::setNow(now); in TEST()
94 RateLimiting<FakeClock> rateLimiting; in TEST()
95 FakeClock::setNow(now); in TEST()
114 FakeClock::setNow(FakeClock::now() + 29s); in TEST()
116 FakeClock::setNow(FakeClock::now() + 1s); in TEST()
132 FakeClock::setNow((FakeClock::now() + 60s * (1ULL << (i - 6))) - 1s); in TEST()
134 FakeClock::setNow(FakeClock::now() + 1s); in TEST()
[all …]
/system/update_engine/common/
Dfake_clock.h25 class FakeClock : public ClockInterface {
27 FakeClock() {} in FakeClock() function
46 DISALLOW_COPY_AND_ASSIGN(FakeClock);
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc29 using chromeos_update_engine::FakeClock;
59 FakeClock fake_clock_;
Dpolicy_test_utils.h94 chromeos_update_engine::FakeClock fake_clock_;
Dupdate_manager_unittest.cc50 using chromeos_update_engine::FakeClock;
95 FakeClock fake_clock_;
Dreal_shill_provider_unittest.cc40 using chromeos_update_engine::FakeClock;
205 FakeClock fake_clock_;
Devaluation_context_unittest.cc41 using chromeos_update_engine::FakeClock;
129 FakeClock fake_clock_;
Dreal_updater_provider_unittest.cc35 using chromeos_update_engine::FakeClock;
129 FakeClock* fake_clock_; // Short for fake_sys_state_.fake_clock()
/system/update_engine/
Dfake_system_state.h184 inline FakeClock* fake_clock() { in fake_clock()
242 FakeClock fake_clock_;
Dmetrics_utils_unittest.cc79 FakeClock fake_clock; in TEST()
142 FakeClock fake_clock; in TEST()
Dupdate_attempter_android_unittest.cc49 clock_ = new FakeClock(); in SetUp()
74 FakeClock* clock_;
Dmetrics_reporter_omaha_unittest.cc62 FakeClock fake_clock; in TEST_F()
187 FakeClock fake_clock; in TEST_F()
Dpayload_state_unittest.cc1060 FakeClock fake_clock; in TEST()
1122 FakeClock fake_clock; in TEST()
1543 FakeClock fake_clock; in TEST()
1605 FakeClock fake_clock; in TEST()
1634 FakeClock fake_clock; in TEST()
Dp2p_manager_unittest.cc103 FakeClock fake_clock_;
Dupdate_attempter_unittest.cc1375 FakeClock fake_clock; in TEST_F()
1438 FakeClock fake_clock; in TEST_F()
1986 FakeClock fake_clock; in TEST_F()
2016 FakeClock fake_clock; in TEST_F()
Domaha_response_handler_action_unittest.cc824 FakeClock fake_clock; in TEST_F()
Domaha_request_action_unittest.cc2688 FakeClock fake_clock; in TEST_F()
2707 FakeClock fake_clock; in TEST_F()