/external/libbrillo/brillo/message_loops/ |
H A D | fake_message_loop_unittest.cc | 49 TimeDelta::FromSeconds(1)); 51 TimeDelta::FromSeconds(4)); 53 TimeDelta::FromSeconds(3)); 55 TimeDelta::FromSeconds(2)); 65 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(1)); 66 loop_->PostDelayedTask(Bind(&base::DoNothing), TimeDelta::FromSeconds(2)); 74 EXPECT_EQ(start + TimeDelta::FromSeconds(1), clock_.Now()); 78 clock_.SetNow(start + TimeDelta::FromSeconds(3)); 81 EXPECT_EQ(start + TimeDelta::FromSeconds(3), clock_.Now()); 97 TimeDelta::FromSeconds(1 [all...] |
/external/libchrome/base/timer/ |
H A D | mock_timer_unittest.cc | 19 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); 33 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); 48 base::TimeDelta delay = base::TimeDelta::FromSeconds(2); 73 base::TimeDelta delay = base::TimeDelta::FromSeconds(2);
|
/external/libweave/src/test/ |
H A D | fake_stream.cc | 38 base::TimeDelta::FromSeconds(0)); 45 base::TimeDelta::FromSeconds(0)); 56 base::TimeDelta::FromSeconds(0));
|
/external/libchrome/base/synchronization/ |
H A D | spin_wait.h | 34 SPIN_FOR_TIMEDELTA_OR_UNTIL_TRUE(base::TimeDelta::FromSeconds(1), \
|
H A D | waitable_event_posix.cc | 156 bool result = TimedWait(TimeDelta::FromSeconds(-1));
|
/external/libweave/src/privet/ |
H A D | wifi_bootstrap_manager.cc | 62 base::TimeDelta::FromSeconds(kMonitoringWithSsidTimeoutSeconds)); 64 StartMonitoring(base::TimeDelta::FromSeconds(kMonitoringTimeoutSeconds)); 75 StartMonitoring(base::TimeDelta::FromSeconds(kMonitoringTimeoutSeconds)); 87 base::TimeDelta::FromSeconds(kBootstrapTimeoutSeconds)); 110 base::TimeDelta::FromSeconds(kConnectingTimeoutSeconds)); 193 base::TimeDelta::FromSeconds(1)); 228 StartMonitoring(base::TimeDelta::FromSeconds(kMonitoringTimeoutSeconds)); 241 StartMonitoring(base::TimeDelta::FromSeconds(kMonitoringTimeoutSeconds)); 250 ContinueMonitoring(base::TimeDelta::FromSeconds(kMonitoringTimeoutSeconds));
|
H A D | auth_manager_unittest.cc | 169 base::TimeDelta::FromSeconds(i)); 177 .WillRepeatedly(Return(kStartTime + base::TimeDelta::FromSeconds(i))); 181 DelegateToUser(token, base::TimeDelta::FromSeconds(1000), 187 Return(kStartTime + base::TimeDelta::FromSeconds(i + 1))); 253 auto extended = DelegateToUser(root, base::TimeDelta::FromSeconds(1000), 281 auto extended = DelegateToUser(root, base::TimeDelta::FromSeconds(1000), 285 auto new_time = clock_.Now() + base::TimeDelta::FromSeconds(15); 294 auto extended = DelegateToUser(root, base::TimeDelta::FromSeconds(10), 299 auto new_time = clock_.Now() + base::TimeDelta::FromSeconds(15); 309 auto extended = DelegateToUser(root, base::TimeDelta::FromSeconds(100 [all...] |
H A D | privet_handler_unittest.cc | 409 SetArgPointee<5>(base::TimeDelta::FromSeconds(15)), 429 SetArgPointee<5>(base::TimeDelta::FromSeconds(15)), 449 SetArgPointee<5>(base::TimeDelta::FromSeconds(15)), 469 SetArgPointee<5>(base::TimeDelta::FromSeconds(1)), 1162 EXPECT_CALL(device_, PostDelayedTask(_, _, base::TimeDelta::FromSeconds(3))) 1187 EXPECT_CALL(device_, PostDelayedTask(_, _, base::TimeDelta::FromSeconds(50))) 1204 .WillOnce(Return(base::TimeDelta::FromSeconds(5))); 1226 EXPECT_CALL(device_, PostDelayedTask(_, _, base::TimeDelta::FromSeconds(10))) 1252 EXPECT_CALL(device_, PostDelayedTask(_, _, base::TimeDelta::FromSeconds(10)))
|
H A D | security_manager.cc | 100 base::TimeDelta::FromSeconds(kAccessTokenExpirationSeconds); 146 base::TimeDelta::FromSeconds(kAccessTokenExpirationSeconds);
|
/external/libbrillo/brillo/streams/ |
H A D | fake_stream_unittest.cc | 181 stream_->AddReadPacketString(base::TimeDelta::FromSeconds(1), "baz"); 196 clock_.Advance(base::TimeDelta::FromSeconds(1)); 206 stream_->QueueReadErrorWithMessage(base::TimeDelta::FromSeconds(1), 224 clock_.Advance(base::TimeDelta::FromSeconds(1)); 257 auto one_sec_delay = base::TimeDelta::FromSeconds(1); 271 auto one_sec_delay = base::TimeDelta::FromSeconds(1); 412 auto one_sec_delay = base::TimeDelta::FromSeconds(1); 426 auto one_sec_delay = base::TimeDelta::FromSeconds(1); 454 auto one_sec_delay = base::TimeDelta::FromSeconds(1); 455 auto two_sec_delay = base::TimeDelta::FromSeconds( [all...] |
/external/v8/test/unittests/base/platform/ |
H A D | time-unittest.cc | 30 EXPECT_EQ(TimeDelta::FromMinutes(2), TimeDelta::FromSeconds(120)); 31 EXPECT_EQ(TimeDelta::FromSeconds(2), TimeDelta::FromMilliseconds(2000)); 36 EXPECT_EQ(static_cast<int64_t>(13), TimeDelta::FromSeconds(13).InSeconds()); 37 EXPECT_DOUBLE_EQ(13.0, TimeDelta::FromSeconds(13).InSecondsF()); 126 static const TimeDelta kExpirationTimeout = TimeDelta::FromSeconds(1);
|
/external/libchrome/base/threading/ |
H A D | thread_collision_warner_unittest.cc | 191 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(5)); 248 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2)); 317 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(2));
|
H A D | worker_pool_posix.cc | 180 TimeDelta::FromSeconds(idle_seconds_before_exit_));
|
/external/libweave/third_party/chromium/base/time/ |
H A D | time_unittest.cc | 145 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); 154 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); 478 EXPECT_TRUE(TimeDelta::FromMinutes(2) == TimeDelta::FromSeconds(120)); 479 EXPECT_TRUE(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000)); 489 EXPECT_EQ(13, TimeDelta::FromSeconds(13).InSeconds()); 490 EXPECT_EQ(13.0, TimeDelta::FromSeconds(13).InSecondsF()); 503 struct timespec result = TimeDelta::FromSeconds(0).ToTimeSpec(); 507 result = TimeDelta::FromSeconds(1).ToTimeSpec(); 608 t = TimeDelta::FromSeconds(max_int / Time::kMicrosecondsPerSecond + 1); 617 t = TimeDelta::FromSeconds( [all...] |
H A D | time.h | 112 static TimeDelta FromSeconds(int64_t secs); 250 // FromSeconds, FromMilliseconds, etc. instead. 576 inline TimeDelta TimeDelta::FromSeconds(int64_t secs) { function in class:base::Time::TimeDelta
|
/external/libweave/src/notification/ |
H A D | xmpp_channel.cc | 416 SchedulePing(base::TimeDelta::FromSeconds(kRegularPingIntervalSeconds), 417 base::TimeDelta::FromSeconds(kRegularPingTimeoutSeconds)); 421 SchedulePing(base::TimeDelta::FromSeconds(kAgressivePingIntervalSeconds), 422 base::TimeDelta::FromSeconds(kAgressivePingTimeoutSeconds)); 463 base::TimeDelta::FromSeconds(
|
H A D | xmpp_iq_stanza_handler.cc | 62 base::TimeDelta::FromSeconds(kTimeoutIntervalSeconds), response_callback,
|
/external/libchrome/base/time/ |
H A D | time_unittest.cc | 145 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); 154 EXPECT_TRUE((a - b) < TimeDelta::FromSeconds(1)); 728 EXPECT_TRUE(TimeDelta::FromMinutes(2) == TimeDelta::FromSeconds(120)); 729 EXPECT_TRUE(TimeDelta::FromSeconds(2) == TimeDelta::FromMilliseconds(2000)); 739 EXPECT_EQ(13, TimeDelta::FromSeconds(13).InSeconds()); 740 EXPECT_EQ(13.0, TimeDelta::FromSeconds(13).InSecondsF()); 753 struct timespec result = TimeDelta::FromSeconds(0).ToTimeSpec(); 757 result = TimeDelta::FromSeconds(1).ToTimeSpec(); 858 t = TimeDelta::FromSeconds(max_int / Time::kMicrosecondsPerSecond + 1); 867 t = TimeDelta::FromSeconds( [all...] |
H A D | time.h | 112 static TimeDelta FromSeconds(int64_t secs); 250 // FromSeconds, FromMilliseconds, etc. instead. 602 inline TimeDelta TimeDelta::FromSeconds(int64_t secs) { function in class:base::Time::TimeDelta
|
/external/libchrome/base/ |
H A D | lazy_instance_unittest.cc | 33 base::PlatformThread::Sleep(base::TimeDelta::FromSeconds(1));
|
H A D | sync_socket_posix.cc | 156 base::TimeDelta::FromSeconds(1).InMicroseconds());
|
/external/libweave/examples/provider/ |
H A D | event_network.cc | 103 base::TimeDelta::FromSeconds(10));
|
/external/libchrome/base/metrics/ |
H A D | histogram_macros.h | 95 base::TimeDelta::FromSeconds(10), 50) 163 base::TimeDelta::FromSeconds(10), 50)
|
/external/libweave/examples/daemon/sample/ |
H A D | sample.cc | 147 base::TimeDelta::FromSeconds(1));
|
/external/libweave/src/states/ |
H A D | state_change_queue_unittest.cc | 43 auto timestamp2 = timestamp1 + base::TimeDelta::FromSeconds(1);
|