/external/webrtc/talk/app/webrtc/test/ |
D | fakedatachannelprovider.h | 60 bool ConnectDataChannel(webrtc::DataChannel* data_channel) override { in ConnectDataChannel() argument 61 ASSERT(connected_channels_.find(data_channel) == connected_channels_.end()); in ConnectDataChannel() 65 LOG(LS_INFO) << "DataChannel connected " << data_channel; in ConnectDataChannel() 66 connected_channels_.insert(data_channel); in ConnectDataChannel() 70 void DisconnectDataChannel(webrtc::DataChannel* data_channel) override { in DisconnectDataChannel() argument 71 ASSERT(connected_channels_.find(data_channel) != connected_channels_.end()); in DisconnectDataChannel() 72 LOG(LS_INFO) << "DataChannel disconnected " << data_channel; in DisconnectDataChannel() 73 connected_channels_.erase(data_channel); in DisconnectDataChannel() 139 bool IsConnected(webrtc::DataChannel* data_channel) const { in IsConnected() argument 140 return connected_channels_.find(data_channel) != connected_channels_.end(); in IsConnected()
|
D | peerconnectiontestwrapper.cc | 132 webrtc::DataChannelInterface* data_channel) { in OnDataChannel() argument 133 SignalOnDataChannel(data_channel); in OnDataChannel()
|
D | peerconnectiontestwrapper.h | 61 virtual void OnDataChannel(webrtc::DataChannelInterface* data_channel);
|
/external/webrtc/talk/session/media/ |
D | channelmanager_unittest.cc | 128 cricket::DataChannel* data_channel = cm_->CreateDataChannel( in TEST_F() local 130 EXPECT_TRUE(data_channel != nullptr); in TEST_F() 133 cm_->DestroyDataChannel(data_channel); in TEST_F() 153 cricket::DataChannel* data_channel = cm_->CreateDataChannel( in TEST_F() local 155 EXPECT_TRUE(data_channel != nullptr); in TEST_F() 158 cm_->DestroyDataChannel(data_channel); in TEST_F() 180 cricket::DataChannel* data_channel = cm_->CreateDataChannel( in TEST_F() local 182 EXPECT_TRUE(data_channel == nullptr); in TEST_F()
|
D | channelmanager.cc | 392 DataChannel* data_channel = new DataChannel( in CreateDataChannel_w() local 394 if (!data_channel->Init()) { in CreateDataChannel_w() 396 delete data_channel; in CreateDataChannel_w() 399 data_channels_.push_back(data_channel); in CreateDataChannel_w() 400 return data_channel; in CreateDataChannel_w() 403 void ChannelManager::DestroyDataChannel(DataChannel* data_channel) { in DestroyDataChannel() argument 405 if (data_channel) { in DestroyDataChannel() 407 Bind(&ChannelManager::DestroyDataChannel_w, this, data_channel)); in DestroyDataChannel() 411 void ChannelManager::DestroyDataChannel_w(DataChannel* data_channel) { in DestroyDataChannel_w() argument 416 data_channels_.end(), data_channel); in DestroyDataChannel_w() [all …]
|
D | channelmanager.h | 123 void DestroyDataChannel(DataChannel* data_channel); 209 void DestroyDataChannel_w(DataChannel* data_channel);
|
/external/webrtc/talk/app/webrtc/ |
D | peerconnection_unittest.cc | 391 void OnDataChannel(DataChannelInterface* data_channel) override { in OnDataChannel() argument 393 data_channel_ = data_channel; in OnDataChannel() 394 data_observer_.reset(new MockDataChannelObserver(data_channel)); in OnDataChannel() 432 DataChannelInterface* data_channel() { return data_channel_; } in data_channel() function in PeerConnectionTestClient 1598 ASSERT_TRUE(initializing_client()->data_channel() != nullptr); in TEST_F() 1599 ASSERT_TRUE(receiving_client()->data_channel() != nullptr); in TEST_F() 1607 SendRtpData(initializing_client()->data_channel(), data); in TEST_F() 1611 SendRtpData(receiving_client()->data_channel(), data); in TEST_F() 1615 receiving_client()->data_channel()->Close(); in TEST_F() 1628 ASSERT_TRUE(initializing_client()->data_channel() != nullptr); in TEST_F() [all …]
|
D | datachannel.h | 54 virtual bool ConnectDataChannel(DataChannel* data_channel) = 0; 56 virtual void DisconnectDataChannel(DataChannel* data_channel) = 0;
|
D | webrtcsession.cc | 1039 set_content(data_channel())); in PushdownMediaDescription() 1115 GetChannelTransportStats(data_channel(), stats)); in GetTransportStats() 1166 if (data_channel() && data_channel()->content_name() == content_name) { in GetChannel() 1167 return data_channel(); in GetChannel() 1204 !maybe_set_transport(data_channel())) { in EnableBundle() 1814 if (data_channel()) { in CreateChannels() 1815 data_channel()->ActivateRtcpMux(); in CreateChannels() 2104 if (data_channel()) { in ReportTransportStats() 2105 transport_names.insert(data_channel()->transport_name()); in ReportTransportStats()
|
D | peerconnection.cc | 973 session_->GetSslRole(session_->data_channel(), &role)) { in SetLocalDescription() 1051 session_->GetSslRole(session_->data_channel(), &role)) { in SetRemoteDescription() 1792 DataChannel* data_channel = it->second; in UpdateClosingRtpDataChannels() local 1794 data_channel->label()) != active_channels.end()) { in UpdateClosingRtpDataChannels() 1800 data_channel->SetSendSsrc(0); in UpdateClosingRtpDataChannels() 1802 data_channel->RemotePeerRequestClose(); in UpdateClosingRtpDataChannels() 1805 if (data_channel->state() == DataChannel::kClosed) { in UpdateClosingRtpDataChannels() 1844 if ((session_->GetSslRole(session_->data_channel(), &role)) && in InternalCreateDataChannel()
|
D | peerconnectioninterface.h | 464 virtual void OnDataChannel(DataChannelInterface* data_channel) = 0;
|
D | webrtcsession.h | 199 virtual cricket::DataChannel* data_channel() { in data_channel() function
|
D | peerconnectionfactory_unittest.cc | 91 virtual void OnDataChannel(DataChannelInterface* data_channel) {} in OnDataChannel() argument
|
D | webrtcsessiondescriptionfactory.cc | 427 if (session_->GetSslRole(session_->data_channel(), &ssl_role)) { in InternalCreateAnswer()
|
D | webrtcsession_unittest.cc | 271 return rtp_transport_channel(data_channel()); in data_rtp_transport_channel() 275 return rtcp_transport_channel(data_channel()); in data_rtcp_transport_channel() 3945 cricket::DataChannel* data_channel = session_->data_channel(); in TEST_P() local 3946 data_channel->SignalDataReceived(data_channel, params, payload); in TEST_P()
|
D | peerconnectioninterface_unittest.cc | 457 virtual void OnDataChannel(DataChannelInterface* data_channel) { in OnDataChannel() argument 458 last_datachannel_ = data_channel; in OnDataChannel()
|
/external/webrtc/talk/app/webrtc/objc/ |
D | RTCPeerConnectionObserver.h | 55 void OnDataChannel(DataChannelInterface* data_channel) override;
|
D | RTCPeerConnectionObserver.mm | 72 DataChannelInterface* data_channel) { 74 [[RTCDataChannel alloc] initWithDataChannel:data_channel];
|