Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dturnport_unittest.cc74 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 …]
Dport_unittest.cc64 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/
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.cc55 uint32 end = TimeAfter(kTimeout); in CheckConnState()
82 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/base/
Dspin_wait.h40 const base::TimeDelta kTimeout = delta; \
42 if (kTimeout < base::TimeTicks::Now() - start) { \
44 kTimeout.InMilliseconds()) << "Timed out"; \
/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/media/base/
Dvideoengine_unittest.h63 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/
Dpeerconnectioninterface_unittest.cc60 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/
Ddiagnostics_api_chromeos.cc22 const char kTimeout[] = "timeout"; variable
80 config[kTimeout] = base::IntToString(*parameters_->options.timeout); in AsyncWorkStart()
/external/chromium_org/net/dns/
Ddns_config_service_unittest.cc250 base::TimeDelta kTimeout = TestTimeouts::action_max_timeout(); in TEST_F() local
251 WaitForConfig(kTimeout); in TEST_F()
253 kTimeout.InSecondsF() << "s"; in TEST_F()
Ddns_config_service.cc199 const base::TimeDelta kTimeout = base::TimeDelta::FromMilliseconds(150); in StartTimer() local
202 kTimeout, in StartTimer()
/external/chromium_org/chrome/test/chromedriver/net/
Dsync_websocket.h19 kTimeout, enumerator
Dsync_websocket_impl.cc83 return SyncWebSocket::kTimeout; in ReceiveNextMessage()
/external/chromium_org/chrome/test/chromedriver/chrome/
Dstatus.h23 kTimeout = 21, enumerator
Dstatus.cc36 case kTimeout: in DefaultMessageForStatusCode()
Ddevtools_client_impl.cc277 case SyncWebSocket::kTimeout: { in ProcessNextMessage()
282 return Status(kTimeout, err); in ProcessNextMessage()
/external/chromium_org/v8/src/
Ddebug-agent.cc83 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/
Dtest_file_util_win.cc119 const base::TimeDelta kTimeout = base::TimeDelta::FromSeconds(10) / in DieFileDie() local
131 base::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()
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()
Dcookie_monster_unittest.cc119 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/
Dfinancial_ping.cc336 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/
Dflash_ui.cc73 const int kTimeout = 8 * 1000; // 8 seconds. variable
163 timeout_.Start(FROM_HERE, base::TimeDelta::FromMilliseconds(kTimeout), in FlashDOMHandler()

12