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

/external/webrtc/talk/media/base/
H A Dvideoengine_unittest.h222 bool success = SetSend(false);
229 success = SetSend(sending);
233 bool SetSend(bool send) { function in class:VideoMediaChannelTest
234 return channel_->SetSend(send);
411 // Test that SetSend works.
412 void SetSend() { function in class:VideoMediaChannelTest
417 EXPECT_TRUE(SetSend(true));
421 EXPECT_TRUE(SetSend(false));
424 // Test that SetSend fails without codecs being set.
427 EXPECT_FALSE(SetSend(tru
[all...]
H A Drtpdataengine.h104 virtual bool SetSend(bool send) { function in class:cricket::RtpDataMediaChannel
H A Drtpdataengine_unittest.cc251 ASSERT_TRUE(dmc->SetSend(true));
321 ASSERT_TRUE(dmc1->SetSend(true));
322 ASSERT_TRUE(dmc2->SetSend(true));
376 ASSERT_TRUE(dmc->SetSend(true));
H A Dfakemediaengine.h272 virtual bool SetSend(SendFlags flag) { function in class:cricket::FakeVoiceMediaChannel
516 virtual bool SetSend(bool send) { return set_sending(send); } function in class:cricket::FakeVideoMediaChannel
632 virtual bool SetSend(bool send) { return set_sending(send); } function in class:cricket::FakeDataMediaChannel
H A Dmediachannel.h1010 virtual bool SetSend(SendFlags flag) = 0;
1077 virtual bool SetSend(bool send) = 0;
1207 virtual bool SetSend(bool send) = 0;
/external/webrtc/talk/session/media/
H A Dsrtpfilter_unittest.cc620 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey1, kTestKeyLen));
626 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey1, kTestKeyLen));
629 s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey2, kTestKeyLen));
636 EXPECT_FALSE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey1, 1));
642 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey1, kTestKeyLen));
652 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_32, kTestKey1, kTestKeyLen));
661 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_32, kTestKey1, kTestKeyLen));
674 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey1, kTestKeyLen));
687 EXPECT_TRUE(s1_.SetSend(rtc::SRTP_AES128_CM_SHA1_80, kTestKey1, kTestKeyLen));
696 EXPECT_TRUE(s1_.SetSend(rt
[all...]
H A Dsrtpfilter.cc160 if (!send_session_->SetSend(send_cs, send_key, send_key_len))
431 ret = (send_session_->SetSend(
516 bool SrtpSession::SetSend(int cs, const uint8_t* key, int len) { function in class:cricket::SrtpSession
819 bool SrtpSession::SetSend(const std::string& cs, const uint8_t* key, int len) { function in class:cricket::SrtpSession
H A Dsrtpfilter.h65 // Initialize by calling SetSend with the local security params, then call
203 bool SetSend(int cs, const uint8_t* key, int len);
H A Dchannel.cc1483 if (!media_channel()->SetSend(send_flag)) {
1484 LOG(LS_ERROR) << "Failed to SetSend " << send_flag << " on voice channel";
1733 if (!media_channel()->SetSend(send)) {
1734 LOG(LS_ERROR) << "Failed to SetSend on video channel";
2218 if (!media_channel()->SetSend(send)) {
2219 LOG(LS_ERROR) << "Failed to SetSend on data channel";
/external/webrtc/talk/media/webrtc/
H A Dwebrtcvideoengine2_unittest.cc349 EXPECT_FALSE(channel->SetSend(true))
351 EXPECT_TRUE(channel->SetSend(false))
376 EXPECT_TRUE(channel->SetSend(true));
433 channel->SetSend(true);
487 channel->SetSend(true);
573 EXPECT_TRUE(channel->SetSend(true));
651 EXPECT_TRUE(channel->SetSend(true));
792 WEBRTC_BASE_TEST(SetSend);
889 EXPECT_TRUE(SetSend(true));
1123 EXPECT_TRUE(channel_->SetSend(tru
[all...]
H A Dwebrtcvoiceengine.h168 bool SetSend(SendFlags send) override;
H A Dwebrtcvoiceengine_unittest.cc153 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
1942 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
1944 EXPECT_TRUE(channel_->SetSend(cricket::SEND_NOTHING));
1964 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
2021 // Test we can SetSend on all send streams correctly.
2034 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
2042 EXPECT_TRUE(channel_->SetSend(cricket::SEND_NOTHING));
2121 EXPECT_TRUE(channel_->SetSend(cricket::SEND_MICROPHONE));
2138 EXPECT_TRUE(channel_->SetSend(cricket::SEND_NOTHING));
2173 EXPECT_TRUE(channel_->SetSend(cricke
[all...]
H A Dwebrtcvideoengine2.h166 bool SetSend(bool send) override;
H A Dwebrtcvideoengine2.cc903 bool WebRtcVideoChannel2::SetSend(bool send) { function in class:cricket::WebRtcVideoChannel2
904 LOG(LS_VERBOSE) << "SetSend: " << (send ? "true" : "false");
906 LOG(LS_ERROR) << "SetSend(true) called before setting codec.";
H A Dwebrtcvoiceengine.cc1760 bool WebRtcVoiceMediaChannel::SetSend(SendFlags send) { function in class:cricket::WebRtcVoiceMediaChannel
/external/webrtc/talk/media/sctp/
H A Dsctpdataengine.h144 // When SetSend is set to true, connects. When set to false, disconnects.
145 // Calling: "SetSend(true); SetSend(false); SetSend(true);" will connect,
147 virtual bool SetSend(bool send);
H A Dsctpdataengine_unittest.cc254 chan2_->SetSend(true);
256 // deterministic and realistic small timing delay between the SetSend calls.
261 chan1_->SetSend(true);
265 channel1()->SetSend(false);
266 channel2()->SetSend(false);
H A Dsctpdataengine.cc552 bool SctpDataMediaChannel::SetSend(bool send) { function in class:cricket::SctpDataMediaChannel
610 << " len=" << payload.size() << " before SetSend(true).";

Completed in 234 milliseconds