Home
last modified time | relevance | path

Searched refs:send_stream_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dpseudotcp_unittest.cc216 rtc::MemoryStream send_stream_; member in PseudoTcpTestBase
232 send_stream_.ReserveSize(size); in TestTransfer()
235 send_stream_.Write(&ch, 1, NULL, NULL); in TestTransfer()
237 send_stream_.Rewind(); in TestTransfer()
254 EXPECT_EQ(0, memcmp(send_stream_.GetBuffer(), in TestTransfer()
273 send_stream_.GetSize(&required); in OnTcpReadable()
309 send_stream_.GetPosition(&position); in WriteData()
310 if (send_stream_.Read(block, sizeof(block), &tosend, NULL) != in WriteData()
315 send_stream_.SetPosition(position + sent); in WriteData()
318 send_stream_.SetPosition(position); in WriteData()
[all …]
/external/chromium_org/third_party/webrtc/test/
Dcall_test.cc19 send_stream_(NULL), in CallTest()
44 test->OnStreamsCreated(send_stream_, receive_streams_); in RunBaseTest()
58 send_stream_->Start(); in Start()
70 send_stream_->Stop(); in Stop()
126 test::FrameGeneratorCapturer::Create(send_stream_->Input(), in CreateFrameGeneratorCapturer()
133 assert(send_stream_ == NULL); in CreateStreams()
136 send_stream_ = in CreateStreams()
146 if (send_stream_ != NULL) in DestroyStreams()
147 sender_call_->DestroyVideoSendStream(send_stream_); in DestroyStreams()
148 send_stream_ = NULL; in DestroyStreams()
Dcall_test.h69 VideoSendStream* send_stream_; variable
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
Dtunnelsessionclient_unittest.cc74 send_stream_.ReserveSize(size); in TestTransfer()
77 send_stream_.Write(&ch, 1, NULL, NULL); in TestTransfer()
79 send_stream_.Rewind(); in TestTransfer()
88 EXPECT_EQ(0, memcmp(send_stream_.GetBuffer(), in TestTransfer()
195 rtc::StreamResult res = rtc::Flow(&send_stream_, in WriteData()
198 send_stream_.GetPosition(&position); in WriteData()
199 send_stream_.SetPosition(position - leftover); in WriteData()
218 rtc::MemoryStream send_stream_; member in TunnelSessionClientTest
/external/chromium_org/third_party/webrtc/video/
Dbitrate_estimator_tests.cc190 send_stream_(NULL), in Stream()
197 send_stream_ = test_->sender_call_->CreateVideoSendStream( in Stream()
201 send_stream_->Input(), in Stream()
206 send_stream_->Start(); in Stream()
224 test_->sender_call_->DestroyVideoSendStream(send_stream_); in ~Stream()
225 send_stream_ = NULL; in ~Stream()
233 send_stream_->Stop(); in StopSending()
242 VideoSendStream* send_stream_; member in webrtc::BitrateEstimatorTest::Stream
Dend_to_end_tests.cc51 EXPECT_EQ(NULL, send_stream_); in ~EndToEndTest()
166 send_stream_->Input()->SwapFrame(frame_generator->NextFrame()); in TEST_F()
212 send_stream_->Input()->SwapFrame(frame_generator->NextFrame()); in TEST_F()
666 send_stream_->Input()->SwapFrame(frame_generator->NextFrame()); in TEST_F()
1092 send_stream_->Input()->SwapFrame(frame_generator->NextFrame()); in TEST_F()
1302 send_stream_ = send_stream; in TestSendsSetSsrcs()
1312 send_stream_->ReconfigureVideoEncoder(encoder_config_all_streams_); in TestSendsSetSsrcs()
1328 VideoSendStream* send_stream_; in TestSendsSetSsrcs() member in webrtc::EndToEndTest::TestSendsSetSsrcs::SendsSetSsrcs
1341 send_stream_(NULL), in TEST_F()
1408 assert(send_stream_ != NULL); in TEST_F()
[all …]
Drampup_tests.cc198 send_stream_(NULL), in LowRateStreamObserver()
229 send_stream_ = send_stream; in SetSendStream()
275 suspended_in_stats_ = send_stream_->GetStats().suspended; in DeliverPacket()
300 assert(send_stream_ != NULL); in EvolveTestState()
473 stream_observer.SetSendStream(send_stream_); in RunRampUpDownUpTest()
Dcall_perf_tests.cc492 send_stream_(NULL), in TestMinTransmitBitrate()
507 VideoSendStream::Stats stats = send_stream_->GetStats(); in TestMinTransmitBitrate()
543 send_stream_ = send_stream; in TestMinTransmitBitrate()
562 VideoSendStream* send_stream_; in TestMinTransmitBitrate() member in webrtc::CallPerfTest::TestMinTransmitBitrate::BitrateObserver
Dvideo_send_stream_tests.cc73 send_stream_->Start(); in TEST_F()
74 send_stream_->Start(); in TEST_F()
85 send_stream_->Stop(); in TEST_F()
86 send_stream_->Stop(); in TEST_F()
296 send_stream_->Start(); in TEST_F()
303 send_stream_->Input()->SwapFrame(&frame); in TEST_F()
1150 send_stream_->Start(); in TEST_F()
1154 send_stream_->Input()->SwapFrame(frame.get()); in TEST_F()
1162 send_stream_->Stop(); in TEST_F()
Drampup_tests.h138 const VideoSendStream* send_stream_ GUARDED_BY(crit_);
Dfull_stack.cc408 analyzer.input_ = send_stream_->Input(); in RunTest()
/external/chromium_org/third_party/webrtc/base/
Dsslstreamadapter_unittest.cc454 send_stream_.ReserveSize(size); in TestTransfer()
457 send_stream_.Write(&ch, 1, NULL, NULL); in TestTransfer()
459 send_stream_.Rewind(); in TestTransfer()
474 EXPECT_EQ(0, memcmp(send_stream_.GetBuffer(), in TestTransfer()
484 send_stream_.GetSize(&size); in WriteData()
489 send_stream_.GetPosition(&position); in WriteData()
490 if (send_stream_.Read(block, sizeof(block), &tosend, NULL) != in WriteData()
495 send_stream_.SetPosition(position + sent); in WriteData()
499 send_stream_.SetPosition(position); in WriteData()
541 rtc::MemoryStream send_stream_; member in SSLStreamAdapterTestTLS
/external/chromium_org/mojo/services/html_viewer/
Dwebsockethandle_impl.cc169 send_stream_ = data_pipe.producer_handle.Pass(); in connect()
170 write_queue_.reset(new WebSocketWriteQueue(send_stream_.get())); in connect()
Dwebsockethandle_impl.h52 ScopedDataPipeProducerHandle send_stream_; variable
/external/chromium_org/mojo/services/network/
Dweb_socket_impl.h49 ScopedDataPipeConsumerHandle send_stream_; variable
Dweb_socket_impl.cc197 send_stream_ = send_stream.Pass(); in Connect()
198 read_queue_.reset(new WebSocketReadQueue(send_stream_.get())); in Connect()