/external/webrtc/media/sctp/ |
D | sctp_transport_unittest.cc | 268 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "meow"), kDefaultTimeout); in TEST_F() 306 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "meow? rawr!"), kDefaultTimeout); in TEST_F() 344 EXPECT_TRUE_WAIT(ReceivedData(&recv2, 1, "foo"), kDefaultTimeout); in TEST_F() 345 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "bar"), kDefaultTimeout); in TEST_F() 362 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, "foo"), kDefaultTimeout); in TEST_F() 363 EXPECT_TRUE_WAIT(ReceivedData(receiver1(), 1, "bar"), kDefaultTimeout); in TEST_F() 402 EXPECT_TRUE_WAIT(ReceivedData(&recv2, 1, "foo"), kDefaultTimeout); in TEST_F() 403 EXPECT_TRUE_WAIT(ReceivedData(&recv1, 1, "bar"), kDefaultTimeout); in TEST_F() 433 EXPECT_TRUE_WAIT(observer.ReadyToSend(), kDefaultTimeout); in TEST_F() 476 EXPECT_TRUE_WAIT(ReceivedData(receiver2(), 1, buffered_message), in TEST_P() [all …]
|
/external/webrtc/pc/test/ |
D | fake_audio_capture_module_unittest.cc | 152 EXPECT_TRUE_WAIT(pull_iterations() > 0, kMsInSecond); in TEST_F() 175 EXPECT_TRUE_WAIT(push_iterations() > 0, kMsInSecond); in TEST_F() 191 EXPECT_TRUE_WAIT(push_iterations() > 0, kMsInSecond); in TEST_F() 192 EXPECT_TRUE_WAIT(pull_iterations() > 0, kMsInSecond); in TEST_F()
|
D | peer_connection_test_wrapper.cc | 140 EXPECT_TRUE_WAIT(!pending_negotiation_, kMaxWait); in WaitForNegotiation() 257 EXPECT_TRUE_WAIT(CheckForConnection(), kMaxWait); in WaitForConnection() 269 EXPECT_TRUE_WAIT(CheckForAudio(), kMaxWait); in WaitForAudio() 280 EXPECT_TRUE_WAIT(CheckForVideo(), kMaxWait); in WaitForVideo()
|
/external/webrtc/rtc_base/ |
D | socket_unittest.cc | 266 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectInternal() 315 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal() 445 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectWhileNotClosedInternal() 487 EXPECT_TRUE_WAIT(sink.Check(server.get(), SSE_READ), kTimeout); in ServerCloseDuringConnectInternal() 516 EXPECT_TRUE_WAIT(sink.Check(server.get(), SSE_READ), kTimeout); in ClientCloseDuringConnectInternal() 554 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ServerCloseInternal() 571 EXPECT_TRUE_WAIT(sink.Check(client.get(), SSE_READ), kTimeout); in ServerCloseInternal() 629 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in CloseInClosedCallbackInternal() 674 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in SocketServerWaitInternal() 705 EXPECT_TRUE_WAIT((sink.Check(accepted.get(), SSE_READ)), kTimeout); in SocketServerWaitInternal() [all …]
|
D | rtc_certificate_generator_unittest.cc | 100 EXPECT_TRUE_WAIT(fixture_->GenerateAsyncCompleted(), kGenerationTimeoutMs); in TEST_F() 140 EXPECT_TRUE_WAIT(fixture_->GenerateAsyncCompleted(), kGenerationTimeoutMs); in TEST_F()
|
D | null_socket_server_unittest.cc | 41 EXPECT_TRUE_WAIT(ss_.Wait(SocketServer::kForever, process_io), kTimeout); in TEST_F()
|
D | physical_socket_server_unittest.cc | 237 EXPECT_TRUE_WAIT((sink.Check(server.get(), webrtc::testing::SSE_READ)), in ConnectInternalAcceptError() 261 EXPECT_TRUE_WAIT((sink.Check(server.get(), webrtc::testing::SSE_READ)), in ConnectInternalAcceptError()
|
D | gunit.h | 43 #define EXPECT_TRUE_WAIT(ex, timeout) \ macro
|
D | thread_unittest.cc | 458 EXPECT_TRUE_WAIT(async_invoked.Get(), 2000); in TEST() 473 EXPECT_TRUE_WAIT(thread_a_called.Get(), 2000); in TEST() 720 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F() 732 EXPECT_TRUE_WAIT(called.get(), kWaitTimeout); in TEST_F()
|
D | ssl_stream_adapter_unittest.cc | 473 EXPECT_TRUE_WAIT((client_ssl_->GetState() == rtc::SS_OPEN) && in TestHandshake() 477 EXPECT_TRUE_WAIT(client_ssl_->GetState() == rtc::SS_CLOSED, in TestHandshake() 508 EXPECT_TRUE_WAIT( in TestHandshakeWithDelayedIdentity() 712 EXPECT_TRUE_WAIT(server_ssl_->GetState() == rtc::SS_CLOSED, 10000); in TestTransfer() 887 EXPECT_TRUE_WAIT(sent_ == count_, 10000); in TestTransfer()
|
/external/webrtc/modules/video_capture/test/ |
D | video_capture_unittest.cc | 47 #define EXPECT_TRUE_WAIT(ex, timeout) \ macro 226 EXPECT_TRUE_WAIT(capture_observer.incoming_frames() >= 5, kTimeOut); in TEST_F() 277 EXPECT_TRUE_WAIT(capture_observer.incoming_frames() >= 1, kTimeOut); in TEST_F() 340 EXPECT_TRUE_WAIT(capture_observer1.incoming_frames() >= 5, kTimeOut); in TEST_F() 341 EXPECT_TRUE_WAIT(capture_observer2.incoming_frames() >= 5, kTimeOut); in TEST_F()
|
/external/webrtc/p2p/base/ |
D | tcp_port_unittest.cc | 108 EXPECT_TRUE_WAIT(conn->connected(), kTimeout); in TEST_F() 137 EXPECT_TRUE_WAIT(observer.connection_destroyed(), kTimeout); in TEST_F() 162 EXPECT_TRUE_WAIT(conn->connected(), kTimeout); in TEST_F() 186 EXPECT_TRUE_WAIT(conn->connected(), kTimeout); in TEST_F()
|
D | pseudo_tcp_unittest.cc | 253 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestTransfer() 256 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestTransfer() 368 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestPingPong() 371 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestPingPong() 480 EXPECT_TRUE_WAIT(have_connected_, kConnectTimeoutMs); in TestTransfer() 483 EXPECT_TRUE_WAIT(have_disconnected_, kTransferTimeoutMs); in TestTransfer()
|
D | p2p_transport_channel_unittest.cc | 1643 EXPECT_TRUE_WAIT(CheckConnected(ep1_ch1(), ep2_ch1()), kDefaultTimeout); in TEST_F() 2098 EXPECT_TRUE_WAIT(ep1_ch1()->selected_connection() != nullptr, kShortTimeout); in TEST_F() 2219 EXPECT_TRUE_WAIT(ep1_ch1()->selected_connection() != nullptr, kShortTimeout); in TEST_F() 2821 EXPECT_TRUE_WAIT( in TEST_F() 2877 EXPECT_TRUE_WAIT(backup_conn->writable(), kMediumTimeout); in TEST_F() 2879 EXPECT_TRUE_WAIT( in TEST_F() 2970 EXPECT_TRUE_WAIT((conn = ep1_ch1()->selected_connection()) != nullptr && in TEST_F() 2973 EXPECT_TRUE_WAIT((conn = ep2_ch1()->selected_connection()) != nullptr && in TEST_F() 2980 EXPECT_TRUE_WAIT( in TEST_F() 2986 EXPECT_TRUE_WAIT( in TEST_F() [all …]
|
D | port_unittest.cc | 605 EXPECT_TRUE_WAIT(ch1->conn()->connected(), in ConnectStartedChannels() 643 EXPECT_TRUE_WAIT(!ch1->conn()->connected(), kDefaultTimeout); in DisconnectTcpTestChannels() 644 EXPECT_TRUE_WAIT(!ch2->conn()->connected(), kDefaultTimeout); in DisconnectTcpTestChannels() 655 EXPECT_TRUE_WAIT(ch2->conn() == NULL, kDefaultTimeout); in DisconnectTcpTestChannels() 709 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kDefaultTimeout); in TestTcpReconnect() 713 EXPECT_TRUE_WAIT(ch1.connection_ready_to_send(), kTcpReconnectTimeout); in TestTcpReconnect() 722 EXPECT_TRUE_WAIT(!ch1.conn(), kTcpReconnectTimeout + kDefaultTimeout); in TestTcpReconnect() 729 EXPECT_TRUE_WAIT(ch1.conn() == NULL, kDefaultTimeout); in TestTcpReconnect() 730 EXPECT_TRUE_WAIT(ch2.conn() == NULL, kDefaultTimeout); in TestTcpReconnect() 1228 EXPECT_TRUE_WAIT(!ch1.conn(), kDefaultTimeout); // for TCP connect in TEST_F() [all …]
|
D | stun_port_unittest.cc | 255 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F() 291 EXPECT_TRUE_WAIT(done(), kTimeoutMs); in TEST_F()
|
/external/webrtc/pc/ |
D | peer_connection_signaling_unittest.cc | 631 EXPECT_TRUE_WAIT(offer_observer->called(), kWaitTimeout); in TEST_P() 651 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P() 676 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P() 694 EXPECT_TRUE_WAIT(caller_set_local_description_observer->called(), in TEST_P() 712 EXPECT_TRUE_WAIT(callee_set_local_description_observer->called(), in TEST_P() 727 EXPECT_TRUE_WAIT(caller_set_remote_description_observer->called(), in TEST_P() 744 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P() 764 EXPECT_TRUE_WAIT(observer->called(), kWaitTimeout); in TEST_P() 826 EXPECT_TRUE_WAIT(offer_observer->was_called(), kWaitTimeout); in TEST_F()
|
D | peer_connection_adaptation_integrationtest.cc | 124 EXPECT_TRUE_WAIT( in TEST_F() 155 EXPECT_TRUE_WAIT( in TEST_F()
|
D | peer_connection_ice_unittest.cc | 330 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P() 351 EXPECT_TRUE_WAIT(callee->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P() 653 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P() 717 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P() 766 EXPECT_TRUE_WAIT(answer_observer->called(), kWaitTimeout); in TEST_P() 788 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P() 822 EXPECT_TRUE_WAIT(operation_completed, kWaitTimeout); in TEST_P() 838 EXPECT_TRUE_WAIT( in TEST_P() 859 EXPECT_TRUE_WAIT( in TEST_P() 884 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kIceCandidatesTimeout); in TEST_P()
|
D | peer_connection_bundle_unittest.cc | 305 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kDefaultTimeout); in TEST_P() 316 EXPECT_TRUE_WAIT(callee->IsIceGatheringDone(), kDefaultTimeout); in TEST_P() 343 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kDefaultTimeout); in TEST_P() 364 EXPECT_TRUE_WAIT(caller->IsIceGatheringDone(), kDefaultTimeout); in TEST_P() 641 EXPECT_TRUE_WAIT(caller->HasConnectionWithRemoteAddress(kAudioAddress1), in TEST_P() 643 EXPECT_TRUE_WAIT(caller->HasConnectionWithRemoteAddress(kAudioAddress2), in TEST_P()
|
D | peer_connection_integrationtest.cc | 441 EXPECT_TRUE_WAIT(observer->called(), kDefaultTimeout); in OldGetStatsForTrack() 456 EXPECT_TRUE_WAIT(callback->called(), kDefaultTimeout); in NewGetStats() 808 EXPECT_TRUE_WAIT(observer->called(), kDefaultTimeout); in SetLocalDescriptionAndSendSdpMessage() 820 EXPECT_TRUE_WAIT(observer->called(), kDefaultTimeout); in SetRemoteDescription() 1594 EXPECT_TRUE_WAIT(caller()->audio_frames_received() >= in ExpectNewFrames() 1789 EXPECT_TRUE_WAIT( in TEST_P() 1795 EXPECT_TRUE_WAIT( in TEST_P() 1854 EXPECT_TRUE_WAIT(observer.completed(), kDefaultTimeout); in TestDtmfFromSenderToReceiver() 2884 EXPECT_TRUE_WAIT(callee()->OldGetStats()->AudioOutputLevel() > 0, in TEST_P() 2901 EXPECT_TRUE_WAIT(caller()->OldGetStats()->AudioInputLevel() > 0, in TEST_P() [all …]
|
D | peer_connection_histogram_unittest.cc | 222 EXPECT_TRUE_WAIT(observer()->ice_gathering_complete_, kDefaultTimeout); in GenerateOfferAndCollectCandidates() 737 EXPECT_TRUE_WAIT(caller->IsConnected(), kDefaultTimeout); in TEST_F() 738 EXPECT_TRUE_WAIT(callee->IsConnected(), kDefaultTimeout); in TEST_F() 740 EXPECT_TRUE_WAIT(callee->observer()->last_datachannel_ != nullptr, in TEST_F()
|
D | peer_connection_interface_unittest.cc | 928 EXPECT_TRUE_WAIT(observer->called(), kTimeout); in DoGetStats() 937 EXPECT_TRUE_WAIT(callback->called(), kTimeout); in DoGetRTCStats() 1043 EXPECT_TRUE_WAIT(observer_.ice_gathering_complete_, kTimeout); in CreateOfferAsLocalDescription() 1722 EXPECT_TRUE_WAIT(observer_.last_candidate() != nullptr, kTimeout); in TEST_P() 1723 EXPECT_TRUE_WAIT(observer_.ice_gathering_complete_, kTimeout); in TEST_P() 1916 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P() 1917 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_P() 1961 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P() 1962 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_P() 1985 EXPECT_TRUE_WAIT(observer1->IsOpen(), kTimeout); in TEST_P() [all …]
|
D | rtc_stats_collector_unittest.cc | 567 EXPECT_TRUE_WAIT(callback->report(), kGetStatsReportTimeoutMs); in WaitForReport() 735 EXPECT_TRUE_WAIT(result, kGetStatsReportTimeoutMs); in TEST_F() 743 EXPECT_TRUE_WAIT(a, kGetStatsReportTimeoutMs); in TEST_F() 744 EXPECT_TRUE_WAIT(b, kGetStatsReportTimeoutMs); in TEST_F() 745 EXPECT_TRUE_WAIT(c, kGetStatsReportTimeoutMs); in TEST_F() 774 EXPECT_TRUE_WAIT(a, kGetStatsReportTimeoutMs); in TEST_F() 775 EXPECT_TRUE_WAIT(b, kGetStatsReportTimeoutMs); in TEST_F() 776 EXPECT_TRUE_WAIT(c, kGetStatsReportTimeoutMs); in TEST_F() 3002 EXPECT_TRUE_WAIT(callback1->called(), kGetStatsReportTimeoutMs); in TEST_F() 3003 EXPECT_TRUE_WAIT(callback2->called(), kGetStatsReportTimeoutMs); in TEST_F() [all …]
|
/external/webrtc/rtc_tools/network_tester/ |
D | network_tester_unittest.cc | 31 EXPECT_TRUE_WAIT(server.IsTestDone() && client.IsTestDone(), 2000); in TEST()
|