Searched refs:SetSend (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dfilemediaengine.cc133 bool SetSend(bool send);
209 bool RtpSenderReceiver::SetSend(bool send) { function in class:cricket::RtpSenderReceiver
234 // to sleep until SetSend(true) wakes it up.
296 bool FileVoiceChannel::SetSend(SendFlags flag) { function in class:cricket::FileVoiceChannel
297 return rtp_sender_receiver_->SetSend(flag != SEND_NOTHING);
342 bool FileVideoChannel::SetSend(bool send) { function in class:cricket::FileVideoChannel
343 return rtp_sender_receiver_->SetSend(send);
H A Dfilemediaengine_unittest.cc308 // Test that SetSend() controls whether a voice channel sends RTP packets.
322 voice_channel_->SetSend(SEND_MICROPHONE);
326 voice_channel_->SetSend(SEND_NOTHING);
334 voice_channel_->SetSend(SEND_MICROPHONE);
341 voice_channel_->SetSend(SEND_NOTHING);
355 voice_channel_->SetSend(SEND_MICROPHONE);
361 voice_channel_->SetSend(SEND_NOTHING);
393 voice_channel_->SetSend(SEND_MICROPHONE);
399 voice_channel_->SetSend(SEND_NOTHING);
444 voice_channel_->SetSend(SEND_MICROPHON
[all...]
H A Dvideoengine_unittest.h581 bool success = SetSend(false);
585 success = SetSend(sending);
588 bool SetSend(bool send) { function in class:VideoMediaChannelTest
589 return channel_->SetSend(send);
762 // Test that SetSend works.
763 void SetSend() { function in class:VideoMediaChannelTest
768 EXPECT_TRUE(SetSend(true));
772 EXPECT_TRUE(SetSend(false));
775 // Test that SetSend fails without codecs being set.
778 EXPECT_FALSE(SetSend(tru
[all...]
H A Drtpdataengine.h111 virtual bool SetSend(bool send) { function in class:cricket::RtpDataMediaChannel
H A Drtpdataengine_unittest.cc252 ASSERT_TRUE(dmc->SetSend(true));
322 ASSERT_TRUE(dmc1->SetSend(true));
323 ASSERT_TRUE(dmc2->SetSend(true));
377 ASSERT_TRUE(dmc->SetSend(true));
H A Dfilemediaengine.h204 virtual bool SetSend(SendFlags flag);
291 virtual bool SetSend(bool send);
H A Dfakemediaengine.h278 virtual bool SetSend(SendFlags flag) { function in class:cricket::FakeVoiceMediaChannel
563 virtual bool SetSend(bool send) { return set_sending(send); } function in class:cricket::FakeVideoMediaChannel
671 virtual bool SetSend(bool send) { return set_sending(send); } function in class:cricket::FakeDataMediaChannel
H A Dmediachannel.h1081 virtual bool SetSend(SendFlags flag) = 0;
1159 virtual bool SetSend(bool send) = 0;
1278 virtual bool SetSend(bool send) = 0;
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
H A Dsctpdataengine_unittest.cc266 chan2_->SetSend(true);
268 // deterministic and realistic small timing delay between the SetSend calls.
273 chan1_->SetSend(true);
277 channel1()->SetSend(false);
278 channel2()->SetSend(false);
H A Dsctpdataengine.h138 // When SetSend is set to true, connects. When set to false, disconnects.
139 // Calling: "SetSend(true); SetSend(false); SetSend(true);" will connect,
141 virtual bool SetSend(bool send);
H A Dsctpdataengine.cc477 bool SctpDataMediaChannel::SetSend(bool send) { function in class:cricket::SctpDataMediaChannel
527 << " len=" << payload.length() << " before SetSend(true).";
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dsrtpfilter_unittest.cc590 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey1, kTestKeyLen));
596 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey1, kTestKeyLen));
598 EXPECT_FALSE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey2, kTestKeyLen));
604 EXPECT_FALSE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey1, 1));
610 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey1, kTestKeyLen));
620 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_32, kTestKey1, kTestKeyLen));
629 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_32, kTestKey1, kTestKeyLen));
642 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey1, kTestKeyLen));
655 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_80, kTestKey1, kTestKeyLen));
664 EXPECT_TRUE(s1_.SetSend(CS_AES_CM_128_HMAC_SHA1_8
[all...]
H A Dsrtpfilter.cc158 if (!send_session_->SetSend(send_cs, send_key, send_key_len))
417 ret = (send_session_->SetSend(send_params.cipher_suite,
486 bool SrtpSession::SetSend(const std::string& cs, const uint8* key, int len) { function in class:cricket::SrtpSession
778 bool SrtpSession::SetSend(const std::string& cs, const uint8* key, int len) { function in class:cricket::SrtpSession
H A Dsrtpfilter.h71 // Initialize by calling SetSend with the local security params, then call
201 bool SetSend(const std::string& cs, const uint8* key, int len);
H A Dchannel.cc1442 if (!media_channel()->SetSend(send_flag)) {
1443 LOG(LS_ERROR) << "Failed to SetSend " << send_flag << " on voice channel";
1772 if (!media_channel()->SetSend(send)) {
1773 LOG(LS_ERROR) << "Failed to SetSend on video channel";
2330 if (!media_channel()->SetSend(send)) {
2331 LOG(LS_ERROR) << "Failed to SetSend on data channel";
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideoengine2_unittest.cc459 EXPECT_FALSE(channel->SetSend(true))
461 EXPECT_TRUE(channel->SetSend(false))
506 WEBRTC_BASE_TEST(SetSend);
600 EXPECT_TRUE(SetSend(true));
814 EXPECT_TRUE(channel_->SetSend(true));
1039 EXPECT_TRUE(channel_->SetSend(true));
1521 TEST_F(WebRtcVideoChannel2Test, SetSend) {
1526 EXPECT_TRUE(channel_->SetSend(true));
1529 EXPECT_TRUE(channel_->SetSend(true));
1532 EXPECT_TRUE(channel_->SetSend(fals
[all...]
H A Dwebrtcvideoengine_unittest.cc673 EXPECT_TRUE(channel_->SetSend(true));
854 EXPECT_TRUE(channel_->SetSend(true));
873 EXPECT_TRUE(channel_->SetSend(true));
895 EXPECT_TRUE(channel_->SetSend(true));
916 EXPECT_TRUE(channel_->SetSend(true));
1259 EXPECT_TRUE(channel_->SetSend(true));
1425 TEST_F(WebRtcVideoEngineTestFake, SetSend) {
1439 EXPECT_TRUE(channel_->SetSend(true));
1441 EXPECT_TRUE(channel_->SetSend(false));
1443 EXPECT_TRUE(channel_->SetSend(tru
[all...]
H A Dwebrtcvoiceengine_unittest.cc195 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
1842 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
1846 EXPECT_TRUE(channel_->SetSend(cricket::SEND_NOTHING));
1859 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
1926 // Test we can SetSend on all send streams correctly.
1940 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
1948 EXPECT_TRUE(channel_->SetSend(cricket::SEND_NOTHING));
2023 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
2040 EXPECT_TRUE(channel_->SetSend(cricket::SEND_NOTHING));
2083 EXPECT_TRUE(channel_->SetSend(cricke
[all...]
H A Dwebrtcvideoengine.h258 virtual bool SetSend(bool send);
H A Dwebrtcvideoengine2.h232 virtual bool SetSend(bool send) OVERRIDE;
H A Dwebrtcvoiceengine.h348 virtual bool SetSend(SendFlags send);
H A Dwebrtcvideoengine2.cc861 bool WebRtcVideoChannel2::SetSend(bool send) { function in class:cricket::WebRtcVideoChannel2
862 LOG(LS_VERBOSE) << "SetSend: " << (send ? "true" : "false");
864 LOG(LS_ERROR) << "SetSend(true) called before setting codec.";
H A Dwebrtcvideoengine.cc1611 SetSend(send);
1855 bool WebRtcVideoMediaChannel::SetSend(bool send) { function in class:cricket::WebRtcVideoMediaChannel
/external/chromium_org/third_party/libjingle/source/talk/media/other/
H A Dlinphonemediaengine.h124 virtual bool SetSend(SendFlags flag);
H A Dlinphonemediaengine.cc214 bool LinphoneVoiceChannel::SetSend(SendFlags flag) { function in class:cricket::LinphoneVoiceChannel

Completed in 5042 milliseconds

12