/external/webrtc/webrtc/p2p/base/ |
D | turnport_unittest.cc | 70 static const unsigned int kTimeout = 1000; variable 304 ASSERT_TRUE_WAIT(turn_ready_, kTimeout); in PrepareTurnAndUdpPorts() 308 ASSERT_TRUE_WAIT(udp_ready_, kTimeout); in PrepareTurnAndUdpPorts() 333 EXPECT_TRUE_WAIT(turn_ready_, kTimeout * 100); in TestTurnAlternateServer() 354 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TestTurnAlternateServerV4toV6() 371 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TestTurnAlternateServerPingPong() 394 EXPECT_TRUE_WAIT(turn_error_, kTimeout); in TestTurnAlternateServerDetectRepetition() 407 WAIT(!turn_unknown_address_, kTimeout); in TestTurnConnection() 416 ASSERT_TRUE_WAIT(turn_create_permission_success_, kTimeout); in TestTurnConnection() 419 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnConnection() [all …]
|
D | transportcontroller_unittest.cc | 26 static const int kTimeout = 100; variable 337 EXPECT_EQ_WAIT(cricket::kIceGatheringGathering, gathering_state_, kTimeout); in TEST_F() 438 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F() 459 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F() 466 kTimeout); in TEST_F() 472 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout); in TEST_F() 493 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout); in TEST_F() 500 kTimeout); in TEST_F() 507 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout); in TEST_F() 512 EXPECT_EQ_WAIT(cricket::kIceConnectionCompleted, connection_state_, kTimeout); in TEST_F() [all …]
|
D | port_unittest.cc | 48 static const int kTimeout = 1000; variable 576 EXPECT_TRUE_WAIT(ch1->conn()->connected(), kTimeout); // for TCP connect in ConnectStartedChannels() 578 WAIT(!ch2->remote_address().IsNil(), kTimeout); in ConnectStartedChannels() 584 kTimeout); in ConnectStartedChannels() 613 EXPECT_TRUE_WAIT(!ch1->conn()->connected(), kTimeout); in DisconnectTcpTestChannels() 614 EXPECT_TRUE_WAIT(!ch2->conn()->connected(), kTimeout); in DisconnectTcpTestChannels() 625 EXPECT_TRUE_WAIT(ch2->conn() == NULL, kTimeout); in DisconnectTcpTestChannels() 646 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); in TestTcpReconnect() 647 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout); in TestTcpReconnect() 654 const int kTcpReconnectTimeout = kTimeout; in TestTcpReconnect() [all …]
|
/external/webrtc/talk/media/base/ |
D | videoengine_unittest.h | 63 static const uint32_t kTimeout = 5000U; variable 271 while (frame_count < static_cast<int>(kTimeout) / 66) { in WaitForDecoder() 420 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in SetSend() 443 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout); in Send() 454 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in SendAndReceive() 466 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 468 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 477 EXPECT_FRAME_WAIT(3, codec.width, codec.height, kTimeout); in SendManyResizeOnce() 489 EXPECT_FRAME_WAIT(frame + i * fps, codec.width, codec.height, kTimeout); in SendReceiveManyAndGetStats() 574 renderer1, 1, DefaultCodec().width, DefaultCodec().height, kTimeout); in GetStatsMultipleRecvStreams() [all …]
|
D | videocapturer_unittest.cc | 46 const uint32_t kTimeout = 5000U; variable 183 capturer_.capture_state(), kTimeout); in TEST_F() 193 capturer_.capture_state(), kTimeout); in TEST_F()
|
/external/webrtc/webrtc/base/ |
D | socket_unittest.cc | 227 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectInternal() 239 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectInternal() 276 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal() 288 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWithDnsLookupInternal() 317 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectFailInternal() 351 WAIT_(client->GetState() == AsyncSocket::CS_CLOSED, kTimeout, in ConnectWithDnsLookupFailInternal() 359 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); in ConnectWithDnsLookupFailInternal() 406 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectWhileNotClosedInternal() 415 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); in ConnectWhileNotClosedInternal() 449 EXPECT_TRUE_WAIT(sink.Check(server.get(), testing::SSE_READ), kTimeout); in ServerCloseDuringConnectInternal() [all …]
|
D | nullsocketserver_unittest.cc | 16 static const uint32_t kTimeout = 5000U; variable 36 EXPECT_TRUE_WAIT(ss_.Wait(SocketServer::kForever, process_io), kTimeout); in TEST_F()
|
D | ssladapter_unittest.cc | 22 static const int kTimeout = 5000; variable 279 handshake_wait_(kTimeout) {} in SSLAdapterTestBase() 326 EXPECT_EQ_WAIT(message, server_->GetReceivedData(), kTimeout); in TestTransfer() 332 EXPECT_EQ_WAIT(message, client_->GetReceivedData(), kTimeout); in TestTransfer()
|
D | socket_unittest.h | 61 static const int kTimeout = 5000; // ms variable
|
D | physicalsocketserver_unittest.cc | 167 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectInternalAcceptError() 190 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); in ConnectInternalAcceptError()
|
/external/libchrome/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/webrtc/talk/app/webrtc/ |
D | peerconnectioninterface_unittest.cc | 72 static const uint32_t kTimeout = 10000U; variable 633 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddVideoStream() 645 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddVoiceStream() 663 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout); in AddAudioVideoStream() 678 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoCreateOfferAnswer() 702 EXPECT_EQ_WAIT(true, observer->called(), kTimeout); in DoSetSessionDescription() 723 EXPECT_TRUE_WAIT(observer->called(), kTimeout); in DoGetStats() 828 EXPECT_TRUE_WAIT(observer_.ice_complete_, kTimeout); in CreateOfferAsLocalDescription() 860 EXPECT_EQ_WAIT(stream_label, observer_.GetLastAddedStreamLabel(), kTimeout); in WaitAndVerifyOnAddStream() 1105 EXPECT_TRUE_WAIT(observer_.last_candidate_.get() != NULL, kTimeout); in TEST_F() [all …]
|
/external/libbrillo/brillo/streams/ |
D | stream_errors.cc | 17 const char kTimeout[] = "time_out"; variable
|
D | stream_errors.h | 21 BRILLO_EXPORT extern const char kTimeout[];
|
D | tls_stream.cc | 213 const base::TimeDelta kTimeout = base::TimeDelta::FromSeconds(2); in Close() local 225 if (!socket_->WaitForDataBlocking(AccessMode::READ, kTimeout, nullptr, in Close() 230 if (!socket_->WaitForDataBlocking(AccessMode::WRITE, kTimeout, nullptr, in Close()
|
D | stream_utils.cc | 118 errors::stream::kTimeout, in ErrorOperationTimeout()
|
D | file_stream_unittest.cc | 661 EXPECT_EQ(errors::stream::kTimeout, error->GetCode()); in TEST_F()
|
/external/webrtc/talk/session/media/ |
D | channel_unittest.cc | 1506 static const int kTimeout = 500; in TestMediaMonitor() local 1513 EXPECT_TRUE_WAIT(media_info_callbacks1_ > 0, kTimeout); in TestMediaMonitor() 1514 EXPECT_TRUE_WAIT(media_info_callbacks2_ > 0, kTimeout); in TestMediaMonitor() 1519 EXPECT_TRUE_WAIT(media_info_callbacks1_ > 0, kTimeout); in TestMediaMonitor()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoengine2_unittest.cc | 384 kTimeout); in TEST_F() 892 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout); in TEST_F()
|