Home
last modified time | relevance | path

Searched refs:FakeClock (Results 1 – 9 of 9) 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/cros/
Dfake_system_state.h195 inline FakeClock* fake_clock() { in fake_clock()
267 FakeClock fake_clock_;
Dmetrics_reporter_omaha_unittest.cc51 FakeClock* fake_clock_;
Domaha_request_action_unittest.cc2803 FakeClock fake_clock; in TEST_F()
2822 FakeClock fake_clock; in TEST_F()
/system/update_engine/aosp/
Dupdate_attempter_android_unittest.cc50 clock_ = new FakeClock(); in SetUp()
75 FakeClock* clock_;
/system/update_engine/update_manager/
Dpolicy_test_utils.h94 chromeos_update_engine::FakeClock* fake_clock_;
Devaluation_context_unittest.cc42 using chromeos_update_engine::FakeClock;
132 FakeClock* fake_clock_;
Dupdate_manager_unittest.cc50 using chromeos_update_engine::FakeClock;