HomeSort by relevance Sort by last modified time
    Searched defs:kTimeout (Results 1 - 20 of 20) sorted by null

  /external/libbrillo/brillo/streams/
stream_errors.cc 17 const char kTimeout[] = "time_out";
tls_stream.cc 213 const base::TimeDelta kTimeout = base::TimeDelta::FromSeconds(2);
225 if (!socket_->WaitForDataBlocking(AccessMode::READ, kTimeout, nullptr,
230 if (!socket_->WaitForDataBlocking(AccessMode::WRITE, kTimeout, nullptr,
  /external/webrtc/webrtc/base/
nullsocketserver_unittest.cc 16 static const uint32_t kTimeout = 5000U;
36 EXPECT_TRUE_WAIT(ss_.Wait(SocketServer::kForever, process_io), kTimeout);
socket_unittest.h 61 static const int kTimeout = 5000; // ms
ssladapter_unittest.cc 22 static const int kTimeout = 5000;
279 handshake_wait_(kTimeout) {}
326 EXPECT_EQ_WAIT(message, server_->GetReceivedData(), kTimeout);
332 EXPECT_EQ_WAIT(message, client_->GetReceivedData(), kTimeout);
  /system/connectivity/shill/
hook_table_unittest.cc 126 const int kTimeout = 1;
135 hook_table_.Run(kTimeout, done_callback);
137 // Cause the event dispatcher to exit after kTimeout + 1 ms.
139 kTimeout + 1);
146 const int kTimeout = 10;
163 hook_table_.Run(kTimeout, done_callback);
170 const int kTimeout = 1;
181 hook_table_.Run(kTimeout, done_callback);
184 // Cause the event dispatcher to exit after kTimeout + 1 ms.
186 kTimeout + 1)
    [all...]
power_manager_unittest.cc 96 : kTimeout(base::TimeDelta::FromSeconds(3)),
114 power_manager_.Start(kTimeout, suspend_imminent_callback_,
126 RegisterSuspendDelay(kTimeout, kDescription, _))
153 RegisterDarkSuspendDelay(kTimeout, kDarkDescription, _))
201 const base::TimeDelta kTimeout;
  /external/webrtc/talk/media/base/
videocapturer_unittest.cc 46 const uint32_t kTimeout = 5000U;
183 capturer_.capture_state(), kTimeout);
193 capturer_.capture_state(), kTimeout);
    [all...]
videoengine_unittest.h 63 static const uint32_t kTimeout = 5000U;
269 // Send frames for a full kTimeout's worth of 15fps video.
271 while (frame_count < static_cast<int>(kTimeout) / 66) {
420 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
443 EXPECT_TRUE_WAIT(NumRtpPackets() > 0, kTimeout);
454 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout);
466 EXPECT_FRAME_WAIT(1, codec.width, codec.height, kTimeout);
468 EXPECT_FRAME_WAIT(2, codec.width, codec.height, kTimeout);
477 EXPECT_FRAME_WAIT(3, codec.width, codec.height, kTimeout);
489 EXPECT_FRAME_WAIT(frame + i * fps, codec.width, codec.height, kTimeout);
    [all...]
  /system/update_engine/
chrome_browser_proxy_resolver.cc 47 const int kTimeout = 5; // seconds
53 : libcros_proxy_(libcros_proxy), timeout_(kTimeout) {}
  /external/webrtc/webrtc/p2p/base/
transportcontroller_unittest.cc 26 static const int kTimeout = 100;
337 EXPECT_EQ_WAIT(cricket::kIceGatheringGathering, gathering_state_, kTimeout);
438 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout);
459 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout);
466 kTimeout);
472 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout);
493 EXPECT_EQ_WAIT(cricket::kIceConnectionFailed, connection_state_, kTimeout);
500 kTimeout);
507 EXPECT_EQ_WAIT(cricket::kIceConnectionConnected, connection_state_, kTimeout);
512 EXPECT_EQ_WAIT(cricket::kIceConnectionCompleted, connection_state_, kTimeout);
    [all...]
turnport_unittest.cc 70 static const unsigned int kTimeout = 1000;
304 ASSERT_TRUE_WAIT(turn_ready_, kTimeout);
308 ASSERT_TRUE_WAIT(udp_ready_, kTimeout);
333 EXPECT_TRUE_WAIT(turn_ready_, kTimeout * 100);
354 EXPECT_TRUE_WAIT(turn_error_, kTimeout);
371 EXPECT_TRUE_WAIT(turn_error_, kTimeout);
394 EXPECT_TRUE_WAIT(turn_error_, kTimeout);
407 WAIT(!turn_unknown_address_, kTimeout);
416 ASSERT_TRUE_WAIT(turn_create_permission_success_, kTimeout);
419 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout);
    [all...]
port_unittest.cc 48 static const int kTimeout = 1000;
576 EXPECT_TRUE_WAIT(ch1->conn()->connected(), kTimeout); // for TCP connect
578 WAIT(!ch2->remote_address().IsNil(), kTimeout);
584 kTimeout);
613 EXPECT_TRUE_WAIT(!ch1->conn()->connected(), kTimeout);
614 EXPECT_TRUE_WAIT(!ch2->conn()->connected(), kTimeout);
625 EXPECT_TRUE_WAIT(ch2->conn() == NULL, kTimeout);
646 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout);
647 ASSERT_EQ_WAIT(1, ch2.complete_count(), kTimeout);
654 const int kTcpReconnectTimeout = kTimeout;
    [all...]
  /frameworks/av/cmds/stagefright/
codec.cpp 80 static int64_t kTimeout = 500ll;
172 err = state->mCodec->dequeueInputBuffer(&index, kTimeout);
209 state->mCodec->dequeueInputBuffer(&index, kTimeout);
258 kTimeout);
mediafilter.cpp 47 static const int64_t kTimeout = 500ll;
169 &filterIndex, kTimeout);
263 kTimeout);
320 static int64_t kTimeout = 500ll;
530 err = state->mCodec->dequeueInputBuffer(&index, kTimeout);
564 state->mCodec->dequeueInputBuffer(&index, kTimeout);
596 &frame.presentationTimeUs, &frame.flags, kTimeout);
  /system/connectivity/shill/vpn/
vpn_driver_unittest.cc 433 const int kTimeout = 123;
434 StartConnectTimeout(kTimeout);
436 EXPECT_EQ(kTimeout, connect_timeout_seconds());
437 StartConnectTimeout(kTimeout - 20);
438 EXPECT_EQ(kTimeout, connect_timeout_seconds());
  /system/core/crash_reporter/
list_proxies.cc 50 const char kTimeout[] = "timeout";
271 std::string str_timeout = cl->GetSwitchValueASCII(kTimeout);
  /frameworks/av/cmds/screenrecord/
screenrecord.cpp 320 static int kTimeout = 250000; // be responsive on signal
352 &flags, kTimeout);
    [all...]
  /external/webrtc/talk/app/webrtc/
peerconnectioninterface_unittest.cc 72 static const uint32_t kTimeout = 10000U;
633 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout);
645 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout);
663 EXPECT_TRUE_WAIT(observer_.renegotiation_needed_, kTimeout);
678 EXPECT_EQ_WAIT(true, observer->called(), kTimeout);
702 EXPECT_EQ_WAIT(true, observer->called(), kTimeout);
723 EXPECT_TRUE_WAIT(observer->called(), kTimeout);
828 EXPECT_TRUE_WAIT(observer_.ice_complete_, kTimeout);
860 EXPECT_EQ_WAIT(stream_label, observer_.GetLastAddedStreamLabel(), kTimeout);
    [all...]
  /external/webrtc/talk/session/media/
channel_unittest.cc     [all...]

Completed in 578 milliseconds