Home
last modified time | relevance | path

Searched refs:stream1 (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
Dlogging_unittest.cc49 StringStream stream1(str1), stream2(str2); in TEST() local
50 LogMessage::AddLogToStream(&stream1, LS_INFO); in TEST()
52 EXPECT_EQ(LS_INFO, LogMessage::GetLogToStream(&stream1)); in TEST()
64 LogMessage::RemoveLogToStream(&stream1); in TEST()
66 EXPECT_EQ(LogMessage::NO_LOGGING, LogMessage::GetLogToStream(&stream1)); in TEST()
94 NullStream stream1, stream2, stream3; in TEST() local
96 LogMessage::AddLogToStream(&stream1, LS_INFO); in TEST()
99 LogMessage::RemoveLogToStream(&stream1); in TEST()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcpassthroughrender_unittest.cc103 webrtc::VideoRenderCallback* stream1 = NULL; in TEST_F() local
106 stream1 = AddIncomingRenderStream(stream_id1); in TEST_F()
107 EXPECT_TRUE(stream1 != NULL); in TEST_F()
121 stream1->RenderFrame(stream_id1, frame); in TEST_F()
128 stream1->RenderFrame(stream_id1, frame); in TEST_F()
135 stream1->RenderFrame(stream_id1, frame); in TEST_F()
Dwebrtcvoiceengine_unittest.cc2928 cricket::StreamParams stream1; in TEST_F() local
2929 stream1.ssrcs.push_back(1); in TEST_F()
2930 channel1->AddSendStream(stream1); in TEST_F()
/external/chromium_org/content/browser/streams/
Dstream_unittest.cc198 scoped_refptr<Stream> stream1( in TEST_F() local
202 ASSERT_EQ(stream1, stream2); in TEST_F()
209 scoped_refptr<Stream> stream1( in TEST_F() local
221 scoped_refptr<Stream> stream1( in TEST_F() local
227 ASSERT_EQ(stream1, stream2); in TEST_F()
234 scoped_refptr<Stream> stream1( in TEST_F() local
248 scoped_refptr<Stream> stream1( in TEST_F() local
261 scoped_refptr<Stream> stream1( in TEST_F() local
273 writer1.Write(stream1.get(), buffer, kBufferSize); in TEST_F()
283 writer1.Write(stream1.get(), buffer, kMaxMemoryUsage - kBufferSize); in TEST_F()
/external/chromium_org/net/spdy/
Dspdy_write_queue_unittest.cc156 scoped_ptr<SpdyStream> stream1(MakeTestStream(DEFAULT_PRIORITY)); in TEST_F() local
161 stream1->GetWeakPtr()); in TEST_F()
173 EXPECT_EQ(stream1, stream.get()); in TEST_F()
194 scoped_ptr<SpdyStream> stream1(MakeTestStream(DEFAULT_PRIORITY)); in TEST_F() local
199 (((i % 3) == 0) ? stream1 : stream2)->GetWeakPtr(); in TEST_F()
212 EXPECT_EQ(stream1, stream.get()); in TEST_F()
228 scoped_ptr<SpdyStream> stream1(MakeTestStream(DEFAULT_PRIORITY)); in TEST_F() local
229 stream1->set_stream_id(1); in TEST_F()
237 stream1->GetWeakPtr(), stream2->GetWeakPtr(), in TEST_F()
246 write_queue.RemovePendingWritesForStreamsAfter(stream1->stream_id()); in TEST_F()
[all …]
Dspdy_session_unittest.cc1045 base::WeakPtr<SpdyStream> stream1 = CreateStreamSynchronously( in TEST_P() local
1047 test::StreamDelegateDoNothing delegate1(stream1); in TEST_P()
1048 stream1->SetDelegate(&delegate1); in TEST_P()
1076 stream1->SendRequestHeaders( in TEST_P()
1082 EXPECT_EQ(kLastStreamId - 2u, stream1->stream_id()); in TEST_P()
1142 base::WeakPtr<SpdyStream> stream1 = CreateStreamSynchronously( in TEST_P() local
1160 stream1->Cancel(); in TEST_P()
4159 base::WeakPtr<SpdyStream> stream1 = in TEST_P() local
4162 ASSERT_TRUE(stream1.get() != NULL); in TEST_P()
4164 test::StreamDelegateWithBody delegate1(stream1, kBodyDataStringPiece); in TEST_P()
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_font.cpp114 FXFT_Stream stream1 = (FXFT_Stream)FX_Alloc(FX_BYTE, sizeof (FXFT_StreamRec)); in _LoadFile() local
115 if (!stream1) { in _LoadFile()
118 stream1->base = NULL; in _LoadFile()
119 stream1->size = (unsigned long)pFile->GetSize(); in _LoadFile()
120 stream1->pos = 0; in _LoadFile()
121 stream1->descriptor.pointer = pFile; in _LoadFile()
122 stream1->close = _FTStreamClose; in _LoadFile()
123 stream1->read = _FTStreamRead; in _LoadFile()
126 args.stream = stream1; in _LoadFile()
128 FX_Free(stream1); in _LoadFile()
[all …]
/external/chromium_org/media/audio/
Daudio_output_proxy_unittest.cc338 MockAudioOutputStream stream1(&manager_, params_); in TwoStreams_BothPlaying() local
342 .WillOnce(Return(&stream1)) in TwoStreams_BothPlaying()
345 EXPECT_CALL(stream1, Open()) in TwoStreams_BothPlaying()
347 EXPECT_CALL(stream1, SetVolume(_)) in TwoStreams_BothPlaying()
364 CloseAndWaitForCloseTimer(proxy1, &stream1); in TwoStreams_BothPlaying()
369 EXPECT_TRUE(stream1.stop_called()); in TwoStreams_BothPlaying()
370 EXPECT_TRUE(stream1.start_called()); in TwoStreams_BothPlaying()
627 MockAudioOutputStream stream1(&manager_, params_); in TEST_F() local
632 .WillOnce(Return(&stream1)) in TEST_F()
637 EXPECT_CALL(stream1, Open()) in TEST_F()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdataengine_unittest.cc208 cricket::StreamParams stream1; in TEST_F() local
209 stream1.add_ssrc(41); in TEST_F()
210 EXPECT_TRUE(dmc->AddSendStream(stream1)); in TEST_F()
223 cricket::StreamParams stream1; in TEST_F() local
224 stream1.add_ssrc(41); in TEST_F()
225 EXPECT_TRUE(dmc->AddRecvStream(stream1)); in TEST_F()
325 cricket::StreamParams stream1; in TEST_F() local
326 stream1.add_ssrc(41); in TEST_F()
327 ASSERT_TRUE(dmc1->AddSendStream(stream1)); in TEST_F()
Dstreamparams_unittest.cc258 cricket::StreamParams stream1 = in TEST() local
262 stream1.add_ssrc(25); in TEST()
263 EXPECT_FALSE(cricket::IsSimulcastStream(stream1)); in TEST()
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DCipherOutputStreamTest.java135 …CipherOutputStream stream1 = new CipherOutputStream(new BufferedOutputStream((OutputStream) null),… in testWrite5() local
136 CipherOutputStream stream2 = new CipherOutputStream(stream1, cf); in testWrite5()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dwebrtcsessiondescriptionfactory.cc49 static bool CompareStream(const MediaSessionOptions::Stream& stream1, in CompareStream() argument
51 return stream1.id < stream2.id; in CompareStream()
54 static bool SameId(const MediaSessionOptions::Stream& stream1, in SameId() argument
56 return stream1.id == stream2.id; in SameId()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannel_unittest.cc701 cricket::StreamParams stream1; in TestUpdateStreamsInLocalContent() local
702 stream1.groupid = "group1"; in TestUpdateStreamsInLocalContent()
703 stream1.id = "stream1"; in TestUpdateStreamsInLocalContent()
704 stream1.ssrcs.push_back(kSsrc1); in TestUpdateStreamsInLocalContent()
705 stream1.cname = "stream1_cname"; in TestUpdateStreamsInLocalContent()
722 content1.AddStream(stream1); in TestUpdateStreamsInLocalContent()
727 EXPECT_EQ(stream1, media_channel1_->send_streams()[0]); in TestUpdateStreamsInLocalContent()
737 EXPECT_EQ(stream1, media_channel1_->send_streams()[0]); in TestUpdateStreamsInLocalContent()
744 stream1.ssrcs.clear(); in TestUpdateStreamsInLocalContent()
745 content3.AddStream(stream1); in TestUpdateStreamsInLocalContent()
[all …]
Dmediamessages_unittest.cc95 static std::string StreamsXml(const std::string& stream1, in StreamsXml() argument
98 + stream1 in StreamsXml()
/external/chromium_org/chrome/renderer/extensions/
Dcast_streaming_native_handler.cc220 scoped_ptr<CastRtpStream> stream1, stream2; in CreateCastSession() local
230 stream1.reset(new CastRtpStream(track.component(), session)); in CreateCastSession()
255 base::Passed(&stream1), in CreateCastSession()
261 scoped_ptr<CastRtpStream> stream1, in CallCreateCallback() argument
272 if (stream1) { in CallCreateCallback()
276 linked_ptr<CastRtpStream>(stream1.release()); in CallCreateCallback()
Dcast_streaming_native_handler.h62 void CallCreateCallback(scoped_ptr<CastRtpStream> stream1,
/external/chromium_org/content/browser/media/capture/
Daudio_mirroring_manager_unittest.cc421 MockDiverter* const stream1 = in TEST_F() local
452 KillStream(stream1); in TEST_F()
/external/chromium_org/net/quic/
Dquic_session_test.cc297 QuicDataStream* stream1 = session_.GetIncomingDataStream(stream_id1); in TEST_P() local
298 QuicDataStreamPeer::SetHeadersDecompressed(stream1, true); in TEST_P()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DSpdyConnectionTest.java836 SpdyStream stream1 = connection.newStream(headerEntries("a", "android"), true, true);
839 BufferedSink sink1 = Okio.buffer(stream1.getSink());
1308 SpdyStream stream1 = connection.newStream(headerEntries("a", "apple"), true, true);
1309 BufferedSink out1 = Okio.buffer(stream1.getSink());
/external/chromium_org/v8/test/cctest/
Dtest-parsing.cc735 i::Utf8ToUtf16CharacterStream stream1(reinterpret_cast<const i::byte*>(str1), in TEST()
751 TestStreamScanner(&stream1, expectations1, 0, 0); in TEST()