/external/chromium/net/base/ |
D | backoff_entry_unittest.cc | 70 entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1)); in TEST() 72 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST() 77 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST() 81 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( in TEST() 116 EXPECT_EQ(entry.GetTimeNow() + TimeDelta::FromMilliseconds(1000), result); in TEST() 121 EXPECT_EQ(entry.GetTimeNow() + TimeDelta::FromMilliseconds(2000), result); in TEST() 126 EXPECT_EQ(entry.GetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST() 133 EXPECT_EQ(entry.GetTimeNow() + TimeDelta::FromMilliseconds(20000), result); in TEST() 147 EXPECT_LE(entry.GetTimeNow() + TimeDelta::FromMilliseconds(3200), result); in TEST() 148 EXPECT_GE(entry.GetTimeNow() + TimeDelta::FromMilliseconds(4000), result); in TEST() [all …]
|
/external/chromium/base/threading/ |
D | watchdog_unittest.cc | 57 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F() 58 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F() 63 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F() 69 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F() 78 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Enabled", true); in TEST_F() 99 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Disabled", false); in TEST_F() 116 if (end - start > TimeDelta::FromMilliseconds(500)) { in TEST_F()
|
/external/chromium/net/socket/ |
D | client_socket_pool_histograms.cc | 29 base::TimeDelta::FromMilliseconds(1), in ClientSocketPoolHistograms() 35 base::TimeDelta::FromMilliseconds(1), in ClientSocketPoolHistograms() 41 base::TimeDelta::FromMilliseconds(1), in ClientSocketPoolHistograms() 70 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in AddRequestTime() 78 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in AddRequestTime()
|
D | transport_client_socket_pool.cc | 257 base::TimeDelta::FromMilliseconds(kIPv6FallbackTimerInMs), in DoTransportConnect() 273 base::TimeDelta::FromMilliseconds(1), in DoTransportConnectComplete() 280 base::TimeDelta::FromMilliseconds(1), in DoTransportConnectComplete() 287 base::TimeDelta::FromMilliseconds(1), in DoTransportConnectComplete() 294 base::TimeDelta::FromMilliseconds(1), in DoTransportConnectComplete() 300 base::TimeDelta::FromMilliseconds(1), in DoTransportConnectComplete() 369 base::TimeDelta::FromMilliseconds(1), in DoIPv6FallbackTransportConnectComplete() 376 base::TimeDelta::FromMilliseconds(1), in DoIPv6FallbackTransportConnectComplete() 382 base::TimeDelta::FromMilliseconds(1), in DoIPv6FallbackTransportConnectComplete()
|
/external/chromium/base/synchronization/ |
D | waitable_event_unittest.cc | 23 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST() 27 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST() 41 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST() 45 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST() 48 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
|
D | condition_variable_unittest.cc | 39 : kZeroMs(TimeDelta::FromMilliseconds(0)), in ConditionVariableTest() 40 kTenMs(TimeDelta::FromMilliseconds(10)), in ConditionVariableTest() 41 kThirtyMs(TimeDelta::FromMilliseconds(30)), in ConditionVariableTest() 42 kFortyFiveMs(TimeDelta::FromMilliseconds(45)), in ConditionVariableTest() 43 kSixtyMs(TimeDelta::FromMilliseconds(60)), in ConditionVariableTest() 44 kOneHundredMs(TimeDelta::FromMilliseconds(100)) { in ConditionVariableTest() 178 const TimeDelta WAIT_TIME = TimeDelta::FromMilliseconds(300); in TEST_F() 180 const TimeDelta FUDGE_TIME = TimeDelta::FromMilliseconds(50); in TEST_F() 492 SetWorkTime(TimeDelta::FromMilliseconds(30)); in WorkQueue() 732 if (work_time > TimeDelta::FromMilliseconds(0)) { in ThreadMain()
|
/external/chromium/net/url_request/ |
D | url_request_throttler_unittest.cc | 177 time -= TimeDelta::FromMilliseconds( in CreateEntry() 239 entry_->fake_time_now_ + TimeDelta::FromMilliseconds(1)); in TEST_F() 247 entry_->fake_time_now_ - TimeDelta::FromMilliseconds(1)); in TEST_F() 290 TimeDelta lifetime = TimeDelta::FromMilliseconds( in TEST_F() 292 const TimeDelta kFiveMs = TimeDelta::FromMilliseconds(5); in TEST_F() 344 TimeDelta::FromMilliseconds(sliding_window / 3); in TEST_F() 346 TimeDelta::FromMilliseconds(2 * sliding_window / 3); in TEST_F() 348 TimeDelta::FromMilliseconds(sliding_window); in TEST_F() 350 TimeDelta::FromMilliseconds(sliding_window + 2 * sliding_window / 3); in TEST_F() 445 EXPECT_GT(TimeTicks::Now() + TimeDelta::FromMilliseconds(100), in ExpectEntryAllowsAllOnErrorIfOptedOut() [all …]
|
D | url_request_http_job.cc | 1189 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats() 1199 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats() 1207 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats() 1211 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats() 1215 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats() 1219 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats() 1228 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats() 1236 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats() 1243 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats() 1247 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats() [all …]
|
D | url_request_throttler_entry.cc | 50 base::TimeDelta::FromMilliseconds(kDefaultSlidingWindowPeriodMs)), in URLRequestThrottlerEntry() 68 base::TimeDelta::FromMilliseconds(sliding_window_period_ms)), in URLRequestThrottlerEntry() 245 GetTimeNow() + base::TimeDelta::FromMilliseconds(value_ms)); in HandleCustomRetryAfter()
|
/external/chromium/base/ |
D | timer_unittest.cc | 22 timer_.Start(TimeDelta::FromMilliseconds(delay_ms_), this, in Start() 42 timer_->Start(TimeDelta::FromMilliseconds(10), this, in Start() 62 timer_.Start(TimeDelta::FromMilliseconds(10), this, in Start() 180 TimeDelta::FromMilliseconds(1), &target, &DelayTimerTarget::Signal); in RunTest_DelayTimer_NoCall() 195 TimeDelta::FromMilliseconds(1), &target, &DelayTimerTarget::Signal); in RunTest_DelayTimer_OneCall() 229 TimeDelta::FromMilliseconds(50), &target, &DelayTimerTarget::Signal); in RunTest_DelayTimer_Reset() 236 timers[i].Start(TimeDelta::FromMilliseconds(i * 10), &reset_helper, in RunTest_DelayTimer_Reset() 263 TimeDelta::FromMilliseconds(50), &target, in RunTest_DelayTimer_Deleted()
|
D | time_unittest.cc | 176 EXPECT_TRUE(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000)); in TEST() 177 EXPECT_TRUE(TimeDelta::FromMilliseconds(2) == in TEST() 184 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST() 185 EXPECT_EQ(13.0, TimeDelta::FromMilliseconds(13).InMillisecondsF()); in TEST()
|
/external/chromium/chrome/browser/sync/engine/ |
D | syncer_thread2_unittest.cc | 89 return TimeDelta::FromMilliseconds(TestTimeouts::action_timeout_ms()); in timeout() 123 .WillRepeatedly(Return(TimeDelta::FromMilliseconds(1))); in GetBackoffAndResetTest() 271 .WillRepeatedly(Return(TimeDelta::FromMilliseconds(1))); in TEST_F() 306 .WillRepeatedly(Return(TimeDelta::FromMilliseconds(30))); in TEST_F() 344 .WillRepeatedly(Return(TimeDelta::FromMilliseconds(50))); in TEST_F() 395 TimeDelta delay = TimeDelta::FromMilliseconds( in TEST_F() 475 TimeDelta delay = TimeDelta::FromMilliseconds( in TEST_F() 510 TimeDelta poll_interval(TimeDelta::FromMilliseconds(30)); in TEST_F() 528 TimeDelta poll_interval(TimeDelta::FromMilliseconds(30)); in TEST_F() 547 TimeDelta poll1(TimeDelta::FromMilliseconds(120)); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ |
D | jankometer.cc | 186 TimeDelta::FromMilliseconds(kMaxMessageProcessingMs)) { in EndProcessingTimers() 322 base::TimeDelta::FromMilliseconds(cur_time - cur_message_issue_time); in WillProcessMessage() 338 base::TimeDelta queueing_time = base::TimeDelta::FromMilliseconds(0); in WillProcessEvent() 387 TimeDelta::FromMilliseconds(kMaxUIMessageDelayMs), in InstallJankometer() 397 TimeDelta::FromMilliseconds(kMaxIOMessageDelayMs), in InstallJankometer()
|
D | upgrade_detector.cc | 174 base::TimeDelta::FromMilliseconds(GetCheckForUpgradeEveryMs()), in UpgradeDetector() 220 base::TimeDelta::FromMilliseconds(cycle_time), in UpgradeDetected()
|
/external/chromium/chrome/browser/ui/views/ |
D | reload_button.cc | 26 base::TimeDelta::FromMilliseconds(views::GetDoubleClickInterval())), in ReloadButton() 27 stop_to_reload_timer_delay_(base::TimeDelta::FromMilliseconds(1350)), in ReloadButton()
|
D | fullscreen_exit_bubble.cc | 145 initial_delay_.Start(base::TimeDelta::FromMilliseconds(kInitialDelayMs), this, in FullscreenExitBubble() 151 base::TimeDelta::FromMilliseconds(1000 / kPositionCheckHz), this, in FullscreenExitBubble() 217 idle_timeout_.Start(base::TimeDelta::FromMilliseconds(kIdleTimeMs), this, in CheckMousePosition()
|
/external/chromium/chrome/browser/chromeos/ |
D | boot_times_loader.cc | 127 return base::TimeDelta::FromMilliseconds(static_cast<int64>(ms)); in SecondsToTimeDelta() 264 base::TimeDelta::FromMilliseconds(kMinTimeMillis), in WriteTimes() 265 base::TimeDelta::FromMilliseconds(kMaxTimeMillis), in WriteTimes() 282 base::TimeDelta::FromMilliseconds(kMinTimeMillis), in WriteTimes() 283 base::TimeDelta::FromMilliseconds(kMaxTimeMillis), in WriteTimes()
|
/external/chromium/net/http/ |
D | http_network_transaction.cc | 1001 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1009 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1020 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1031 total_duration, base::TimeDelta::FromMilliseconds(1), in LogTransactionConnectedMetrics() 1038 total_duration, base::TimeDelta::FromMilliseconds(1), in LogTransactionConnectedMetrics() 1050 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1056 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1071 base::TimeDelta::FromMilliseconds(1), in LogTransactionMetrics() 1076 base::TimeDelta::FromMilliseconds(1), in LogTransactionMetrics() 1081 total_duration, base::TimeDelta::FromMilliseconds(1), in LogTransactionMetrics()
|
/external/chromium/chrome/browser/policy/ |
D | device_token_fetcher.cc | 200 base::TimeDelta::FromMilliseconds(unmanaged_device_refresh_rate_ms_); in SetState() 207 base::TimeDelta::FromMilliseconds( in SetState() 219 base::TimeDelta::FromMilliseconds( in SetState()
|
D | cloud_policy_controller.cc | 334 last_refresh + base::TimeDelta::FromMilliseconds(GetRefreshDelay()); in SetState() 350 refresh_at = now + base::TimeDelta::FromMilliseconds( in SetState() 358 refresh_at = now + base::TimeDelta::FromMilliseconds( in SetState()
|
/external/chromium/chrome/common/ |
D | important_file_writer_unittest.cc | 73 writer.set_commit_interval(base::TimeDelta::FromMilliseconds(25)); in TEST_F() 105 writer.set_commit_interval(base::TimeDelta::FromMilliseconds(25)); in TEST_F()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | web_page_view.cc | 127 start_timer_.Start(TimeDelta::FromMilliseconds(kStartDelayMs), in Init() 154 stop_timer_.Start(TimeDelta::FromMilliseconds(kStopDelayMs), in ShowPageContent()
|
/external/chromium/chrome/browser/prerender/ |
D | prerender_manager.cc | 120 base::TimeDelta::FromMilliseconds(kMinTimeBetweenPrerendersMs)) { in PrerenderManager() 393 base::TimeDelta::FromMilliseconds(10), \ 428 base::TimeDelta::FromMilliseconds(10), in RecordTimeUntilUsed() 531 base::TimeDelta::FromMilliseconds(kMinTimeBetweenPrerendersMs); in DoesRateLimitAllowPrerender() 538 base::TimeDelta::FromMilliseconds(kPeriodicCleanupIntervalMs), in StartSchedulingPeriodicCleanups()
|
/external/chromium/chrome/browser/net/websocket_experiment/ |
D | websocket_experiment_task.cc | 245 base::TimeDelta::FromMilliseconds(1), in SaveResult() 253 base::TimeDelta::FromMilliseconds(1), in SaveResult() 262 base::TimeDelta::FromMilliseconds(1), in SaveResult() 271 base::TimeDelta::FromMilliseconds(1), in SaveResult() 280 base::TimeDelta::FromMilliseconds(1), in SaveResult()
|
/external/chromium/chrome/browser/sessions/ |
D | session_restore.cc | 223 base::TimeDelta::FromMilliseconds(force_load_delay_), in LoadNextTab() 296 base::TimeDelta::FromMilliseconds(10), in Observe() 306 base::TimeDelta::FromMilliseconds(10), in Observe() 385 base::TimeDelta::FromMilliseconds(10), in HandleTabClosedOrLoaded() 394 base::TimeDelta::FromMilliseconds(10), in HandleTabClosedOrLoaded()
|