/external/chromium_org/net/url_request/ |
D | url_request_throttler_simulation_unittest.cc | 522 TimeDelta::FromMinutes(2), in SimulateAttack() 526 client->SetRequestJitter(TimeDelta::FromMinutes(1)); in SimulateAttack() 532 simulation.RunSimulation(TimeDelta::FromMinutes(6), in SimulateAttack() 690 { TimeDelta::FromMinutes(5), TimeDelta::FromSeconds(30) }, in TEST() 691 { TimeDelta::FromMinutes(10), TimeDelta::FromSeconds(20) }, in TEST() 692 { TimeDelta::FromMinutes(20), TimeDelta::FromSeconds(15) }, in TEST() 693 { TimeDelta::FromMinutes(20), TimeDelta::FromSeconds(50) }, in TEST() 694 { TimeDelta::FromMinutes(30), TimeDelta::FromMinutes(2) }, in TEST() 695 { TimeDelta::FromMinutes(30), TimeDelta::FromMinutes(5) }, in TEST() 696 { TimeDelta::FromMinutes(40), TimeDelta::FromMinutes(7) }, in TEST() [all …]
|
/external/chromium/chrome/browser/safe_browsing/ |
D | protocol_manager_unittest.cc | 115 Time future = now + TimeDelta::FromMinutes(1); in TEST_F() 122 EXPECT_TRUE(pm.next_gethash_time_ >= now + TimeDelta::FromMinutes(30)); in TEST_F() 123 EXPECT_TRUE(pm.next_gethash_time_ <= now + TimeDelta::FromMinutes(60)); in TEST_F() 128 EXPECT_TRUE(pm.next_gethash_time_ >= now + TimeDelta::FromMinutes(60)); in TEST_F() 129 EXPECT_TRUE(pm.next_gethash_time_ <= now + TimeDelta::FromMinutes(120)); in TEST_F() 134 EXPECT_TRUE(pm.next_gethash_time_ >= now + TimeDelta::FromMinutes(120)); in TEST_F() 135 EXPECT_TRUE(pm.next_gethash_time_ <= now + TimeDelta::FromMinutes(240)); in TEST_F() 140 EXPECT_TRUE(pm.next_gethash_time_ >= now + TimeDelta::FromMinutes(240)); in TEST_F() 141 EXPECT_TRUE(pm.next_gethash_time_ <= now + TimeDelta::FromMinutes(480)); in TEST_F() 146 EXPECT_TRUE(pm.next_gethash_time_ == now + TimeDelta::FromMinutes(480)); in TEST_F() [all …]
|
/external/chromium/chrome/browser/chromeos/status/ |
D | power_menu_button_browsertest.cc | 65 .WillOnce((Return(base::TimeDelta::FromMinutes(42)))) in IN_PROC_BROWSER_TEST_F() 68 .WillOnce((Return(base::TimeDelta::FromMinutes(24)))) in IN_PROC_BROWSER_TEST_F() 87 .WillOnce((Return(base::TimeDelta::FromMinutes(42)))) in IN_PROC_BROWSER_TEST_F() 90 .WillOnce((Return(base::TimeDelta::FromMinutes(0)))) in IN_PROC_BROWSER_TEST_F() 111 .WillRepeatedly((Return(base::TimeDelta::FromMinutes(42)))) in IN_PROC_BROWSER_TEST_F() 115 .WillRepeatedly((Return(base::TimeDelta::FromMinutes(24)))) in IN_PROC_BROWSER_TEST_F() 169 .WillRepeatedly((Return(base::TimeDelta::FromMinutes(42)))) in IN_PROC_BROWSER_TEST_F() 173 .WillRepeatedly((Return(base::TimeDelta::FromMinutes(24)))) in IN_PROC_BROWSER_TEST_F()
|
/external/chromium/net/socket/ |
D | client_socket_pool_histograms.cc | 30 base::TimeDelta::FromMinutes(10), in ClientSocketPoolHistograms() 36 base::TimeDelta::FromMinutes(6), in ClientSocketPoolHistograms() 42 base::TimeDelta::FromMinutes(6), 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 | 274 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 281 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 288 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 295 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 301 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 370 base::TimeDelta::FromMinutes(10), in DoIPv6FallbackTransportConnectComplete() 377 base::TimeDelta::FromMinutes(10), in DoIPv6FallbackTransportConnectComplete() 383 base::TimeDelta::FromMinutes(10), in DoIPv6FallbackTransportConnectComplete()
|
/external/chromium_org/net/socket/ |
D | transport_client_socket_pool.cc | 245 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 252 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 261 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 269 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 277 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 289 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 296 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 302 base::TimeDelta::FromMinutes(10), in DoTransportConnectComplete() 362 base::TimeDelta::FromMinutes(10), in DoIPv6FallbackTransportConnectComplete() 369 base::TimeDelta::FromMinutes(10), in DoIPv6FallbackTransportConnectComplete() [all …]
|
D | client_socket_pool_histograms.cc | 33 base::TimeDelta::FromMinutes(10), in ClientSocketPoolHistograms() 39 base::TimeDelta::FromMinutes(6), in ClientSocketPoolHistograms() 45 base::TimeDelta::FromMinutes(6), in ClientSocketPoolHistograms()
|
D | ssl_client_socket_pool.cc | 370 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 381 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 389 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 403 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 409 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 421 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 428 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete() 435 base::TimeDelta::FromMinutes(1), in DoSSLConnectComplete()
|
/external/chromium/chrome/browser/extensions/ |
D | extensions_quota_service_unittest.cc | 21 static const Config k2PerMinute = { 2, TimeDelta::FromMinutes(1) }; 25 kStartTime + TimeDelta::FromMinutes(1); 78 heuristics->push_back(new SustainedLimit(TimeDelta::FromMinutes(5), in GetQuotaLimitHeuristics() 159 SustainedLimit lim(TimeDelta::FromMinutes(5), k2PerMinute, new MockMapper()); in TEST_F() 165 EXPECT_FALSE(lim.Apply(&bucket, kStartTime + TimeDelta::FromMinutes(6))); in TEST_F() 173 EXPECT_TRUE(lim.Apply(&bucket, kStartTime + TimeDelta::FromMinutes(7))); in TEST_F() 179 EXPECT_TRUE(lim.Apply(&bucket, kStartTime + TimeDelta::FromMinutes(6))); in TEST_F() 212 TimeDelta peace = TimeDelta::FromMinutes(30); in TEST_F() 250 kStartTime + TimeDelta::FromMinutes(30))); in TEST_F() 263 kStartTime + TimeDelta::FromMinutes(6))); in TEST_F()
|
/external/chromium_org/remoting/host/ |
D | continue_window.cc | 31 FROM_HERE, base::TimeDelta::FromMinutes(kSessionExpirationTimeoutMinutes), in Start() 48 FROM_HERE, base::TimeDelta::FromMinutes(kSessionExpirationTimeoutMinutes), in ContinueSession() 75 FROM_HERE, base::TimeDelta::FromMinutes(kSessionDisconnectTimeoutMinutes), in OnSessionExpired()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | protocol_manager_unittest.cc | 104 EXPECT_TRUE(next >= TimeDelta::FromMinutes(30) && in TEST_F() 105 next <= TimeDelta::FromMinutes(60)); in TEST_F() 109 EXPECT_TRUE(next >= TimeDelta::FromMinutes(60) && in TEST_F() 110 next <= TimeDelta::FromMinutes(120)); in TEST_F() 114 EXPECT_TRUE(next >= TimeDelta::FromMinutes(120) && in TEST_F() 115 next <= TimeDelta::FromMinutes(240)); in TEST_F() 119 EXPECT_TRUE(next >= TimeDelta::FromMinutes(240) && in TEST_F() 120 next <= TimeDelta::FromMinutes(480)); in TEST_F() 124 EXPECT_EQ(next, TimeDelta::FromMinutes(480)); in TEST_F() 128 EXPECT_EQ(next, TimeDelta::FromMinutes(480)); in TEST_F() [all …]
|
/external/chromium_org/extensions/browser/ |
D | quota_service_unittest.cc | 30 const Config k2PerMinute = {2, TimeDelta::FromMinutes(1)}; 33 const TimeTicks k1MinuteAfterStart = kStartTime + TimeDelta::FromMinutes(1); 100 TimeDelta::FromMinutes(5), k2PerMinute, new Mapper(), kGenericName)); in GetQuotaLimitHeuristics() 195 TimeDelta::FromMinutes(5), k2PerMinute, new MockMapper(), kGenericName); in TEST_F() 201 EXPECT_FALSE(lim.Apply(&bucket, kStartTime + TimeDelta::FromMinutes(6))); in TEST_F() 209 EXPECT_TRUE(lim.Apply(&bucket, kStartTime + TimeDelta::FromMinutes(7))); in TEST_F() 215 EXPECT_TRUE(lim.Apply(&bucket, kStartTime + TimeDelta::FromMinutes(6))); in TEST_F() 257 TimeDelta peace = TimeDelta::FromMinutes(30); in TEST_F() 324 kStartTime + TimeDelta::FromMinutes(30))); in TEST_F() 352 kStartTime + TimeDelta::FromMinutes(6))); in TEST_F()
|
/external/chromium_org/chrome/browser/prerender/ |
D | prerender_config.cc | 13 max_wait_to_launch(base::TimeDelta::FromMinutes(4)), in Config() 14 time_to_live(base::TimeDelta::FromMinutes(5)), in Config()
|
/external/chromium/base/threading/ |
D | watchdog_unittest.cc | 80 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F() 91 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F() 134 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F()
|
/external/chromium_org/base/threading/ |
D | watchdog_unittest.cc | 81 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F() 92 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F() 136 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(5), in TEST_F()
|
/external/chromium/chrome/browser/metrics/ |
D | thread_watcher_unittest.cc | 322 io_watcher_->WaitForStateChange(kSleepTime + TimeDelta::FromMinutes(1), in TEST_F() 332 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 364 kUnresponsiveTime + TimeDelta::FromMinutes(1), FAILED); in TEST_F() 392 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 401 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 444 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 450 kUnresponsiveTime + TimeDelta::FromMinutes(1), FAILED); in TEST_F()
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
D | counting_policy_unittest.cc | 376 mock_clock->Now() - base::TimeDelta::FromMinutes(40), in TEST_F() 383 mock_clock->Now() - base::TimeDelta::FromMinutes(30), in TEST_F() 390 mock_clock->Now() - base::TimeDelta::FromMinutes(20), in TEST_F() 434 base::TimeDelta::FromMinutes(40), in TEST_F() 592 base::TimeDelta::FromMinutes(40), in TEST_F() 599 base::TimeDelta::FromMinutes(20), in TEST_F() 606 base::TimeDelta::FromMinutes(20), in TEST_F() 716 base::TimeDelta::FromMinutes(40); in TEST_F() 719 base::TimeDelta::FromMinutes(40); in TEST_F() 722 base::TimeDelta::FromMinutes(20); in TEST_F() [all …]
|
/external/chromium_org/content/browser/geolocation/ |
D | location_arbitrator_impl_unittest.cc | 261 AdvanceTimeNow(base::TimeDelta::FromMinutes(5)); in TEST_F() 267 AdvanceTimeNow(base::TimeDelta::FromMinutes(5)); in TEST_F() 272 AdvanceTimeNow(base::TimeDelta::FromMinutes(14)); in TEST_F() 283 AdvanceTimeNow(base::TimeDelta::FromMinutes(1)); in TEST_F() 291 AdvanceTimeNow(base::TimeDelta::FromMinutes(2)); in TEST_F()
|
/external/chromium_org/net/disk_cache/simple/ |
D | simple_index_unittest.cc | 241 EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 242 EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 425 EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 426 EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 458 EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 459 EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 496 EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 497 EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 503 EXPECT_LT(now - base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() 504 EXPECT_GT(now + base::TimeDelta::FromMinutes(1), metadata.GetLastUsedTime()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/metrics/ |
D | thread_watcher_unittest.cc | 267 WaitForSetUp(TimeDelta::FromMinutes(1)); in ThreadWatcherTest() 467 io_watcher_->WaitForStateChange(kSleepTime + TimeDelta::FromMinutes(1), in TEST_F() 477 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 514 kUnresponsiveTime + TimeDelta::FromMinutes(1), FAILED); in TEST_F() 546 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 557 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 605 kUnresponsiveTime + TimeDelta::FromMinutes(1), SUCCESSFUL); in TEST_F() 613 kUnresponsiveTime + TimeDelta::FromMinutes(1), FAILED); in TEST_F()
|
/external/chromium/chrome/common/ |
D | time_format_unittest.cc | 52 const TimeDelta one_min = TimeDelta::FromMinutes(1); in TEST() 53 const TimeDelta three_mins = TimeDelta::FromMinutes(3); in TEST()
|
/external/chromium_org/ui/base/l10n/ |
D | time_format_unittest.cc | 32 const TimeDelta one_min = TimeDelta::FromMinutes(1); in TEST() 33 const TimeDelta three_mins = TimeDelta::FromMinutes(3); in TEST()
|
/external/chromium_org/sync/sessions/ |
D | nudge_tracker_unittest.cc | 328 const base::TimeDelta throttle_length = base::TimeDelta::FromMinutes(10); in TEST_F() 362 const base::TimeDelta throttle_length = base::TimeDelta::FromMinutes(10); in TEST_F() 403 const base::TimeDelta throttle_length = base::TimeDelta::FromMinutes(10); in TEST_F() 425 const base::TimeDelta throttle1_length = base::TimeDelta::FromMinutes(10); in TEST_F() 426 const base::TimeDelta throttle2_length = base::TimeDelta::FromMinutes(20); in TEST_F()
|
/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() 1032 base::TimeDelta::FromMinutes(10), 100); in LogTransactionConnectedMetrics() 1039 base::TimeDelta::FromMinutes(10), 100); in LogTransactionConnectedMetrics() 1050 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1056 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTransactionConnectedMetrics() 1072 base::TimeDelta::FromMinutes(10), in LogTransactionMetrics() 1077 base::TimeDelta::FromMinutes(10), 100); in LogTransactionMetrics() 1082 base::TimeDelta::FromMinutes(10), 100); in LogTransactionMetrics()
|
/external/chromium/base/ |
D | time_unittest.cc | 174 EXPECT_TRUE(TimeDelta::FromHours(3) == TimeDelta::FromMinutes(180)); in TEST() 175 EXPECT_TRUE(TimeDelta::FromMinutes(2) == TimeDelta::FromSeconds(120)); in TEST() 181 EXPECT_EQ(13, TimeDelta::FromMinutes(13).InMinutes()); in TEST()
|