Searched refs:InsertDtmf (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Ddtmfsender_unittest.cc97 virtual bool InsertDtmf(const std::string& track_label,
107 LOG(LS_VERBOSE) << "FakeDtmfProvider::InsertDtmf code=" << code
244 TEST_F(DtmfSenderTest, InsertDtmf) {
248 EXPECT_TRUE(dtmf_->InsertDtmf(tones, duration, inter_tone_gap));
262 EXPECT_TRUE(dtmf_->InsertDtmf(tones1, duration, inter_tone_gap));
268 EXPECT_TRUE(dtmf_->InsertDtmf(tones2, duration, inter_tone_gap));
284 EXPECT_TRUE(dtmf_->InsertDtmf(tones, duration, inter_tone_gap));
298 EXPECT_TRUE(dtmf_->InsertDtmf(tones, duration, inter_tone_gap));
313 EXPECT_TRUE(dtmf_->InsertDtmf(tones1, duration, inter_tone_gap));
317 EXPECT_TRUE(dtmf_->InsertDtmf(tones
[all...]
H A Ddtmfsender.h60 virtual bool InsertDtmf(const std::string& track_id,
84 virtual bool InsertDtmf(const std::string& tones, int duration,
126 PROXY_METHOD3(bool, InsertDtmf, const std::string&, int, int)
H A Ddtmfsenderinterface.h77 // If InsertDtmf is called on the same object while an existing task for this
80 virtual bool InsertDtmf(const std::string& tones, int duration,
90 // This value will be the value last set via the InsertDtmf() method, or the
91 // default value of 100 ms if InsertDtmf() was never called.
95 // This value will be the value last set via the InsertDtmf() method, or the
96 // default value of 50 ms if InsertDtmf() was never called.
H A Ddtmfsender.cc133 bool DtmfSender::InsertDtmf(const std::string& tones, int duration, function in class:webrtc::DtmfSender
140 LOG(LS_ERROR) << "InsertDtmf is called with invalid duration or tones gap. "
149 << "InsertDtmf is called on DtmfSender that can't send DTMF.";
227 if (!provider_->InsertDtmf(track_->id(), code, duration_)) {
H A Dwebrtcsession.h196 virtual bool InsertDtmf(const std::string& track_id,
H A Dwebrtcsession.cc1081 bool WebRtcSession::InsertDtmf(const std::string& track_id, function in class:webrtc::WebRtcSession
1085 LOG(LS_ERROR) << "InsertDtmf: No audio channel exists.";
1091 LOG(LS_ERROR) << "InsertDtmf: Track does not exist: " << track_id;
1094 if (!voice_channel_->InsertDtmf(send_ssrc, code, duration,
H A Dwebrtcsession_unittest.cc2658 TEST_F(WebRtcSessionTest, InsertDtmf) {
2669 session_->InsertDtmf(kAudioTrack1, 0, expected_duration);
2670 session_->InsertDtmf(kAudioTrack1, 1, expected_duration);
2671 session_->InsertDtmf(kAudioTrack1, 2, expected_duration);
H A Dpeerconnection_unittest.cc260 EXPECT_TRUE(dtmf_sender->InsertDtmf("1a", 100, 50));
/external/chromium_org/content/renderer/media/
H A Drtc_dtmf_sender_handler.cc45 return dtmf_sender_->InsertDtmf(utf8_tones, static_cast<int>(duration),
H A Dmock_peer_connection_impl.cc177 virtual bool InsertDtmf(const std::string& tones, int duration,
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Dfilemediaengine.h228 virtual bool InsertDtmf(uint32 ssrc, int event, int duration, int flags) { function in class:cricket::FileVoiceChannel
H A Dfakemediaengine.h365 virtual bool InsertDtmf(uint32 ssrc, int event_code, int duration, function in class:cricket::FakeVoiceMediaChannel
H A Dmediachannel.h1111 virtual bool InsertDtmf(uint32 ssrc, int event, int duration, int flags) = 0;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvoiceengine.h369 virtual bool InsertDtmf(uint32 ssrc, int event, int duration, int flags);
H A Dwebrtcvoiceengine_unittest.cc191 // Test we can only InsertDtmf when the other side supports telephone-event.
197 EXPECT_FALSE(channel_->InsertDtmf(ssrc, 1, 111, cricket::DF_SEND));
204 EXPECT_FALSE(channel_->InsertDtmf(ssrc, 2, 123, cricket::DF_SEND));
210 EXPECT_FALSE(channel_->InsertDtmf(-1, 1, 111, cricket::DF_SEND));
214 EXPECT_TRUE(channel_->InsertDtmf(ssrc, 2, 123, cricket::DF_SEND));
219 EXPECT_TRUE(channel_->InsertDtmf(ssrc, 3, 134, cricket::DF_PLAY));
225 EXPECT_TRUE(channel_->InsertDtmf(ssrc, 4, 145,
2497 // Test the InsertDtmf on default send stream as caller.
2502 // Test the InsertDtmf on default send stream as callee
2507 // Test the InsertDtmf o
[all...]
H A Dwebrtcvoiceengine.cc3048 bool WebRtcVoiceMediaChannel::InsertDtmf(uint32 ssrc, int event, function in class:cricket::WebRtcVoiceMediaChannel
3075 LOG(LS_WARNING) << "InsertDtmf - The specified ssrc "
/external/chromium_org/third_party/libjingle/source/talk/session/media/
H A Dchannel.cc1327 return InsertDtmf(0, digit, duration_ms, flags);
1335 bool VoiceChannel::InsertDtmf(uint32 ssrc, int event_code, int duration, function in class:cricket::VoiceChannel
1575 return media_channel()->InsertDtmf(ssrc, event, duration, flags);
H A Dchannel.h422 // TODO(ronghuawu): Replace PressDTMF with InsertDtmf.
431 bool InsertDtmf(uint32 ssrc, int event_code, int duration, int flags);
H A Dchannel_unittest.cc2206 // Test that InsertDtmf properly forwards to the media channel.
2213 EXPECT_TRUE(channel1_->InsertDtmf(1, 3, 100, cricket::DF_SEND));
2214 EXPECT_TRUE(channel1_->InsertDtmf(2, 5, 110, cricket::DF_PLAY));
2215 EXPECT_TRUE(channel1_->InsertDtmf(3, 7, 120,

Completed in 888 milliseconds