/external/libchrome/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/libbrillo/brillo/ |
backoff_entry_unittest.cc | 46 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); 69 entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1)); 71 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( 76 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( 80 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds( 93 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); 101 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1000)); 138 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); 139 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); 144 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result) [all...] |
/external/libweave/src/ |
backoff_entry_unittest.cc | 44 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); 66 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1)); 70 TimeDelta::FromMilliseconds(base_policy.maximum_backoff_ms + 1)); 75 TimeDelta::FromMilliseconds(base_policy.entry_lifetime_ms - 1)); 79 TimeDelta::FromMilliseconds(base_policy.entry_lifetime_ms)); 91 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(2000)); 99 entry.set_now(entry.GetReleaseTime() + TimeDelta::FromMilliseconds(1000)); 136 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(1000), result); 137 EXPECT_EQ(TimeDelta::FromMilliseconds(1000), entry.GetTimeUntilRelease()); 142 EXPECT_EQ(entry.ImplGetTimeNow() + TimeDelta::FromMilliseconds(2000), result) [all...] |
/external/libweave/third_party/chromium/base/time/ |
time_unittest.cc | 207 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); 219 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); 268 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); 280 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1001); 479 EXPECT_TRUE(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000)); 480 EXPECT_TRUE(TimeDelta::FromMilliseconds(2) == 483 TimeDelta::FromMilliseconds(2300)); 491 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()); 492 EXPECT_EQ(13.0, TimeDelta::FromMilliseconds(13).InMillisecondsF()); 611 t = TimeDelta::FromMilliseconds(max_int / Time::kMillisecondsPerSecond + 1) [all...] |
/external/libchrome/base/debug/ |
debugger.cc | 28 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100));
|
/external/libchrome/base/time/ |
time_unittest.cc | 402 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1000); 414 t = Time::UnixEpoch() - TimeDelta::FromMilliseconds(1001); 463 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1000); 475 t = Time::UnixEpoch() + TimeDelta::FromMilliseconds(1001); 576 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); 656 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(10)); 729 EXPECT_TRUE(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000)); 730 EXPECT_TRUE(TimeDelta::FromMilliseconds(2) == 733 TimeDelta::FromMilliseconds(2300)); 741 EXPECT_EQ(13, TimeDelta::FromMilliseconds(13).InMilliseconds()) [all...] |
/external/libchrome/base/profiler/ |
tracked_time.h | 37 static Duration FromMilliseconds(int ms); 59 static TrackedTime FromMilliseconds(int32_t ms) { return TrackedTime(ms); }
|
tracked_time_unittest.cc | 23 Duration::FromMilliseconds(kSomeMilliseconds); 29 base::TimeDelta::FromMilliseconds(kReallyBigMilliseconds); 41 Duration first = Duration::FromMilliseconds(kFirstMilliseconds); 42 Duration second = Duration::FromMilliseconds(kSecondMilliseconds);
|
tracked_time.cc | 40 Duration Duration::FromMilliseconds(int ms) { return Duration(ms); }
|
/external/libchrome/base/synchronization/ |
waitable_event_unittest.cc | 28 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 32 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 46 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 50 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 53 EXPECT_TRUE(event.TimedWait(TimeDelta::FromMilliseconds(10))); 99 WaitableEventSignaler signaler(TimeDelta::FromMilliseconds(10), ev); 116 WaitableEventSignaler signaler(TimeDelta::FromMilliseconds(10), ev[2]); 140 TimeDelta thread_delay = TimeDelta::FromMilliseconds(10);
|
lock_unittest.cc | 31 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 37 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 68 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 74 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 81 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 20)); 160 PlatformThread::Sleep(TimeDelta::FromMilliseconds(rand() % 10));
|
spin_wait.h | 46 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(50)); \
|
condition_variable_unittest.cc | 44 : kZeroMs(TimeDelta::FromMilliseconds(0)), 45 kTenMs(TimeDelta::FromMilliseconds(10)), 46 kThirtyMs(TimeDelta::FromMilliseconds(30)), 47 kFortyFiveMs(TimeDelta::FromMilliseconds(45)), 48 kSixtyMs(TimeDelta::FromMilliseconds(60)), 49 kOneHundredMs(TimeDelta::FromMilliseconds(100)) { 182 const TimeDelta WAIT_TIME = TimeDelta::FromMilliseconds(300); 184 const TimeDelta FUDGE_TIME = TimeDelta::FromMilliseconds(50); 229 const TimeDelta kWaitTime = TimeDelta::FromMilliseconds(300); 231 const TimeDelta kFudgeTime = TimeDelta::FromMilliseconds(50) [all...] |
/external/v8/test/unittests/base/platform/ |
time-unittest.cc | 28 EXPECT_EQ(TimeDelta::FromSeconds(2), TimeDelta::FromMilliseconds(2000)); 29 EXPECT_EQ(TimeDelta::FromMilliseconds(2), TimeDelta::FromMicroseconds(2000)); 36 TimeDelta::FromMilliseconds(13).InMilliseconds()); 37 EXPECT_DOUBLE_EQ(13.0, TimeDelta::FromMilliseconds(13).InMillisecondsF()); 47 TimeDelta delta1 = TimeDelta::FromMilliseconds(42); 147 static const TimeDelta kTargetGranularity = TimeDelta::FromMilliseconds(16); 154 static const TimeDelta kTargetGranularity = TimeDelta::FromMilliseconds(16); 163 static const TimeDelta kTargetGranularity = TimeDelta::FromMilliseconds(1); 173 while (!timer.HasExpired(TimeDelta::FromMilliseconds(100))) {
|
/system/connectivity/dhcp_client/ |
message_loop_event_dispatcher.cc | 40 FROM_HERE, task, base::TimeDelta::FromMilliseconds(delay_ms));
|
/external/libchrome/base/timer/ |
timer_unittest.cc | 40 timer_.Start(FROM_HERE, TimeDelta::FromMilliseconds(delay_ms_), this, 69 timer_->Start(FROM_HERE, TimeDelta::FromMilliseconds(10), this, 210 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target, 225 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(1), &target, 256 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(50), &target, 264 timers[i].Start(FROM_HERE, TimeDelta::FromMilliseconds(i * 10), 290 base::DelayTimer timer(FROM_HERE, TimeDelta::FromMilliseconds(50), &target, 297 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(100)); 343 TimeDelta::FromMilliseconds(10)); 350 TimeDelta::FromMilliseconds(10)) [all...] |
/external/libchrome/base/trace_event/ |
trace_event_synthetic_delay_unittest.cc | 31 AdvanceTime(base::TimeDelta::FromMilliseconds(kShortDurationMs / 10)); 39 base::TimeDelta::FromMilliseconds(kTargetDurationMs)); 82 base::TimeDelta::FromMilliseconds(kTargetDurationMs)); 104 AdvanceTime(base::TimeDelta::FromMilliseconds(kTargetDurationMs));
|
/system/connectivity/apmanager/ |
event_dispatcher.cc | 51 FROM_HERE, task, base::TimeDelta::FromMilliseconds(delay_ms));
|
/external/libchrome/base/files/ |
important_file_writer_unittest.cc | 151 TimeDelta::FromMilliseconds(25)); 158 TimeDelta::FromMilliseconds(100)); 174 TimeDelta::FromMilliseconds(100)); 184 TimeDelta::FromMilliseconds(25)); 191 TimeDelta::FromMilliseconds(100));
|
/external/libchrome/base/metrics/ |
histogram_macros.h | 94 name, sample, base::TimeDelta::FromMilliseconds(1), \ 162 name, sample, base::TimeDelta::FromMilliseconds(1), \ 166 name, sample, base::TimeDelta::FromMilliseconds(10), \ 171 name, sample, base::TimeDelta::FromMilliseconds(1), \ 177 name, sample, base::TimeDelta::FromMilliseconds(1), \
|
/system/update_engine/common/ |
mock_http_fetcher.cc | 92 base::TimeDelta::FromMilliseconds(10)); 104 base::TimeDelta::FromMilliseconds(10));
|
/system/connectivity/shill/ |
event_dispatcher.cc | 53 FROM_HERE, task, base::TimeDelta::FromMilliseconds(delay_ms));
|
/system/tpm/tpm_manager/server/ |
tpm_connection.cc | 96 base::TimeDelta::FromMilliseconds(kTpmConnectIntervalMs));
|
/external/libchrome/base/message_loop/ |
message_pump_glib_unittest.cc | 108 Time future = last_time + TimeDelta::FromMilliseconds(delay_ms); 255 TimeDelta::FromMilliseconds(10*i)); 265 TimeDelta::FromMilliseconds(150)); 461 TimeDelta::FromMilliseconds(30)); 465 TimeDelta::FromMilliseconds(40)); 496 TimeDelta::FromMilliseconds(30)); 500 TimeDelta::FromMilliseconds(40));
|
message_loop_test.cc | 88 SlowFunc(TimeDelta::FromMilliseconds(10), quit_counter); 129 const TimeDelta kDelay = TimeDelta::FromMilliseconds(100); 157 TimeDelta::FromMilliseconds(200)); 163 TimeDelta::FromMilliseconds(10)); 183 const TimeDelta kDelay = TimeDelta::FromMilliseconds(100); 208 const TimeDelta kPause = TimeDelta::FromMilliseconds(50); 217 TimeDelta::FromMilliseconds(10)); 248 TimeDelta::FromMilliseconds(1)); 275 TimeDelta::FromMilliseconds(10)); 289 PlatformThread::Sleep(TimeDelta::FromMilliseconds(100)) [all...] |