/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | turnport_unittest.cc | 77 static const unsigned int kTimeout = 1000; variable 246 ASSERT_TRUE_WAIT(turn_ready_, kTimeout); in TestTurnConnection() 249 ASSERT_TRUE_WAIT(udp_ready_, kTimeout); in TestTurnConnection() 256 WAIT(!turn_unknown_address_, kTimeout); in TestTurnConnection() 265 ASSERT_TRUE_WAIT(turn_create_permission_success_, kTimeout); in TestTurnConnection() 268 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnConnection() 275 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnConnection() 281 EXPECT_TRUE_WAIT(turn_ready_, kTimeout); in TestTurnSendData() 284 EXPECT_TRUE_WAIT(udp_ready_, kTimeout); in TestTurnSendData() 297 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnSendData() [all …]
|
D | port_unittest.cc | 65 static const int kTimeout = 1000; variable 645 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TestConnectivity() 646 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TestConnectivity() 651 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); // for TCP connect in TestConnectivity() 653 WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity() 671 kTimeout); in TestConnectivity() 682 WAIT(ch2.conn()->write_state() == Connection::STATE_WRITABLE, kTimeout); in TestConnectivity() 694 kTimeout); in TestConnectivity() 705 EXPECT_TRUE_WAIT(!ch2.remote_address().IsNil(), kTimeout); in TestConnectivity() 714 kTimeout); in TestConnectivity() [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | socket_unittest.cc | 226 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectInternal() 238 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectInternal() 275 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal() 287 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWithDnsLookupInternal() 316 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectFailInternal() 350 WAIT_(client->GetState() == AsyncSocket::CS_CLOSED, kTimeout, in ConnectWithDnsLookupFailInternal() 358 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectWithDnsLookupFailInternal() 405 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWhileNotClosedInternal() 414 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWhileNotClosedInternal() 448 EXPECT_TRUE_WAIT(sink.Check(server.get(), testing::SSE_READ), kTimeout); in ServerCloseDuringConnectInternal() [all …]
|
D | nullsocketserver_unittest.cc | 16 static const uint32 kTimeout = 5000U; variable 36 EXPECT_TRUE_WAIT(ss_.Wait(rtc::kForever, process_io), kTimeout); in TEST_F()
|
D | testclient.cc | 37 uint32 end = TimeAfter(kTimeout); in CheckConnState() 66 uint32 end = TimeAfter(kTimeout); in NextPacket()
|
D | testclient.h | 75 static const int kTimeout = 1000;
|
D | socket_unittest.h | 80 static const int kTimeout = 5000; // ms variable
|
/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 | 54 uint32 end = TimeAfter(kTimeout); in CheckConnState() 83 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_org/third_party/libjingle/source/talk/media/base/ |
D | videoengine_unittest.h | 63 static const uint32 kTimeout = 5000U; variable 587 while (frame_count < static_cast<int>(kTimeout) / 66) { in WaitForDecoder() 732 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in SetSend() 758 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in Send() 769 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in SendAndReceive() 781 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 783 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 792 EXPECT_FRAME_WAIT(3, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 804 EXPECT_FRAME_WAIT(frame + i * fps, codec.width, codec.height, kTimeout); in SendReceiveManyAndGetStats() 887 renderer1, 1, DefaultCodec().width, DefaultCodec().height, kTimeout); in GetStatsMultipleRecvStreams() [all …]
|
/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/app/webrtc/ |
D | peerconnectioninterface_unittest.cc | 61 static const uint32 kTimeout = 5000U; variable 329 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddStream() 341 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddVoiceStream() 359 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddAudioVideoStream() 372 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoCreateOfferAnswer() 394 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoSetSessionDescription() 415 EXPECT_TRUE_WAIT(observer->called(), kTimeout); in DoGetStats() 512 EXPECT_TRUE_WAIT(observer_.ice_complete_, kTimeout); in CreateOfferAsLocalDescription() 544 EXPECT_EQ_WAIT(stream_label, observer_.GetLastAddedStreamLabel(), kTimeout); in WaitAndVerifyOnAddStream() 683 EXPECT_TRUE_WAIT(observer_.last_candidate_.get() != NULL, 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/chrome/test/chromedriver/net/ |
D | sync_websocket.h | 19 kTimeout, enumerator
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | status.h | 23 kTimeout = 21, enumerator
|
D | status.cc | 36 case kTimeout: in DefaultMessageForStatusCode()
|
/external/chromium_org/net/dns/ |
D | dns_config_service_unittest.cc | 344 base::TimeDelta kTimeout = TestTimeouts::action_max_timeout(); in TEST_F() local 345 WaitForConfig(kTimeout); in TEST_F() 347 kTimeout.InSecondsF() << "s"; in TEST_F()
|
D | dns_config_service.cc | 285 const base::TimeDelta kTimeout = base::TimeDelta::FromMilliseconds(150); in StartTimer() local 288 kTimeout, in StartTimer()
|
/external/chromium_org/base/test/ |
D | test_file_util_win.cc | 118 const TimeDelta kTimeout = TimeDelta::FromSeconds(10) / kIterations; in DieFileDie() local 129 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() 127 RunFor(kTimeout); in SetCookieWithOptions() 160 RunFor(kTimeout); in DeleteCookie() 174 RunFor(kTimeout); in DeleteCreatedBetween() 190 RunFor(kTimeout); in DeleteAllCreatedBetweenForHost() 202 RunFor(kTimeout); in DeleteSessionCookies() 1091 CookieStoreTest<CookieStoreTestTraits>::RunFor(kTimeout); in RunOnOtherThread()
|
/external/chromium_org/rlz/lib/ |
D | financial_ping.cc | 331 const base::TimeDelta kTimeout = base::TimeDelta::FromMinutes(5); in PingServer() local 341 FROM_HERE, loop.QuitClosure(), kTimeout); in PingServer()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | flash_ui.cc | 74 const int kTimeout = 8 * 1000; // 8 seconds. variable 164 timeout_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeout), in FlashDOMHandler()
|