Home
last modified time | relevance | path

Searched refs:fake_now (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/net/url_request/
Durl_request_throttler_simulation_unittest.cc326 TimeTicks fake_now() const { in fake_now() function in net::__anonda1e81fb0111::MockURLRequestThrottlerEntry
434 if (throttler_entry_->fake_now() - time_of_last_attempt_ > in PerformAction()
449 throttler_entry_->fake_now() - time_of_last_success_; in PerformAction()
452 time_of_last_success_ = throttler_entry_->fake_now(); in PerformAction()
465 time_of_last_attempt_ = throttler_entry_->fake_now(); in PerformAction()
Durl_request_throttler_unittest.cc46 const TimeTicks& fake_now) in MockURLRequestThrottlerEntry() argument
48 fake_time_now_(fake_now), in MockURLRequestThrottlerEntry()
52 mock_backoff_entry_.set_fake_now(fake_now); in MockURLRequestThrottlerEntry()
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl_unittest.cc1389 void SetCurrentPhysicalTimeTicksForTest(base::TimeTicks fake_now) { in SetCurrentPhysicalTimeTicksForTest() argument
1390 fake_current_physical_time_ = fake_now; in SetCurrentPhysicalTimeTicksForTest()
1454 base::TimeTicks fake_now = gfx::FrameTime::Now(); in TEST_F() local
1478 host_impl_->Animate(fake_now); in TEST_F()
1482 fake_now += base::TimeDelta::FromMilliseconds(25); in TEST_F()
1512 base::TimeTicks fake_now = gfx::FrameTime::Now(); in TEST_F() local
1536 fake_now += base::TimeDelta::FromMilliseconds(25); in TEST_F()
1556 fake_now += base::TimeDelta::FromMilliseconds(25); in TEST_F()
1557 host_impl_->Animate(fake_now); in TEST_F()