Home
last modified time | relevance | path

Searched refs:FromMinutes (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc115 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 …]
Dclient_side_detection_service_unittest.cc110 base::TimeDelta::FromMinutes(5); in TestCache()
122 base::TimeDelta::FromMinutes(5); in TestCache()
127 base::TimeDelta::FromMinutes(5); in TestCache()
/external/chromium/chrome/browser/chromeos/status/
Dpower_menu_button_browsertest.cc65 .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/
Dclient_socket_pool_histograms.cc30 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()
Dtransport_client_socket_pool.cc274 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()
Dssl_client_socket_pool.cc390 base::TimeDelta::FromMinutes(10), in DoSSLConnectComplete()
396 base::TimeDelta::FromMinutes(10), in DoSSLConnectComplete()
406 base::TimeDelta::FromMinutes(10), in DoSSLConnectComplete()
419 base::TimeDelta::FromMinutes(10), in DoSSLConnectComplete()
Dtcp_client_socket_pool.cc207 base::TimeDelta::FromMinutes(10), in DoTCPConnectComplete()
214 base::TimeDelta::FromMinutes(10), in DoTCPConnectComplete()
/external/chromium/chrome/browser/extensions/
Dextensions_quota_service_unittest.cc21 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/base/threading/
Dwatchdog_unittest.cc80 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/chrome/browser/metrics/
Dthread_watcher_unittest.cc322 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/chrome/common/
Dtime_format_unittest.cc52 const TimeDelta one_min = TimeDelta::FromMinutes(1); in TEST()
53 const TimeDelta three_mins = TimeDelta::FromMinutes(3); in TEST()
/external/chromium/net/http/
Dhttp_network_transaction.cc1001 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()
Dhttp_stream_factory_impl_job.cc1002 base::TimeDelta::FromMinutes(10), in LogHttpConnectedMetrics()
1009 base::TimeDelta::FromMinutes(6), in LogHttpConnectedMetrics()
1016 base::TimeDelta::FromMinutes(6), in LogHttpConnectedMetrics()
/external/chromium/base/
Dtime_unittest.cc174 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()
Dtime.h60 static TimeDelta FromMinutes(int64 minutes);
428 inline TimeDelta TimeDelta::FromMinutes(int64 minutes) { in FromMinutes() function
/external/chromium/net/url_request/
Durl_request_http_job.cc1190 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
1200 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
1229 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
1237 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
1264 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
1273 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
1277 base::TimeDelta::FromMinutes(10), 100); in RecordPacketStats()
/external/chromium/net/base/
Dcert_verifier_unittest.cc154 current_time += base::TimeDelta::FromMinutes(60); in TEST_F()
211 current_time += base::TimeDelta::FromMinutes(60); in TEST_F()
/external/chromium/net/proxy/
Dproxy_resolver_js_bindings_unittest.cc265 base::TimeDelta::FromMinutes(10), in TEST()
266 base::TimeDelta::FromMinutes(10)); in TEST()
Dproxy_list.cc120 const TimeDelta kProxyRetryDelay = TimeDelta::FromMinutes(5); in Fallback()
Dproxy_resolver_v8.cc706 base::TimeDelta::FromMinutes(5), in GetProxyForURL()
707 base::TimeDelta::FromMinutes(5)); in GetProxyForURL()
/external/chromium/chrome/browser/policy/
Dasynchronous_policy_loader.cc18 reload_interval_(base::TimeDelta::FromMinutes(reload_interval_minutes)), in AsynchronousPolicyLoader()
/external/chromium/chrome/browser/
Doom_priority_manager.cc67 TimeDelta::FromMinutes(BUCKET_INTERVAL_MINUTES).ToInternalValue(); in CompareRendererStats()
/external/chromium/chrome/browser/chromeos/cros/
Dcros_mock.cc335 .WillRepeatedly((Return(base::TimeDelta::FromMinutes(42)))) in SetPowerLibraryStatusAreaExpectations()
339 .WillRepeatedly((Return(base::TimeDelta::FromMinutes(24)))) in SetPowerLibraryStatusAreaExpectations()
/external/chromium/base/synchronization/
Dcondition_variable_unittest.cc375 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(1), in TEST_F()
466 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(TimeDelta::FromMinutes(1), in TEST_F()
/external/chromium/chrome/browser/history/
Dexpire_history_backend.cc580 delay = TimeDelta::FromMinutes(kExpirationEmptyDelayMin); in ScheduleArchive()
676 TimeDelta delay = TimeDelta::FromMinutes(kIndexExpirationDelayMin); in ScheduleExpireHistoryIndexFiles()

12