Home
last modified time | relevance | path

Searched refs:GetCurrentDelay (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/chrome/browser/sync_file_system/
Dsync_process_runner_unittest.cc73 int64 GetCurrentDelay() { in GetCurrentDelay() function in sync_file_system::__anonf9f600780111::FakeTimerHelper
148 fake_timer->GetCurrentDelay()); in TEST()
160 fake_timer->GetCurrentDelay()); in TEST()
168 fake_timer->GetCurrentDelay()); in TEST()
174 fake_timer->GetCurrentDelay()); in TEST()
182 fake_timer->GetCurrentDelay()); in TEST()
190 fake_timer->GetCurrentDelay()); in TEST()
197 fake_timer->GetCurrentDelay()); in TEST()
216 fake_timer->GetCurrentDelay()); in TEST()
224 fake_timer->GetCurrentDelay()); in TEST()
[all …]
/external/chromium_org/sync/internal_api/attachments/
Dtask_queue_unittest.cc108 ASSERT_EQ(kZero, mock_timer->GetCurrentDelay()); in TEST_F()
109 TimeDelta last_delay = mock_timer->GetCurrentDelay(); in TEST_F()
121 EXPECT_GT(mock_timer->GetCurrentDelay(), last_delay); in TEST_F()
122 EXPECT_LE(mock_timer->GetCurrentDelay(), TimeDelta::FromMinutes(1)); in TEST_F()
123 last_delay = mock_timer->GetCurrentDelay(); in TEST_F()
135 EXPECT_GT(mock_timer->GetCurrentDelay(), last_delay); in TEST_F()
136 last_delay = mock_timer->GetCurrentDelay(); in TEST_F()
153 EXPECT_GE(last_delay, mock_timer->GetCurrentDelay()); in TEST_F()
154 last_delay = mock_timer->GetCurrentDelay(); in TEST_F()
171 EXPECT_LT(mock_timer->GetCurrentDelay(), last_delay); in TEST_F()
[all …]
Dattachment_service_impl_unittest.cc533 ASSERT_GT(mock_timer()->GetCurrentDelay(), base::TimeDelta()); in TEST_F()
542 ASSERT_GT(mock_timer()->GetCurrentDelay(), base::TimeDelta()); in TEST_F()
551 ASSERT_EQ(base::TimeDelta(), mock_timer()->GetCurrentDelay()); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Dexisting_user_controller_auto_login_unittest.cc191 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
225 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
234 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
259 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
269 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
279 EXPECT_EQ(auto_login_timer()->GetCurrentDelay().InMilliseconds(), in TEST_F()
/external/chromium_org/content/browser/appcache/
Dappcache_service_unittest.cc335 EXPECT_EQ(kNoDelay, service->reinit_timer_.GetCurrentDelay()); in TEST_F()
341 EXPECT_EQ(kNoDelay, service->reinit_timer_.GetCurrentDelay()); in TEST_F()
349 EXPECT_EQ(k30Seconds, service->reinit_timer_.GetCurrentDelay()); in TEST_F()
358 EXPECT_EQ(kNoDelay, service->reinit_timer_.GetCurrentDelay()); in TEST_F()
367 EXPECT_EQ(kOneHour, service->reinit_timer_.GetCurrentDelay()); in TEST_F()
/external/chromium_org/base/message_loop/
Dmessage_pump_win.cc62 int MessagePumpWin::GetCurrentDelay() const { in GetCurrentDelay() function in base::MessagePumpWin
140 int delay_msec = GetCurrentDelay(); in ScheduleDelayedWork()
252 int delay = GetCurrentDelay(); in WaitForWork()
513 int timeout = GetCurrentDelay(); in WaitForWork()
Dmessage_pump_win.h50 int GetCurrentDelay() const;
/external/chromium_org/base/timer/
Dmock_timer.h23 virtual base::TimeDelta GetCurrentDelay() const OVERRIDE;
Dmock_timer.cc30 base::TimeDelta MockTimer::GetCurrentDelay() const { in GetCurrentDelay() function in base::MockTimer
Dmock_timer_unittest.cc22 EXPECT_EQ(delay, timer.GetCurrentDelay()); in TEST()
Dtimer.h88 virtual TimeDelta GetCurrentDelay() const;
Dtimer.cc92 TimeDelta Timer::GetCurrentDelay() const { in GetCurrentDelay() function in base::Timer
/external/chromium_org/content/browser/renderer_host/input/
Dtimeout_monitor.cc31 if (timeout_timer_.IsRunning() && timeout_timer_.GetCurrentDelay() <= delay) { in Start()
/external/chromium_org/media/audio/alsa/
Dalsa_input.h66 snd_pcm_sframes_t GetCurrentDelay();
Dalsa_input.cc157 snd_pcm_sframes_t AlsaPcmInputStream::GetCurrentDelay() { in GetCurrentDelay() function in media::AlsaPcmInputStream
201 static_cast<uint32>(GetCurrentDelay() * params_.GetBytesPerFrame()); in ReadAudio()
Dalsa_output.cc358 const uint32 hardware_delay = GetCurrentDelay() * bytes_per_frame_; in BufferPacket()
448 GetCurrentDelay() > 0) { in WritePacket()
563 snd_pcm_sframes_t AlsaPcmOutputStream::GetCurrentDelay() { in GetCurrentDelay() function in media::AlsaPcmOutputStream
Dalsa_output.h133 snd_pcm_sframes_t GetCurrentDelay();
/external/chromium_org/remoting/host/
Dgnubby_socket.cc87 timer->Start(FROM_HERE, timer_->GetCurrentDelay(), timer_->user_task()); in SetTimerForTesting()
/external/chromium_org/chrome/renderer/net/
Dnet_error_helper_core_unittest.cc1969 base::TimeDelta first_delay = timer()->GetCurrentDelay(); in TEST_F()
1979 EXPECT_GT(timer()->GetCurrentDelay(), first_delay); in TEST_F()
2011 base::TimeDelta delay = timer()->GetCurrentDelay(); in TEST_F()
2019 EXPECT_EQ(timer()->GetCurrentDelay(), delay); in TEST_F()
2029 base::TimeDelta delay = timer()->GetCurrentDelay(); in TEST_F()
2033 EXPECT_NE(delay, timer()->GetCurrentDelay()); in TEST_F()
2038 EXPECT_EQ(delay, timer()->GetCurrentDelay()); in TEST_F()
2080 if (previous == timer()->GetCurrentDelay()) in TEST_F()
2082 previous = timer()->GetCurrentDelay(); in TEST_F()
/external/chromium_org/components/invalidation/
Dregistration_manager.cc177 status->registration_timer.GetCurrentDelay(); in GetPendingRegistrationsForTest()
/external/chromium_org/chrome/browser/chromeos/policy/
Drecommendation_restorer_unittest.cc237 restorer_->restore_timer_.GetCurrentDelay()); in VerifyTimerIsRunning()
/external/chromium_org/sync/engine/
Dsync_scheduler_impl.cc608 poll != poll_timer_.GetCurrentDelay(); in AdjustPolling()
/external/chromium_org/net/dns/
Ddns_transaction.cc779 base::TimeDelta timeout = timer_.GetCurrentDelay() * 2; in MakeTCPAttempt()
/external/chromium_org/chrome/browser/history/
Dtop_sites_impl.cc893 if (timer_.IsRunning() && ((timer_start_time_ + timer_.GetCurrentDelay()) < in RestartQueryForTopSitesTimer()
/external/chromium_org/chrome/browser/chromeos/system/
Dautomatic_reboot_manager_unittest.cc536 timer->GetCurrentDelay().ToInternalValue()); in VerifyTimerIsRunning()

12