/external/chromium_org/cc/animation/ |
D | scrollbar_animation_controller_linear_fade_unittest.cc | 61 base::TimeDelta::FromSeconds(2), in SetUp() 62 base::TimeDelta::FromSeconds(3)); in SetUp() 89 time += base::TimeDelta::FromSeconds(100); in TEST_F() 96 time += base::TimeDelta::FromSeconds(100); in TEST_F() 105 time += base::TimeDelta::FromSeconds(1); in TEST_F() 113 time += base::TimeDelta::FromSeconds(100); in TEST_F() 119 time += base::TimeDelta::FromSeconds(2); in TEST_F() 123 time += base::TimeDelta::FromSeconds(1); in TEST_F() 127 time += base::TimeDelta::FromSeconds(1); in TEST_F() 131 time += base::TimeDelta::FromSeconds(1); in TEST_F() [all …]
|
D | scrollbar_animation_controller_thinning_unittest.cc | 60 base::TimeDelta::FromSeconds(2), in SetUp() 61 base::TimeDelta::FromSeconds(3)); in SetUp() 85 time += base::TimeDelta::FromSeconds(1); in TEST_F() 93 time += base::TimeDelta::FromSeconds(1); in TEST_F() 103 time += base::TimeDelta::FromSeconds(2); in TEST_F() 108 time += base::TimeDelta::FromSeconds(1); in TEST_F() 113 time += base::TimeDelta::FromSeconds(1); in TEST_F() 118 time += base::TimeDelta::FromSeconds(1); in TEST_F() 128 time += base::TimeDelta::FromSeconds(1); in TEST_F() 132 time += base::TimeDelta::FromSeconds(3); in TEST_F() [all …]
|
/external/chromium_org/media/base/ |
D | clock_unittest.cc | 40 base::TimeDelta::FromSeconds(kDurationInSeconds); in SetDuration() 55 const base::TimeDelta kExpected = base::TimeDelta::FromSeconds(0); in TEST_F() 61 const base::TimeDelta kTimeToAdvance = base::TimeDelta::FromSeconds(2); in TEST_F() 70 const base::TimeDelta kTimeToAdvance = base::TimeDelta::FromSeconds(5); in TEST_F() 80 const base::TimeDelta kTimeToAdvance = base::TimeDelta::FromSeconds(4); in TEST_F() 92 const base::TimeDelta kPlayDuration1 = base::TimeDelta::FromSeconds(2); in TEST_F() 93 const base::TimeDelta kPlayDuration2 = base::TimeDelta::FromSeconds(4); in TEST_F() 94 const base::TimeDelta kPlayDuration3 = base::TimeDelta::FromSeconds(8); in TEST_F() 112 const base::TimeDelta kPlayDuration1 = base::TimeDelta::FromSeconds(2); in TEST_F() 113 const base::TimeDelta kPlayDuration2 = base::TimeDelta::FromSeconds(4); in TEST_F() [all …]
|
/external/chromium_org/ash/system/chromeos/power/ |
D | power_status_unittest.cc | 81 base::TimeDelta::FromSeconds(-1))); in TEST_F() 83 base::TimeDelta::FromSeconds(0))); in TEST_F() 85 base::TimeDelta::FromSeconds(59))); in TEST_F() 87 base::TimeDelta::FromSeconds(60))); in TEST_F() 89 base::TimeDelta::FromSeconds(600))); in TEST_F() 91 base::TimeDelta::FromSeconds(3600))); in TEST_F() 93 base::TimeDelta::FromSeconds( in TEST_F() 96 base::TimeDelta::FromSeconds( in TEST_F() 103 base::TimeDelta::FromSeconds(0), &hours, &minutes); in TEST_F() 108 base::TimeDelta::FromSeconds(60), &hours, &minutes); in TEST_F() [all …]
|
/external/chromium_org/ash/system/chromeos/session/ |
D | logout_confirmation_controller_unittest.cc | 198 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F() 200 runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); in TEST_F() 202 runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); in TEST_F() 211 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(30)); in TEST_F() 213 runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); in TEST_F() 216 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F() 217 runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); in TEST_F() 219 runner_->FastForwardBy(base::TimeDelta::FromSeconds(2)); in TEST_F() 228 runner_->GetCurrentTime() + base::TimeDelta::FromSeconds(10)); in TEST_F() 230 runner_->FastForwardBy(base::TimeDelta::FromSeconds(9)); in TEST_F() [all …]
|
/external/chromium_org/extensions/browser/ |
D | quota_service_unittest.cc | 155 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(10 + m))); in DoMoreThan2PerMinuteFor5Minutes() 161 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(15 + m))); in DoMoreThan2PerMinuteFor5Minutes() 165 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(20 + m))); in DoMoreThan2PerMinuteFor5Minutes() 167 EXPECT_TRUE(lim->Apply(b, start_time + TimeDelta::FromSeconds(50 + m))); in DoMoreThan2PerMinuteFor5Minutes() 180 EXPECT_TRUE(lim.Apply(&b, kStartTime + TimeDelta::FromSeconds(30))); in TEST_F() 185 EXPECT_TRUE(lim.Apply(&b, k1MinuteAfterStart - TimeDelta::FromSeconds(1))); in TEST_F() 187 EXPECT_TRUE(lim.Apply(&b, k1MinuteAfterStart + TimeDelta::FromSeconds(1))); in TEST_F() 188 EXPECT_TRUE(lim.Apply(&b, k1MinuteAfterStart + TimeDelta::FromSeconds(2))); in TEST_F() 189 EXPECT_FALSE(lim.Apply(&b, k1MinuteAfterStart + TimeDelta::FromSeconds(3))); in TEST_F() 239 kStartTime + TimeDelta::FromSeconds(10))); in TEST_F() [all …]
|
/external/chromium_org/content/renderer/media/ |
D | buffered_data_source_host_impl_unittest.cc | 15 host_.AddBufferedTimeRanges(&ranges_, base::TimeDelta::FromSeconds(10)); in Add() 36 EXPECT_EQ(base::TimeDelta::FromSeconds(1), ranges_.start(0)); in TEST_F() 37 EXPECT_EQ(base::TimeDelta::FromSeconds(2), ranges_.end(0)); in TEST_F() 41 ranges_.Add(base::TimeDelta::FromSeconds(0), base::TimeDelta::FromSeconds(1)); in TEST_F() 46 EXPECT_EQ(base::TimeDelta::FromSeconds(0), ranges_.start(0)); in TEST_F() 47 EXPECT_EQ(base::TimeDelta::FromSeconds(2), ranges_.end(0)); in TEST_F() 55 EXPECT_EQ(base::TimeDelta::FromSeconds(0), ranges_.start(0)); in TEST_F() 56 EXPECT_EQ(base::TimeDelta::FromSeconds(10), ranges_.end(0)); in TEST_F()
|
/external/chromium_org/sync/engine/ |
D | backoff_delay_provider_unittest.cc | 22 EXPECT_EQ(TimeDelta::FromSeconds(1), in TEST_F() 23 delay->GetDelay(TimeDelta::FromSeconds(0))); in TEST_F() 24 EXPECT_LE(TimeDelta::FromSeconds(1), in TEST_F() 25 delay->GetDelay(TimeDelta::FromSeconds(1))); in TEST_F() 26 EXPECT_LE(TimeDelta::FromSeconds(50), in TEST_F() 27 delay->GetDelay(TimeDelta::FromSeconds(50))); in TEST_F() 28 EXPECT_LE(TimeDelta::FromSeconds(10), in TEST_F() 29 delay->GetDelay(TimeDelta::FromSeconds(10))); in TEST_F() 30 EXPECT_EQ(TimeDelta::FromSeconds(kMaxBackoffSeconds), in TEST_F() 31 delay->GetDelay(TimeDelta::FromSeconds(kMaxBackoffSeconds))); in TEST_F() [all …]
|
D | backoff_delay_provider.cc | 19 TimeDelta::FromSeconds(kInitialBackoffRetrySeconds), in FromDefaults() 20 TimeDelta::FromSeconds(kInitialBackoffImmediateRetrySeconds)); in FromDefaults() 26 TimeDelta::FromSeconds(kInitialBackoffShortRetrySeconds), in WithShortInitialRetryOverride() 27 TimeDelta::FromSeconds(kInitialBackoffImmediateRetrySeconds)); in WithShortInitialRetryOverride() 41 return TimeDelta::FromSeconds(kMaxBackoffSeconds); in GetDelay() 59 return TimeDelta::FromSeconds(backoff_s); in GetDelay()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | session_length_limiter_unittest.cc | 561 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 570 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 592 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 602 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 612 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 637 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 647 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 657 runner_->FastForwardBy(base::TimeDelta::FromSeconds(1)); in TEST_F() 686 SetSessionLengthLimitPref(base::TimeDelta::FromSeconds(60)); in TEST_F() 695 EXPECT_EQ(session_start_time_ + base::TimeDelta::FromSeconds(60), in TEST_F() [all …]
|
/external/chromium_org/content/browser/download/ |
D | rate_estimator_unittest.cc | 15 RateEstimator estimator(TimeDelta::FromSeconds(1), 10u, now); in TEST() 26 now += TimeDelta::FromSeconds(3); in TEST() 32 now += TimeDelta::FromSeconds(4); in TEST() 36 now += TimeDelta::FromSeconds(2); in TEST() 42 now += TimeDelta::FromSeconds(1); in TEST() 48 now += TimeDelta::FromSeconds(40); in TEST()
|
/external/chromium_org/net/http/ |
D | http_security_headers_unittest.cc | 230 expect_max_age = base::TimeDelta::FromSeconds(243); in TEST_F() 239 expect_max_age = base::TimeDelta::FromSeconds(567); in TEST_F() 245 expect_max_age = base::TimeDelta::FromSeconds(890); in TEST_F() 251 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() 257 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() 263 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() 270 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() 277 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() 284 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() 291 expect_max_age = base::TimeDelta::FromSeconds(123); in TEST_F() [all …]
|
/external/chromium_org/remoting/base/ |
D | rate_counter_unittest.cc | 14 RateCounter rate_counter(base::TimeDelta::FromSeconds(1)); in TEST() 19 now += base::TimeDelta::FromSeconds(1); in TEST() 28 RateCounter rate_counter(base::TimeDelta::FromSeconds(1)); in TEST() 46 RateCounter rate_counter(base::TimeDelta::FromSeconds(2)); in TEST() 51 now += base::TimeDelta::FromSeconds(1); in TEST() 67 RateCounter rate_counter(base::TimeDelta::FromSeconds(kWindowSeconds)); in TEST() 73 now += base::TimeDelta::FromSeconds(1); in TEST()
|
/external/chromium_org/chrome/browser/chromeos/power/ |
D | peripheral_battery_observer_browsertest.cc | 72 clock.Advance(base::TimeDelta::FromSeconds(100)); in IN_PROC_BROWSER_TEST_F() 86 clock.Advance(base::TimeDelta::FromSeconds(10)); in IN_PROC_BROWSER_TEST_F() 94 clock.Advance(base::TimeDelta::FromSeconds(5)); in IN_PROC_BROWSER_TEST_F() 99 clock.NowTicks() - base::TimeDelta::FromSeconds(5)); in IN_PROC_BROWSER_TEST_F() 103 clock.Advance(base::TimeDelta::FromSeconds(5)); in IN_PROC_BROWSER_TEST_F() 108 clock.NowTicks() - base::TimeDelta::FromSeconds(10)); in IN_PROC_BROWSER_TEST_F() 112 clock.Advance(base::TimeDelta::FromSeconds(10)); in IN_PROC_BROWSER_TEST_F() 117 clock.NowTicks() - base::TimeDelta::FromSeconds(20)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/cloud_print/service/win/ |
D | service_ipc_unittest.cc | 15 ASSERT_FALSE(setup.WaitResponce(base::TimeDelta::FromSeconds(3))); in TEST() 23 ASSERT_TRUE(setup.WaitResponce(base::TimeDelta::FromSeconds(30))); in TEST() 32 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1)); in TEST() 34 ASSERT_TRUE(setup.WaitResponce(base::TimeDelta::FromSeconds(30))); in TEST() 44 ASSERT_FALSE(setup.WaitResponce(base::TimeDelta::FromSeconds(3))); in TEST()
|
/external/chromium_org/content/browser/media/capture/ |
D | video_capture_oracle_unittest.cc | 75 const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; in TEST() 77 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 60; in TEST() 115 const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; in TEST() 117 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 50; in TEST() 161 const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; in TEST() 163 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 75; in TEST() 211 const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; in TEST() 213 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 30; in TEST() 247 const base::TimeDelta capture_period = base::TimeDelta::FromSeconds(1) / 30; in TEST() 249 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 24; in TEST() [all …]
|
/external/chromium_org/chrome/browser/captive_portal/ |
D | captive_portal_service_unittest.cc | 120 set_maximum_backoff(base::TimeDelta::FromSeconds(1600)); in Initialize() 156 base::TimeDelta::FromSeconds(expected_delay_secs); in RunTest() 188 base::TimeDelta::FromSeconds(expected_delay_secs); in RunDisabledTest() 305 set_initial_backoff_portal(base::TimeDelta::FromSeconds(1)); in TEST_F() 307 set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); in TEST_F() 325 set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); in TEST_F() 339 set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(250)); in TEST_F() 341 set_initial_backoff_portal(base::TimeDelta::FromSeconds(100)); in TEST_F() 358 set_initial_backoff_portal(base::TimeDelta::FromSeconds(100)); in TEST_F() 465 set_initial_backoff_no_portal(base::TimeDelta::FromSeconds(100)); in TEST_F() [all …]
|
/external/chromium_org/net/dns/ |
D | host_cache_unittest.cc | 28 const base::TimeDelta kTTL = base::TimeDelta::FromSeconds(10); in TEST() 50 now += base::TimeDelta::FromSeconds(5); in TEST() 59 now += base::TimeDelta::FromSeconds(4); in TEST() 67 now += base::TimeDelta::FromSeconds(1); in TEST() 82 now += base::TimeDelta::FromSeconds(10); in TEST() 91 const base::TimeDelta kSuccessEntryTTL = base::TimeDelta::FromSeconds(10); in TEST() 92 const base::TimeDelta kFailureEntryTTL = base::TimeDelta::FromSeconds(0); in TEST() 120 const base::TimeDelta kFailureEntryTTL = base::TimeDelta::FromSeconds(10); in TEST() 140 now += base::TimeDelta::FromSeconds(5); in TEST() 149 now += base::TimeDelta::FromSeconds(4); in TEST() [all …]
|
/external/chromium_org/components/domain_reliability/ |
D | util_unittest.cc | 26 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F() 35 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F() 50 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F() 62 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F() 75 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F() 88 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F() 103 const TimeDelta delta = TimeDelta::FromSeconds(1); in TEST_F()
|
/external/chromium_org/net/quic/ |
D | quic_config_test.cc | 42 config_.set_idle_connection_state_lifetime(QuicTime::Delta::FromSeconds(5), in TEST_F() 43 QuicTime::Delta::FromSeconds(2)); in TEST_F() 98 QuicTime::Delta::FromSeconds(2 * kDefaultTimeoutSecs), in TEST_F() 99 QuicTime::Delta::FromSeconds(kDefaultTimeoutSecs)); in TEST_F() 121 EXPECT_EQ(QuicTime::Delta::FromSeconds(kDefaultTimeoutSecs), in TEST_F() 125 EXPECT_EQ(QuicTime::Delta::FromSeconds(0), config_.keepalive_timeout()); in TEST_F() 146 QuicTime::Delta::FromSeconds(kDefaultTimeoutSecs / 2), in TEST_F() 147 QuicTime::Delta::FromSeconds(kDefaultTimeoutSecs / 2)); in TEST_F() 168 EXPECT_EQ(QuicTime::Delta::FromSeconds(kDefaultTimeoutSecs / 2), in TEST_F() 174 EXPECT_EQ(QuicTime::Delta::FromSeconds(0), config_.keepalive_timeout()); in TEST_F() [all …]
|
D | quic_time_test.cc | 27 EXPECT_EQ(QuicTime::Delta::FromSeconds(1), in TEST() 29 EXPECT_EQ(QuicTime::Delta::FromSeconds(1), in TEST() 37 QuicTime::Delta::FromSeconds(2).ToMicroseconds()); in TEST() 67 EXPECT_TRUE(QuicTime::Delta::FromSeconds(0) != in TEST() 68 QuicTime::Delta::FromSeconds(1)); in TEST() 69 EXPECT_FALSE(QuicTime::Delta::FromSeconds(0) != in TEST() 70 QuicTime::Delta::FromSeconds(0)); in TEST() 141 const QuicTime one = zero.Add(QuicTime::Delta::FromSeconds(1)); in TEST_F()
|
D | quic_alarm_test.cc | 54 deadline_(QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7))), in QuicAlarmTest() 55 deadline2_(QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(14))), in QuicAlarmTest() 75 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F() 83 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F() 92 QuicTime deadline = QuicTime::Zero().Add(QuicTime::Delta::FromSeconds(7)); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | demo_mode_detector.cc | 89 base::TimeDelta::FromSeconds(prefs->GetInt64(prefs::kTimeOnOobe)); in SetupTimeouts() 99 base::TimeDelta::FromSeconds(derelict_detection_timeout); in SetupTimeouts() 108 derelict_idle_timeout_ = base::TimeDelta::FromSeconds(derelict_idle_timeout); in SetupTimeouts() 119 base::TimeDelta::FromSeconds(oobe_timer_update_interval); in SetupTimeouts() 126 base::TimeDelta::FromSeconds(0)); in SetupTimeouts()
|
/external/chromium_org/chrome/browser/chromeos/net/ |
D | network_portal_detector_strategy.cc | 38 return AdjustDelay(base::TimeDelta::FromSeconds(kDelayBetweenAttemptsSec)); in GetDelayTillNextAttemptImpl() 44 return base::TimeDelta::FromSeconds(timeout); in GetNextAttemptTimeoutImpl() 65 return AdjustDelay(base::TimeDelta::FromSeconds(kDelayBetweenAttemptsSec)); in GetDelayTillNextAttemptImpl() 68 return base::TimeDelta::FromSeconds(kAttemptTimeoutSec); in GetNextAttemptTimeoutImpl() 103 return AdjustDelay(base::TimeDelta::FromSeconds(delay)); in GetDelayTillNextAttemptImpl() 113 return base::TimeDelta::FromSeconds(timeout); in GetNextAttemptTimeoutImpl()
|
/external/chromium_org/net/android/ |
D | network_change_notifier_android.cc | 143 params.ip_address_offline_delay_ = base::TimeDelta::FromSeconds(1); in NetworkChangeCalculatorParamsAndroid() 144 params.ip_address_online_delay_ = base::TimeDelta::FromSeconds(1); in NetworkChangeCalculatorParamsAndroid() 145 params.connection_type_offline_delay_ = base::TimeDelta::FromSeconds(0); in NetworkChangeCalculatorParamsAndroid() 146 params.connection_type_online_delay_ = base::TimeDelta::FromSeconds(0); in NetworkChangeCalculatorParamsAndroid()
|