Home
last modified time | relevance | path

Searched refs:kTimeout (Results 1 – 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dturnport_unittest.cc77 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 …]
Dport_unittest.cc65 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/
Dsocket_unittest.cc226 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 …]
Dnullsocketserver_unittest.cc16 static const uint32 kTimeout = 5000U; variable
36 EXPECT_TRUE_WAIT(ss_.Wait(rtc::kForever, process_io), kTimeout); in TEST_F()
Dtestclient.cc37 uint32 end = TimeAfter(kTimeout); in CheckConnState()
66 uint32 end = TimeAfter(kTimeout); in NextPacket()
Dtestclient.h75 static const int kTimeout = 1000;
Dsocket_unittest.h80 static const int kTimeout = 5000; // ms variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsocket_unittest.cc243 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 …]
Dnullsocketserver_unittest.cc33 static const uint32 kTimeout = 5000U; variable
53 EXPECT_TRUE_WAIT(ss_.Wait(talk_base::kForever, process_io), kTimeout); in TEST_F()
Dtestclient.cc54 uint32 end = TimeAfter(kTimeout); in CheckConnState()
83 uint32 end = TimeAfter(kTimeout); in NextPacket()
Dtestclient.h92 static const int kTimeout = 1000;
Dsocket_unittest.h97 static const int kTimeout = 5000; // ms variable
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoengine_unittest.h63 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/
Dspin_wait.h39 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/
Dpeerconnectioninterface_unittest.cc61 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/
Ddiagnostics_api_chromeos.cc22 const char kTimeout[] = "timeout"; variable
80 config[kTimeout] = base::IntToString(*parameters_->options.timeout); in AsyncWorkStart()
/external/chromium_org/chrome/test/chromedriver/net/
Dsync_websocket.h19 kTimeout, enumerator
/external/chromium_org/chrome/test/chromedriver/chrome/
Dstatus.h23 kTimeout = 21, enumerator
Dstatus.cc36 case kTimeout: in DefaultMessageForStatusCode()
/external/chromium_org/net/dns/
Ddns_config_service_unittest.cc344 base::TimeDelta kTimeout = TestTimeouts::action_max_timeout(); in TEST_F() local
345 WaitForConfig(kTimeout); in TEST_F()
347 kTimeout.InSecondsF() << "s"; in TEST_F()
Ddns_config_service.cc285 const base::TimeDelta kTimeout = base::TimeDelta::FromMilliseconds(150); in StartTimer() local
288 kTimeout, in StartTimer()
/external/chromium_org/base/test/
Dtest_file_util_win.cc118 const TimeDelta kTimeout = TimeDelta::FromSeconds(10) / kIterations; in DieFileDie() local
129 PlatformThread::Sleep(kTimeout); in DieFileDie()
/external/chromium_org/net/cookies/
Dcookie_store_unittest.h26 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/
Dfinancial_ping.cc331 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/
Dflash_ui.cc74 const int kTimeout = 8 * 1000; // 8 seconds. variable
164 timeout_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeout), in FlashDOMHandler()

12