/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | turnport_unittest.cc | 74 static const int kTimeout = 1000; variable 175 ASSERT_TRUE_WAIT(turn_ready_, kTimeout); in TestTurnConnection() 178 ASSERT_TRUE_WAIT(udp_ready_, kTimeout); in TestTurnConnection() 185 WAIT(!turn_unknown_address_, kTimeout); in TestTurnConnection() 194 ASSERT_TRUE_WAIT(turn_create_permission_success_, kTimeout); in TestTurnConnection() 197 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnConnection() 204 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnConnection() 210 EXPECT_TRUE_WAIT(turn_ready_, kTimeout); in TestTurnSendData() 213 EXPECT_TRUE_WAIT(udp_ready_, kTimeout); in TestTurnSendData() 226 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnSendData() [all …]
|
D | port_unittest.cc | 64 static const int kTimeout = 1000; variable 608 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TestConnectivity() 609 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TestConnectivity() 614 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); // for TCP connect in TestConnectivity() 616 WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity() 634 kTimeout); in TestConnectivity() 645 WAIT(ch2.conn()->write_state() == Connection::STATE_WRITABLE, kTimeout); in TestConnectivity() 657 kTimeout); in TestConnectivity() 668 EXPECT_TRUE_WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity() 677 kTimeout); in TestConnectivity() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | socket_unittest.cc | 243 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectInternal() 255 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectInternal() 292 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal() 304 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWithDnsLookupInternal() 333 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectFailInternal() 367 WAIT_(client->GetState() == AsyncSocket::CS_CLOSED, kTimeout, in ConnectWithDnsLookupFailInternal() 375 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectWithDnsLookupFailInternal() 422 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWhileNotClosedInternal() 431 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWhileNotClosedInternal() 465 EXPECT_TRUE_WAIT(sink.Check(server.get(), testing::SSE_READ), kTimeout); in ServerCloseDuringConnectInternal() [all …]
|
D | nullsocketserver_unittest.cc | 33 static const uint32 kTimeout = 5000U; variable 53 EXPECT_TRUE_WAIT(ss_.Wait(talk_base::kForever, process_io), kTimeout); in TEST_F()
|
D | testclient.cc | 55 uint32 end = TimeAfter(kTimeout); in CheckConnState() 82 uint32 end = TimeAfter(kTimeout); in NextPacket()
|
D | testclient.h | 92 static const int kTimeout = 1000;
|
D | socket_unittest.h | 97 static const int kTimeout = 5000; // ms variable
|
/external/chromium/base/ |
D | spin_wait.h | 40 const base::TimeDelta kTimeout = delta; \ 42 if (kTimeout < base::TimeTicks::Now() - start) { \ 44 kTimeout.InMilliseconds()) << "Timed out"; \
|
/external/chromium_org/base/synchronization/ |
D | spin_wait.h | 39 const base::TimeDelta kTimeout = delta; \ 41 if (kTimeout < base::TimeTicks::Now() - start) { \ 43 kTimeout.InMilliseconds()) << "Timed out"; \
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | videoengine_unittest.h | 63 static const uint32 kTimeout = 5000U; variable 572 while (frame_count < static_cast<int>(kTimeout) / 66) { in WaitForDecoder() 717 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in SetSend() 743 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in Send() 754 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in SendAndReceive() 766 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 768 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 777 EXPECT_FRAME_WAIT(3, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 838 renderer1, 1, DefaultCodec().width, DefaultCodec().height, kTimeout); in GetStatsMultipleRecvStreams() 840 renderer2, 1, DefaultCodec().width, DefaultCodec().height, kTimeout); in GetStatsMultipleRecvStreams() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | peerconnectioninterface_unittest.cc | 60 static const uint32 kTimeout = 5000U; variable 318 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddStream() 330 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddVoiceStream() 348 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddAudioVideoStream() 361 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoCreateOfferAnswer() 383 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoSetSessionDescription() 403 EXPECT_TRUE_WAIT(observer->called(), kTimeout); in DoGetStats() 530 EXPECT_EQ_WAIT(stream_label, observer_.GetLastAddedStreamLabel(), kTimeout); in WaitAndVerifyOnAddStream() 669 EXPECT_TRUE_WAIT(observer_.last_candidate_.get() != NULL, kTimeout); in TEST_F() 670 EXPECT_TRUE_WAIT(observer_.ice_complete_, kTimeout); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/diagnostics/ |
D | diagnostics_api_chromeos.cc | 22 const char kTimeout[] = "timeout"; variable 80 config[kTimeout] = base::IntToString(*parameters_->options.timeout); in AsyncWorkStart()
|
/external/chromium_org/net/dns/ |
D | dns_config_service_unittest.cc | 250 base::TimeDelta kTimeout = TestTimeouts::action_max_timeout(); in TEST_F() local 251 WaitForConfig(kTimeout); in TEST_F() 253 kTimeout.InSecondsF() << "s"; in TEST_F()
|
D | dns_config_service.cc | 199 const base::TimeDelta kTimeout = base::TimeDelta::FromMilliseconds(150); in StartTimer() local 202 kTimeout, in StartTimer()
|
/external/chromium_org/chrome/test/chromedriver/net/ |
D | sync_websocket.h | 19 kTimeout, enumerator
|
D | sync_websocket_impl.cc | 83 return SyncWebSocket::kTimeout; in ReceiveNextMessage()
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | status.h | 23 kTimeout = 21, enumerator
|
D | status.cc | 36 case kTimeout: in DefaultMessageForStatusCode()
|
D | devtools_client_impl.cc | 277 case SyncWebSocket::kTimeout: { in ProcessNextMessage() 282 return Status(kTimeout, err); in ProcessNextMessage()
|
/external/chromium_org/v8/src/ |
D | debug-agent.cc | 83 const TimeDelta kTimeout = TimeDelta::FromSeconds(1); in Run() local 86 static_cast<int>(kTimeout.InMilliseconds())); in Run() 87 if (!terminate_now_.WaitFor(kTimeout)) { in Run()
|
/external/chromium_org/base/test/ |
D | test_file_util_win.cc | 119 const base::TimeDelta kTimeout = base::TimeDelta::FromSeconds(10) / in DieFileDie() local 131 base::PlatformThread::Sleep(kTimeout); in DieFileDie()
|
/external/chromium_org/net/cookies/ |
D | cookie_store_unittest.h | 26 const int kTimeout = 1000; variable 98 RunFor(kTimeout); in GetCookies() 111 RunFor(kTimeout); in GetCookiesWithOptions() 126 RunFor(kTimeout); in SetCookieWithOptions() 159 RunFor(kTimeout); in DeleteCookie() 171 RunFor(kTimeout); in DeleteCreatedBetween() 181 RunFor(kTimeout); in DeleteSessionCookies() 1045 CookieStoreTest<CookieStoreTestTraits>::RunFor(kTimeout); in RunOnOtherThread()
|
D | cookie_monster_unittest.cc | 119 RunFor(kTimeout); in GetAllCookies() 131 RunFor(kTimeout); in GetAllCookiesForURL() 144 RunFor(kTimeout); in GetAllCookiesForURLWithOptions() 166 RunFor(kTimeout); in SetCookieWithDetails() 176 RunFor(kTimeout); in DeleteAll() 189 RunFor(kTimeout); in DeleteAllCreatedBetween() 203 RunFor(kTimeout); in DeleteAllCreatedBetweenForHost() 215 RunFor(kTimeout); in DeleteAllForHost() 227 RunFor(kTimeout); in DeleteCanonicalCookie() 777 RunFor(kTimeout); in WaitForLoadCall() [all …]
|
/external/chromium_org/rlz/lib/ |
D | financial_ping.cc | 336 const base::TimeDelta kTimeout = base::TimeDelta::FromMinutes(5); in PingServer() local 346 FROM_HERE, loop.QuitClosure(), kTimeout); in PingServer()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | flash_ui.cc | 73 const int kTimeout = 8 * 1000; // 8 seconds. variable 163 timeout_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeout), in FlashDOMHandler()
|