/external/libbrillo/brillo/streams/ |
stream_errors.cc | 17 const char kTimeout[] = "time_out";
|
stream_errors.h | 21 BRILLO_EXPORT extern const char kTimeout[];
|
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,
|
stream_utils.cc | 118 errors::stream::kTimeout,
|
file_stream_unittest.cc | 668 EXPECT_EQ(errors::stream::kTimeout, error->GetCode()); [all...] |
/external/libchrome/base/synchronization/ |
spin_wait.h | 39 const base::TimeDelta kTimeout = delta; \ 41 if (kTimeout < base::TimeTicks::Now() - start) { \ 43 kTimeout.InMilliseconds()) << "Timed out"; \
|
/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.cc | 227 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); 239 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); 276 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); 288 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); 317 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); 351 WAIT_(client->GetState() == AsyncSocket::CS_CLOSED, kTimeout, 359 EXPECT_EQ_WAIT(AsyncSocket::CS_CLOSED, client->GetState(), kTimeout); 406 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); 415 EXPECT_EQ_WAIT(AsyncSocket::CS_CONNECTED, client->GetState(), kTimeout); 449 EXPECT_TRUE_WAIT(sink.Check(server.get(), testing::SSE_READ), kTimeout); [all...] |
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);
|
physicalsocketserver_unittest.cc | 167 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout); 190 EXPECT_TRUE_WAIT((sink.Check(server.get(), testing::SSE_READ)), kTimeout);
|
/external/webrtc/webrtc/p2p/base/ |
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...] |
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...] |
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...] |
/external/webrtc/talk/media/base/ |
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...] |
videocapturer_unittest.cc | 46 const uint32_t kTimeout = 5000U; 183 capturer_.capture_state(), kTimeout); 193 capturer_.capture_state(), kTimeout); [all...] |
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
VehicleHalTestUtils.h | 123 constexpr auto kTimeout = std::chrono::milliseconds(500); 155 return mEventCond.wait_for(g, kTimeout) == std::cv_status::timeout; 159 if (mEventCond.wait_for(g, kTimeout) == std::cv_status::timeout) {
|
/frameworks/av/cmds/stagefright/ |
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); 566 state->mCodec->dequeueInputBuffer(&index, kTimeout); 598 &frame.presentationTimeUs, &frame.flags, kTimeout);
|
codec.cpp | 80 static int64_t kTimeout = 500ll; 172 err = state->mCodec->dequeueInputBuffer(&index, kTimeout); 211 state->mCodec->dequeueInputBuffer(&index, kTimeout); 260 kTimeout);
|
/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...] |
/frameworks/native/libs/vr/libpdx/ |
client_tests.cpp | 108 ON_CALL(*factory, Connect(kTimeout)) 110 client_ = SimpleClient::Create(std::move(factory), kTimeout); 133 constexpr static int64_t kTimeout = 123; 139 constexpr int64_t ClientChannelFactoryTest::kTimeout; 343 EXPECT_CALL(*factory, Connect(kTimeout)) 346 client_ = SimpleClient::Create(std::move(factory), kTimeout); 353 client_->EnableAutoReconnect(kTimeout); 405 client_->EnableAutoReconnect(kTimeout);
|
/hardware/interfaces/biometrics/fingerprint/2.1/vts/functional/ |
VtsHalBiometricsFingerprintV2_1TargetTest.cpp | 43 static const uint32_t kTimeout = 3; 44 static const std::chrono::seconds kTimeoutInSeconds = std::chrono::seconds(kTimeout); 237 Return<RequestStatus> res = mService->enroll(token, kGroupId, kTimeout); 252 Return<RequestStatus> res = mService->enroll(token, kGroupId, kTimeout); 381 res = mService->enroll(token, kGroupId, kTimeout);
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 321 static int kTimeout = 250000; // be responsive on signal 353 &flags, kTimeout); [all...] |
/external/webrtc/talk/session/media/ |
channel_unittest.cc | [all...] |
/external/webrtc/talk/media/webrtc/ |
webrtcvideoengine2_unittest.cc | 384 kTimeout); [all...] |