Home
last modified time | relevance | path

Searched refs:kStreamId (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/content/browser/media/
Daudio_stream_monitor_unittest.cc30 const int kStreamId = 3; variable
156 ExpectIsPolling(kRenderProcessId, kStreamId, false); in TEST_F()
158 StartMonitoring(kRenderProcessId, kStreamId, CreatePollCallback(kStreamId)); in TEST_F()
160 ExpectIsPolling(kRenderProcessId, kStreamId, true); in TEST_F()
162 StopMonitoring(kRenderProcessId, kStreamId); in TEST_F()
164 ExpectIsPolling(kRenderProcessId, kStreamId, false); in TEST_F()
172 StartMonitoring(kRenderProcessId, kStreamId, CreatePollCallback(kStreamId)); in TEST_F()
184 SetStreamPower(kStreamId, media::AudioPowerMonitor::max_power()); in TEST_F()
192 SetStreamPower(kStreamId, media::AudioPowerMonitor::zero_power()); in TEST_F()
219 StartMonitoring(kRenderProcessId, kStreamId, CreatePollCallback(kStreamId)); in TEST_F()
[all …]
/external/chromium_org/content/browser/renderer_host/media/
Daudio_renderer_host_unittest.cc34 const int kStreamId = 50; variable
173 EXPECT_CALL(*host_.get(), OnStreamCreated(kStreamId, _)); in Create()
201 host_->OnCreateStream(kStreamId, kRenderViewId, kRenderFrameId, session_id, in Create()
214 host_->OnCloseStream(kStreamId); in Close()
219 EXPECT_CALL(*host_.get(), OnStreamPlaying(kStreamId)); in Play()
220 host_->OnPlayStream(kStreamId); in Play()
225 EXPECT_CALL(*host_.get(), OnStreamPaused(kStreamId)); in Pause()
226 host_->OnPauseStream(kStreamId); in Pause()
231 host_->OnSetVolume(kStreamId, volume); in SetVolume()
240 EXPECT_CALL(*host_.get(), OnStreamError(kStreamId)); in SimulateError()
[all …]
/external/chromium_org/content/renderer/media/
Daudio_message_filter_unittest.cc85 static const int kStreamId = 1; in TEST() local
86 EXPECT_EQ(&delegate, filter->delegates_.Lookup(kStreamId)); in TEST()
93 kStreamId, base::SharedMemory::NULLHandle(), socket_descriptor, kLength)); in TEST()
103 kStreamId, media::AudioOutputIPCDelegate::kPlaying)); in TEST()
112 filter->delegates_.Lookup(kStreamId)); in TEST()
/external/chromium_org/net/quic/
Dquic_reliable_client_stream_test.cc24 const QuicConnectionId kStreamId = 3; variable
46 stream_ = new QuicReliableClientStream(kStreamId, &session_, BoundNetLog()); in QuicReliableClientStreamTest()
102 QuicStreamFrame frame2(kStreamId, true, offset, iov); in TEST_P()
/external/chromium_org/net/spdy/
Dspdy_proxy_client_socket_unittest.cc44 static const int kStreamId = 1; variable
333 return spdy_util_.ConstructSpdySyn(kStreamId, block, LOWEST, false, false); in ConstructConnectRequestFrame()
342 return spdy_util_.ConstructSpdySyn(kStreamId, block, LOWEST, false, false); in ConstructConnectAuthRequestFrame()
349 SpdySynReplyIR reply_ir(kStreamId); in ConstructConnectReplyFrame()
350 return spdy_util_.ConstructSpdyReply(kStreamId, block); in ConstructConnectReplyFrame()
359 return spdy_util_.ConstructSpdyReply(kStreamId, block); in ConstructConnectAuthReplyFrame()
368 return spdy_util_.ConstructSpdyReply(kStreamId, block); in ConstructConnectRedirectReplyFrame()
375 return spdy_util_.ConstructSpdyReply(kStreamId, block); in ConstructConnectErrorReplyFrame()
381 return framer_.CreateDataFrame(kStreamId, data, length, DATA_FLAG_NONE); in ConstructBodyFrame()
Dspdy_framer_test.cc2979 const SpdyStreamId kStreamId = 3; in TEST_P() local
2982 framer.SerializeBlocked(SpdyBlockedIR(kStreamId))); in TEST_P()
2983 SpdyBlockedIR blocked_ir(kStreamId); in TEST_P()
5265 const SpdyStreamId kStreamId = 0; in TEST_P() local
5271 EXPECT_CALL(visitor, OnBlocked(kStreamId)); in TEST_P()
5287 const SpdyStreamId kStreamId = 1; in TEST_P() local
5293 EXPECT_CALL(visitor, OnAltSvc(kStreamId, in TEST_P()
5322 const SpdyStreamId kStreamId = 1; in TEST_P() local
5328 EXPECT_CALL(visitor, OnAltSvc(kStreamId, in TEST_P()
/external/chromium_org/net/websockets/
Dwebsocket_job_test.cc1014 const SpdyStreamId kStreamId = 1; in TestConnectBySpdy() local
1018 kStreamId, in TestConnectBySpdy()
1023 kStreamId, in TestConnectBySpdy()
1029 kStreamId, in TestConnectBySpdy()
1035 kStreamId, in TestConnectBySpdy()