Searched refs:tones (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Ddtmfsender_unittest.cc62 const std::vector<std::string>& tones() const { function in class:FakeDtmfObserver
156 // Constructs a list of DtmfInfo from |tones|, |duration| and
158 void GetDtmfInfoFromString(const std::string& tones, int duration, argument
165 std::string::const_iterator it = tones.begin();
166 for (; it != tones.end(); ++it) {
181 const std::string& tones,
184 EXPECT_EQ(tones, dtmf_->tones());
190 void VerifyOnProvider(const std::string& tones, int duration, argument
193 GetDtmfInfoFromString(tones, duratio
180 VerifyExpectedState(AudioTrackInterface* track, const std::string& tones, int duration, int inter_tone_gap) argument
219 const std::vector<std::string>& tones = observer_->tones(); local
245 std::string tones = "@1%a&*$"; local
281 std::string tones = "@1%a&*$"; local
295 std::string tones = "@1%a&*$"; local
328 std::string tones = "3,4"; local
339 std::string tones = "3,4"; local
347 std::string tones = "3,4"; local
[all...]
H A Ddtmfsenderinterface.h47 // tones.
65 // Queues a task that sends the DTMF |tones|. The |tones| parameter is treated
67 // * generate the associated DTMF tones. The characters a to d are equivalent
69 // processing the next character in the tones parameter.
72 // character passed in the |tones| parameter.
74 // The |inter_tone_gap| parameter indicates the gap between tones in ms.
80 virtual bool InsertDtmf(const std::string& tones, int duration,
86 // Returns the tones remaining to be played out.
87 virtual std::string tones() cons
[all...]
H A Ddtmfsender.h84 virtual bool InsertDtmf(const std::string& tones, int duration,
87 virtual std::string tones() const OVERRIDE;
128 PROXY_CONSTMETHOD0(std::string, tones)
H A Ddtmfsender.cc59 // tones must be at least 50 ms.
133 bool DtmfSender::InsertDtmf(const std::string& tones, int duration, argument
140 LOG(LS_ERROR) << "InsertDtmf is called with invalid duration or tones gap. "
143 << "The gap between tones must be at least " << kDtmfMinGapMs << "ms.";
153 tones_ = tones;
167 std::string DtmfSender::tones() const { function in class:webrtc::DtmfSender
218 // seconds before processing the next character in the tones parameter.
H A Dpeerconnection_unittest.cc262 // We don't need to verify that the DTMF tones are actually sent out because
266 std::vector<std::string> tones; local
267 tones.push_back("1");
268 tones.push_back("a");
269 tones.push_back("");
270 observer->Verify(tones);
530 void Verify(const std::vector<std::string>& tones) const {
531 ASSERT_TRUE(tones_.size() == tones.size());
532 EXPECT_TRUE(std::equal(tones.begin(), tones
[all...]
/external/chromium_org/content/renderer/media/
H A Drtc_dtmf_sender_handler.cc34 return base::UTF8ToUTF16(dtmf_sender_->tones());
41 bool RtcDtmfSenderHandler::insertDTMF(const blink::WebString& tones, argument
44 std::string utf8_tones = base::UTF16ToUTF8(tones);
H A Drtc_dtmf_sender_handler.h38 virtual bool insertDTMF(const blink::WebString& tones, long duration,
H A Dmock_peer_connection_impl.cc177 virtual bool InsertDtmf(const std::string& tones, int duration,
179 tones_ = tones;
187 virtual std::string tones() const OVERRIDE {
/external/chromium_org/content/shell/renderer/test_runner/
H A Dmock_webrtc_dtmf_sender_handler.cc23 WebString tones = object_->currentToneBuffer(); variable
25 client_->didPlayTone(tones);
56 bool MockWebRTCDTMFSenderHandler::insertDTMF(const WebString& tones, argument
63 tone_buffer_ = tones;
H A Dmock_webrtc_dtmf_sender_handler.h27 virtual bool insertDTMF(const blink::WebString& tones,
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebRTCDTMFSenderHandler.h45 virtual bool insertDTMF(const WebString& tones, long duration, long interToneGap) = 0;
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DRTCDTMFSender.idl37 [RaisesException] void insertDTMF(DOMString tones, optional long duration, optional long interToneGap);
H A DRTCDTMFSender.h59 void insertDTMF(const String& tones, ExceptionState&);
60 void insertDTMF(const String& tones, long duration, ExceptionState&);
61 void insertDTMF(const String& tones, long duration, long interToneGap, ExceptionState&);
H A DRTCDTMFSender.cpp91 void RTCDTMFSender::insertDTMF(const String& tones, ExceptionState& exceptionState) argument
93 insertDTMF(tones, defaultToneDurationMs, defaultInterToneGapMs, exceptionState);
96 void RTCDTMFSender::insertDTMF(const String& tones, long duration, ExceptionState& exceptionState) argument
98 insertDTMF(tones, duration, defaultInterToneGapMs, exceptionState);
101 void RTCDTMFSender::insertDTMF(const String& tones, long duration, long interToneGap, ExceptionState& exceptionState) argument
121 if (!m_handler->insertDTMF(tones, m_duration, m_interToneGap))
122 exceptionState.throwDOMException(SyntaxError, "Could not send provided tones, '" + tones + "'.");

Completed in 179 milliseconds