Home
last modified time | relevance | path

Searched refs:FromMilliseconds (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium/net/url_request/
Durl_request_job.cc627 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats()
637 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats()
646 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats()
650 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats()
654 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats()
658 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats()
667 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats()
675 base::TimeDelta::FromMilliseconds(20), in RecordPacketStats()
683 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats()
687 base::TimeDelta::FromMilliseconds(1), in RecordPacketStats()
[all …]
/external/chromium/base/
Dwatchdog_unittest.cc56 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F()
57 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F()
62 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); in TEST_F()
68 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); in TEST_F()
77 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Enabled", true); in TEST_F()
98 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Disabled", false); in TEST_F()
Dwaitable_event_unittest.cc28 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
32 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
46 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
50 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
53 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
Dtimer_unittest.cc22 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()
Dcondition_variable_unittest.cc40 : kZeroMs(TimeDelta::FromMilliseconds(0)), in ConditionVariableTest()
41 kTenMs(TimeDelta::FromMilliseconds(10)), in ConditionVariableTest()
42 kThirtyMs(TimeDelta::FromMilliseconds(30)), in ConditionVariableTest()
43 kFortyFiveMs(TimeDelta::FromMilliseconds(45)), in ConditionVariableTest()
44 kSixtyMs(TimeDelta::FromMilliseconds(60)), in ConditionVariableTest()
45 kOneHundredMs(TimeDelta::FromMilliseconds(100)) { in ConditionVariableTest()
173 const TimeDelta WAIT_TIME = TimeDelta::FromMilliseconds(300); in TEST_F()
175 const TimeDelta FUDGE_TIME = TimeDelta::FromMilliseconds(50); in TEST_F()
509 SetWorkTime(TimeDelta::FromMilliseconds(30)); in WorkQueue()
723 if (work_time > TimeDelta::FromMilliseconds(0)) { in ThreadMain()
Dtime_unittest.cc132 EXPECT_TRUE(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000)); in TEST()
133 EXPECT_TRUE(TimeDelta::FromMilliseconds(2) == in TEST()
140 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()); in TEST()
141 EXPECT_EQ(13.0, TimeDelta::FromMilliseconds(13).InMillisecondsF()); in TEST()
Dtime_win.cc247 : rollover_(TimeDelta::FromMilliseconds(0)), in NowSingleton()
260 rollover_ += TimeDelta::FromMilliseconds(0x100000000I64); // ~49.7 days. in Now()
262 return TimeDelta::FromMilliseconds(now) + rollover_; in Now()
Dhistogram.h48 name, sample, base::TimeDelta::FromMilliseconds(1), \
133 name, sample, base::TimeDelta::FromMilliseconds(1), \
137 name, sample, base::TimeDelta::FromMilliseconds(10), \
142 name, sample, base::TimeDelta::FromMilliseconds(1), \
Dwaitable_event_win.cc46 return TimedWait(TimeDelta::FromMilliseconds(0)); in IsSignaled()
Dtime.h55 static TimeDelta FromMilliseconds(int64 ms);
396 inline TimeDelta TimeDelta::FromMilliseconds(int64 ms) { in FromMilliseconds() function
Dwatchdog.cc113 if (last_alarm_delay <= TimeDelta::FromMilliseconds(2)) in ThreadMain()
Dtrace_event.cc65 timer_.Start(TimeDelta::FromMilliseconds(250), this, &TraceLog::Heartbeat); in Start()
Dcondition_variable_win.cc49 TimedWait(TimeDelta::FromMilliseconds(INFINITE)); in Wait()
Dprocess_util_posix.cc69 Time wakeup_time = Time::Now() + TimeDelta::FromMilliseconds( in WaitpidWithTimeout()
768 base::TimeDelta::FromMilliseconds(wait_milliseconds); in WaitForProcessesToExit()
Dhistogram.cc620 : Histogram(name, minimum >= TimeDelta::FromMilliseconds(1) ? in LinearHistogram()
621 minimum : TimeDelta::FromMilliseconds(1), in LinearHistogram()
/external/chromium/net/http/
Dhttp_network_transaction.cc830 base::TimeDelta::FromMilliseconds(1), in DoSSLConnectComplete()
839 base::TimeDelta::FromMilliseconds(1), in DoSSLConnectComplete()
1210 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTCPConnectedMetrics()
1226 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTCPConnectedMetrics()
1234 base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromMinutes(10), in LogTCPConnectedMetrics()
1244 handle.idle_time(), base::TimeDelta::FromMilliseconds(1), in LogTCPConnectedMetrics()
1250 handle.idle_time(), base::TimeDelta::FromMilliseconds(1), in LogTCPConnectedMetrics()
1257 handle.idle_time(), base::TimeDelta::FromMilliseconds(1), in LogTCPConnectedMetrics()
1263 handle.idle_time(), base::TimeDelta::FromMilliseconds(1), in LogTCPConnectedMetrics()
1294 handle.idle_time(), base::TimeDelta::FromMilliseconds(1), in LogIOErrorMetrics()
[all …]
/external/chromium/net/socket/
Dtcp_client_socket_pool.cc140 base::TimeDelta::FromMilliseconds(1), in DoTCPConnectComplete()
147 base::TimeDelta::FromMilliseconds(1), in DoTCPConnectComplete()
Dtcp_pinger_unittest.cc93 rv = pinger.Ping(base::TimeDelta::FromMilliseconds(100), 1); in TEST_F()
Dtcp_pinger.h46 return Ping(base::TimeDelta::FromMilliseconds(1000), 10); in Ping()
Dssl_test_util.cc320 rv = pinger.Ping(base::TimeDelta::FromMilliseconds(connection_timeout_), in WaitToStart()
/external/chromium/net/disk_cache/
Ddisk_cache_test_util.cc134 TimeDelta::FromMilliseconds(50), this, &MessageLoopHelper::TimerExpired); in MessageLoopHelper()
/external/chromium/net/base/
Dload_log_unittest.h17 ticks += base::TimeDelta::FromMilliseconds(t); in MakeTime()
Dcookie_monster.h66 last_access_threshold_(base::TimeDelta::FromMilliseconds( in CookieMonster()
/external/chromium/net/proxy/
Dproxy_config_service_linux.cc371 debounce_timer_.Start(base::TimeDelta::FromMilliseconds( in OnChangeNotification()
782 debounce_timer_.Start(base::TimeDelta::FromMilliseconds( in OnChangeNotification()
/external/chromium/net/tools/hresolv/
Dhresolv.cc445 base::TimeDelta::FromMilliseconds(options.cache_ttl), in main()

12