Home
last modified time | relevance | path

Searched refs:DataChannel (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Ddatachannel.cc45 DataChannel::PacketQueue::PacketQueue() : byte_count_(0) {} in PacketQueue()
47 DataChannel::PacketQueue::~PacketQueue() { in ~PacketQueue()
51 bool DataChannel::PacketQueue::Empty() const { in Empty()
55 DataBuffer* DataChannel::PacketQueue::Front() { in Front()
59 void DataChannel::PacketQueue::Pop() { in Pop()
68 void DataChannel::PacketQueue::Push(DataBuffer* packet) { in Push()
73 void DataChannel::PacketQueue::Clear() { in Clear()
81 void DataChannel::PacketQueue::Swap(PacketQueue* other) { in Swap()
89 rtc::scoped_refptr<DataChannel> DataChannel::Create( in Create()
94 rtc::scoped_refptr<DataChannel> channel( in Create()
[all …]
Ddatachannel.h44 class DataChannel; variable
53 virtual bool ConnectDataChannel(DataChannel* data_channel) = 0;
55 virtual void DisconnectDataChannel(DataChannel* data_channel) = 0;
101 class DataChannel : public DataChannelInterface,
105 static rtc::scoped_refptr<DataChannel> Create(
143 void OnDataReceived(cricket::DataChannel* channel,
173 DataChannel(DataChannelProviderInterface* client,
176 virtual ~DataChannel();
245 virtual rtc::scoped_refptr<DataChannel> CreateDataChannel(
254 BEGIN_PROXY_MAP(DataChannel)
Ddatachannel_unittest.cc33 using webrtc::DataChannel;
69 DataChannel::Create( in SctpDataChannelTest()
90 rtc::scoped_refptr<DataChannel> webrtc_data_channel_;
96 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
193 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
207 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
237 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
302 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
318 rtc::scoped_refptr<DataChannel> dc = DataChannel::Create( in TEST_F()
Dwebrtcsession.h48 class DataChannel; variable
136 virtual cricket::DataChannel* data_channel() { in data_channel()
204 virtual bool ConnectDataChannel(DataChannel* webrtc_data_channel) OVERRIDE;
205 virtual void DisconnectDataChannel(DataChannel* webrtc_data_channel) OVERRIDE;
211 rtc::scoped_refptr<DataChannel> CreateDataChannel(
294 void OnDataChannelMessageReceived(cricket::DataChannel* channel,
328 rtc::scoped_ptr<cricket::DataChannel> data_channel_;
Dmediastreamsignaling.h163 typedef std::map<std::string, rtc::scoped_refptr<DataChannel> >
200 bool AddDataChannel(DataChannel* data_channel);
395 typedef std::vector<rtc::scoped_refptr<DataChannel> > SctpDataChannels;
Dmediastreamsignaling.cc170 const DataChannel* channel = data_channel_it->second; in SetStreams()
171 if (channel->state() == DataChannel::kConnecting || in SetStreams()
172 channel->state() == DataChannel::kOpen) { in SetStreams()
287 bool MediaStreamSignaling::AddDataChannel(DataChannel* data_channel) { in AddDataChannel()
323 scoped_refptr<DataChannel> channel( in AddDataChannelFromOpenMessage()
942 DataChannel* data_channel = it->second; in UpdateClosingDataChannels()
954 if (data_channel->state() == DataChannel::kClosed) { in UpdateClosingDataChannels()
970 scoped_refptr<DataChannel> channel( in CreateRemoteDataChannel()
Dmediastreamsignaling_unittest.cc270 virtual rtc::scoped_refptr<webrtc::DataChannel> CreateDataChannel( in CreateDataChannel()
274 rtc::scoped_refptr<webrtc::DataChannel> data_channel = in CreateDataChannel()
275 webrtc::DataChannel::Create(provider_, type_, label, *config); in CreateDataChannel()
580 rtc::scoped_refptr<webrtc::DataChannel> AddDataChannel( in AddDataChannel()
584 rtc::scoped_refptr<webrtc::DataChannel> data_channel( in AddDataChannel()
585 webrtc::DataChannel::Create( in AddDataChannel()
1258 rtc::scoped_refptr<webrtc::DataChannel> data_channel = in TEST_F()
1259 webrtc::DataChannel::Create( in TEST_F()
1314 rtc::scoped_refptr<webrtc::DataChannel> data_channel = in TEST_F()
1315 webrtc::DataChannel::Create( in TEST_F()
Dwebrtcsession.cc1116 bool WebRtcSession::ConnectDataChannel(DataChannel* webrtc_data_channel) { in ConnectDataChannel()
1122 &DataChannel::OnChannelReady); in ConnectDataChannel()
1124 &DataChannel::OnDataReceived); in ConnectDataChannel()
1128 void WebRtcSession::DisconnectDataChannel(DataChannel* webrtc_data_channel) { in DisconnectDataChannel()
1162 rtc::scoped_refptr<DataChannel> WebRtcSession::CreateDataChannel( in CreateDataChannel()
1189 rtc::scoped_refptr<DataChannel> channel(DataChannel::Create( in CreateDataChannel()
1576 cricket::DataChannel* channel, in OnDataChannelMessageReceived()
Dwebrtcsession_unittest.cc3183 rtc::scoped_refptr<webrtc::DataChannel> dc = in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/javatests/src/org/webrtc/
DPeerConnectionTest.java57 DataChannel.Observer,
81 private DataChannel dataChannel;
82 private LinkedList<DataChannel.Buffer> expectedBuffers =
83 new LinkedList<DataChannel.Buffer>();
84 private LinkedList<DataChannel.State> expectedStateChanges =
85 new LinkedList<DataChannel.State>();
96 public synchronized void setDataChannel(DataChannel dataChannel) { in setDataChannel()
241 public synchronized void onDataChannel(DataChannel remoteDataChannel) { in onDataChannel()
245 assertEquals(DataChannel.State.CONNECTING, dataChannel.state()); in onDataChannel()
260 new DataChannel.Buffer(expectedBuffer, expectedBinary)); in expectMessage()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dfakedatachannelprovider.h57 virtual bool ConnectDataChannel(webrtc::DataChannel* data_channel) OVERRIDE { in ConnectDataChannel()
68 webrtc::DataChannel* data_channel) OVERRIDE { in DisconnectDataChannel()
95 std::set<webrtc::DataChannel*>::iterator it; in set_send_blocked()
116 std::set<webrtc::DataChannel*>::iterator it; in set_ready_to_send()
133 bool IsConnected(webrtc::DataChannel* data_channel) const { in IsConnected()
151 std::set<webrtc::DataChannel*> connected_channels_;
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannel.cc2100 DataChannel::DataChannel(rtc::Thread* thread, in DataChannel() function in cricket::DataChannel
2111 DataChannel::~DataChannel() { in ~DataChannel()
2119 bool DataChannel::Init() { in Init()
2128 this, &DataChannel::OnDataReceived); in Init()
2130 this, &DataChannel::OnDataChannelError); in Init()
2132 this, &DataChannel::OnDataChannelReadyToSend); in Init()
2134 this, &DataChannel::OnStreamClosedRemotely); in Init()
2136 this, &DataChannel::OnSrtpError); in Init()
2140 bool DataChannel::SendData(const SendDataParams& params, in SendData()
2147 const ContentInfo* DataChannel::GetFirstContent( in GetFirstContent()
[all …]
Dchannelmanager.h123 DataChannel* CreateDataChannel(
127 void DestroyDataChannel(DataChannel* data_channel);
252 typedef std::vector<DataChannel*> DataChannels;
268 DataChannel* CreateDataChannel_w(
271 void DestroyDataChannel_w(DataChannel* data_channel);
Dcall.h57 class DataChannel; variable
143 DataChannel* GetDataChannel(Session* session) const;
219 void OnDataReceived(DataChannel* channel,
276 DataChannel* data_channel;
Dchannel.h601 class DataChannel : public BaseChannel {
603 DataChannel(rtc::Thread* thread,
608 ~DataChannel();
623 sigslot::signal2<DataChannel*, const DataMediaInfo&> SignalMediaMonitor;
624 sigslot::signal2<DataChannel*, const std::vector<ConnectionInfo>&>
626 sigslot::signal3<DataChannel*, uint32, DataMediaChannel::Error>
628 sigslot::signal3<DataChannel*,
Dchannelmanager.cc415 DataChannel* ChannelManager::CreateDataChannel( in CreateDataChannel()
418 return worker_thread_->Invoke<DataChannel*>( in CreateDataChannel()
423 DataChannel* ChannelManager::CreateDataChannel_w( in CreateDataChannel_w()
436 DataChannel* data_channel = new DataChannel( in CreateDataChannel_w()
448 void ChannelManager::DestroyDataChannel(DataChannel* data_channel) { in DestroyDataChannel()
455 void ChannelManager::DestroyDataChannel_w(DataChannel* data_channel) { in DestroyDataChannel_w()
Dcall.cc371 DataChannel* data_channel = it->second.data_channel; in RemoveSession()
398 DataChannel* Call::GetDataChannel(Session* session) const { in GetDataChannel()
422 DataChannel* data_channel = it->second.data_channel; in EnableSessionChannels()
453 DataChannel* data_channel = GetDataChannel(session); in SendData()
792 void Call::OnDataReceived(DataChannel* channel, in OnDataReceived()
914 DataChannel* data_channel = GetDataChannel(session); in UpdateDataChannelRemoteContent()
Dchannelmanager_unittest.cc134 cricket::DataChannel* data_channel = in TEST_F()
158 cricket::DataChannel* data_channel = in TEST_F()
185 cricket::DataChannel* data_channel = in TEST_F()
Dchannel_unittest.cc110 class DataTraits : public Traits<cricket::DataChannel,
2711 cricket::DataChannel* ChannelTest<DataTraits>::CreateChannel( in CreateChannel()
2715 cricket::DataChannel* channel = new cricket::DataChannel( in CreateChannel()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/src/org/webrtc/
DPeerConnection.java84 public void onDataChannel(DataChannel dataChannel); in onDataChannel()
127 public native DataChannel createDataChannel( in createDataChannel()
128 String label, DataChannel.Init init); in createDataChannel()
DDataChannel.java33 public class DataChannel { class
96 public DataChannel(long nativeDataChannel) { in DataChannel() method in DataChannel
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
DAppRTCDemoActivity.java51 import org.webrtc.DataChannel;
269 DataChannel dc = pc.createDataChannel("dcLabel", new DataChannel.Init()); in createDataChannelToRegressionTestBug2302()
518 @Override public void onDataChannel(final DataChannel dc) { in onDataChannel()
/external/chromium_org/third_party/libjingle/source/talk/
Dlibjingle.gyp89 'app/webrtc/java/src/org/webrtc/DataChannel.java',