/external/chromium_org/net/quic/congestion_control/ |
rtt_stats_test.cc | 30 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(100), 33 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(100), rtt_stats_.min_rtt()); 34 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(100), 36 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(10), 39 QuicTime::Delta::FromMilliseconds(10))); 40 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.min_rtt()); 41 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.recent_min_rtt()); 42 rtt_stats_.UpdateRtt(QuicTime::Delta::FromMilliseconds(50), 45 QuicTime::Delta::FromMilliseconds(20))); 46 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), rtt_stats_.min_rtt()) [all...] |
leaky_bucket_test.cc | 28 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), 30 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); 32 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(5), 34 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); 37 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); 41 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(11)); 45 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); 47 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(5)); 49 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(10), 51 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(10)) [all...] |
pacing_sender_test.cc | 31 QuicTime::Delta::FromMilliseconds(1), 34 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(9)); 143 kMaxPacketSize, QuicTime::Delta::FromMilliseconds(2)))); 161 CheckPacketIsDelayed(QuicTime::Delta::FromMilliseconds(2)); 164 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(2)); 167 CheckPacketIsDelayed(QuicTime::Delta::FromMilliseconds(2)); 171 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(4)); 176 CheckPacketIsDelayed(QuicTime::Delta::FromMilliseconds(2)); 179 clock_.AdvanceTime(QuicTime::Delta::FromMilliseconds(8)); 188 CheckPacketIsDelayed(QuicTime::Delta::FromMilliseconds(2)) [all...] |
/external/chromium_org/base/test/ |
test_timeouts.h | 23 return base::TimeDelta::FromMilliseconds(tiny_timeout_ms_); 30 return base::TimeDelta::FromMilliseconds(action_timeout_ms_); 38 return base::TimeDelta::FromMilliseconds(action_max_timeout_ms_); 45 return base::TimeDelta::FromMilliseconds(test_launcher_timeout_ms_);
|
/external/chromium_org/media/cast/sender/ |
congestion_control_unittest.cc | 27 base::TimeDelta::FromMilliseconds(kStartMillisecond)); 67 base::TimeDelta::FromMilliseconds(10), 68 base::TimeDelta::FromMilliseconds(frame_delay), 69 base::TimeDelta::FromMilliseconds(45)); 71 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(100)); 75 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(300), 76 base::TimeDelta::FromMilliseconds(300)); 81 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(200), 82 base::TimeDelta::FromMilliseconds(300)); 88 testing_clock_.NowTicks() + base::TimeDelta::FromMilliseconds(100) [all...] |
/external/chromium_org/ash/wm/ |
session_state_animator.cc | 78 return base::TimeDelta::FromMilliseconds(400); 80 return base::TimeDelta::FromMilliseconds(150); 82 return base::TimeDelta::FromMilliseconds(150); 84 return base::TimeDelta::FromMilliseconds(200); 86 return base::TimeDelta::FromMilliseconds(350); 88 return base::TimeDelta::FromMilliseconds(350); 90 return base::TimeDelta::FromMilliseconds(1000); 92 return base::TimeDelta::FromMilliseconds(500);
|
/external/chromium_org/cc/debug/ |
rendering_stats_unittest.cc | 31 time_delta_list.Append(base::TimeDelta::FromMilliseconds(234)); 32 time_delta_list.Append(base::TimeDelta::FromMilliseconds(827)); 39 time_delta_list_a.Append(base::TimeDelta::FromMilliseconds(810)); 40 time_delta_list_a.Append(base::TimeDelta::FromMilliseconds(32)); 43 time_delta_list_b.Append(base::TimeDelta::FromMilliseconds(43)); 44 time_delta_list_b.Append(base::TimeDelta::FromMilliseconds(938)); 45 time_delta_list_b.Append(base::TimeDelta::FromMilliseconds(2));
|
/external/chromium_org/remoting/host/ |
capture_scheduler_unittest.cc | 26 base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs)); 28 base::TimeDelta::FromMilliseconds(kTestInputs[j])); 30 base::TimeDelta::FromMilliseconds(kTestInputs[j])); 50 base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs)); 52 base::TimeDelta::FromMilliseconds(kTestInputs[j])); 54 base::TimeDelta::FromMilliseconds( 74 base::TimeDelta::FromMilliseconds(kMinumumFrameIntervalMs)); 77 base::TimeDelta::FromMilliseconds(kTestInputs[j])); 79 base::TimeDelta::FromMilliseconds(
|
/external/chromium_org/net/quic/ |
quic_time_test.cc | 15 EXPECT_FALSE(QuicTime::Delta::FromMilliseconds(1).IsZero()); 21 EXPECT_FALSE(QuicTime::Delta::FromMilliseconds(1).IsInfinite()); 25 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(1), 28 QuicTime::Delta::FromMilliseconds(1000)); 33 EXPECT_EQ(2, QuicTime::Delta::FromMilliseconds(2000).ToSeconds()); 34 EXPECT_EQ(1000, QuicTime::Delta::FromMilliseconds(1).ToMicroseconds()); 36 EXPECT_EQ(QuicTime::Delta::FromMilliseconds(2000).ToMicroseconds(), 42 QuicTime::Delta::Zero().Add(QuicTime::Delta::FromMilliseconds(2))); 47 QuicTime::Delta::FromMilliseconds(2).Subtract( 48 QuicTime::Delta::FromMilliseconds(1))) [all...] |
/external/chromium_org/ui/views/ |
repeat_controller.cc | 28 timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kInitialRepeatDelay), 40 timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(kRepeatDelay), this,
|
/external/chromium_org/net/base/ |
backoff_entry_unittest.cc | 49 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); 72 entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1)); 74 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( 79 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( 83 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( 96 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); 104 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1000)); 141 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); 142 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); 147 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result) [all...] |
/external/chromium_org/cc/base/ |
rolling_time_delta_history_unittest.cc | 18 empty_history.InsertSample(base::TimeDelta::FromMilliseconds(10)); 19 empty_history.InsertSample(base::TimeDelta::FromMilliseconds(15)); 20 empty_history.InsertSample(base::TimeDelta::FromMilliseconds(20)); 34 base::TimeDelta sample1 = base::TimeDelta::FromMilliseconds(10); 35 base::TimeDelta sample2 = base::TimeDelta::FromMilliseconds(20); 59 base::TimeDelta sample1 = base::TimeDelta::FromMilliseconds(150); 60 base::TimeDelta sample2 = base::TimeDelta::FromMilliseconds(250); 61 base::TimeDelta sample3 = base::TimeDelta::FromMilliseconds(200); 79 large_history.InsertSample(base::TimeDelta::FromMilliseconds(i)); 81 EXPECT_EQ(base::TimeDelta::FromMilliseconds(1) [all...] |
/external/chromium_org/base/threading/ |
watchdog_unittest.cc | 58 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 59 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 64 Watchdog watchdog1(TimeDelta::FromMilliseconds(300), "Disabled", false); 70 Watchdog watchdog2(TimeDelta::FromMilliseconds(300), "Enabled", true); 79 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Enabled", true); 100 WatchdogCounter watchdog(TimeDelta::FromMilliseconds(10), "Disabled", false); 103 PlatformThread::Sleep(TimeDelta::FromMilliseconds(500)); 114 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)); 118 if (end - start > TimeDelta::FromMilliseconds(500)) {
|
/external/chromium_org/cc/test/ |
ordered_simple_task_runner_unittest.cc | 172 1, base::TimeDelta(), base::TimeDelta::FromMilliseconds(1)); 174 2, base::TimeDelta(), base::TimeDelta::FromMilliseconds(1)); 176 3, base::TimeDelta(), base::TimeDelta::FromMilliseconds(1)); 187 base::TimeDelta::FromMilliseconds(1), 188 base::TimeDelta::FromMilliseconds(20)); 190 base::TimeDelta::FromMilliseconds(2), 191 base::TimeDelta::FromMilliseconds(5)); 193 base::TimeDelta::FromMilliseconds(3), 194 base::TimeDelta::FromMilliseconds(5)); 205 base::TimeDelta::FromMilliseconds(1) [all...] |
/external/chromium_org/media/cast/net/ |
cast_transport_sender_impl_unittest.cc | 74 base::TimeDelta::FromMilliseconds(kStartMillisecond)); 124 base::TimeDelta::FromMilliseconds(10), 167 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(50)); 173 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(50)); 179 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(50)); 186 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(50)); 196 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(10)); 207 dedup_info.resend_interval = base::TimeDelta::FromMilliseconds(10); 211 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(10)); 221 task_runner_->Sleep(base::TimeDelta::FromMilliseconds(10)) [all...] |
/external/chromium_org/chrome/browser/chromeos/kiosk_mode/ |
mock_kiosk_mode_settings.cc | 27 return base::TimeDelta::FromMilliseconds(kMockIdleLogoutTimeoutMs); 34 return base::TimeDelta::FromMilliseconds(kMockIdleLogoutWarningDurationMs);
|
/external/chromium_org/content/browser/renderer_host/input/ |
input_router_config_helper.cc | 26 config.debounce_interval = base::TimeDelta::FromMilliseconds( 31 base::TimeDelta::FromMilliseconds( 35 base::TimeDelta::FromMilliseconds(static_cast<int>( 40 base::TimeDelta::FromMilliseconds( 44 base::TimeDelta::FromMilliseconds(static_cast<int>( 70 base::TimeDelta::FromMilliseconds( 73 base::TimeDelta::FromMilliseconds( 83 base::TimeDelta::FromMilliseconds(kTouchAckTimeoutDelayMs);
|
/external/chromium_org/media/cast/logging/ |
receiver_time_offset_estimator_impl_unittest.cc | 54 receiver_clock_.Advance(base::TimeDelta::FromMilliseconds(true_offset_ms)); 64 AdvanceClocks(base::TimeDelta::FromMilliseconds(20)); 84 AdvanceClocks(base::TimeDelta::FromMilliseconds(10)); 98 AdvanceClocks(base::TimeDelta::FromMilliseconds(30)); 117 receiver_clock_.Advance(base::TimeDelta::FromMilliseconds(true_offset_ms)); 127 AdvanceClocks(base::TimeDelta::FromMilliseconds(20)); 147 AdvanceClocks(base::TimeDelta::FromMilliseconds(10)); 149 AdvanceClocks(base::TimeDelta::FromMilliseconds(30)); 179 receiver_clock_.Advance(base::TimeDelta::FromMilliseconds(true_offset_ms)); 196 AdvanceClocks(base::TimeDelta::FromMilliseconds(20)) [all...] |
/external/chromium_org/media/cast/net/rtp/ |
cast_message_builder_unittest.cc | 100 base::TimeDelta::FromMilliseconds(kStartMillisecond)); 151 base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); 154 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); 167 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); 183 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); 190 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); 198 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); 205 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)); 211 base::TimeDelta::FromMilliseconds(kShortTimeIncrementMs)); 218 base::TimeDelta::FromMilliseconds(kLongTimeIncrementMs)) [all...] |
/external/chromium_org/base/debug/ |
debugger.cc | 27 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
|
/external/chromium_org/base/power_monitor/ |
power_monitor_device_source.cc | 21 base::TimeDelta::FromMilliseconds(kDelayedBatteryCheckMs), this,
|
/external/chromium_org/chrome/browser/android/ |
uma_utils.cc | 16 base::TimeDelta::FromMilliseconds(startTimeUnixMs);
|
/external/chromium_org/chrome/browser/history/android/ |
android_time.h | 16 return base::TimeDelta::FromMilliseconds(milliseconds) +
|
/external/chromium_org/components/network_time/ |
network_time_tracker_unittest.cc | 67 ticks_now_ += base::TimeDelta::FromMilliseconds(ms); 129 base::TimeDelta::FromMilliseconds(kResolution1), 130 base::TimeDelta::FromMilliseconds(kLatency1), 141 base::TimeDelta::FromMilliseconds(kResolution2), 142 base::TimeDelta::FromMilliseconds(kLatency2), 157 base::TimeDelta::FromMilliseconds(kResolution2), 158 base::TimeDelta::FromMilliseconds(kLatency2),
|
/external/chromium_org/media/mojo/services/ |
media_type_converters_unittest.cc | 26 buffer->set_timestamp(base::TimeDelta::FromMilliseconds(123)); 27 buffer->set_duration(base::TimeDelta::FromMilliseconds(456)); 28 buffer->set_splice_timestamp(base::TimeDelta::FromMilliseconds(200)); 30 base::TimeDelta::FromMilliseconds(5), 31 base::TimeDelta::FromMilliseconds(6)));
|