/external/webrtc/p2p/base/ |
D | p2p_transport_channel.cc | 221 IsRemoteCandidatePruned(connection->remote_candidate()); in P2PTransportChannel() 434 SanitizeRemoteCandidate(selected_connection_->remote_candidate()); in GetSelectedCandidatePair() 1094 Candidate remote_candidate; in OnUnknownAddress() local 1097 remote_candidate = *candidate; in OnUnknownAddress() 1128 remote_candidate = Candidate( in OnUnknownAddress() 1133 remote_candidate.set_tcptype(TCPTYPE_ACTIVE_STR); in OnUnknownAddress() 1139 remote_candidate.set_foundation( in OnUnknownAddress() 1140 rtc::ToString(rtc::ComputeCrc32(remote_candidate.id()))); in OnUnknownAddress() 1152 if (port->GetConnection(remote_candidate.address())) { in OnUnknownAddress() 1156 << remote_candidate.ToSensitiveString(); in OnUnknownAddress() [all …]
|
D | p2p_transport_channel_unittest.cc | 251 return pair->remote_candidate().address().EqualIPs(address); in HasRemoteAddress() 664 auto remote_candidate = RemoteCandidate(channel); in CheckCandidate() local 667 remote_candidate != nullptr && in CheckCandidate() 668 remote_candidate->address().EqualIPs(to); in CheckCandidate() 962 ? &ch->selected_connection()->remote_candidate() in RemoteCandidate() 1679 EXPECT_EQ(PRFLX_PORT_TYPE, selected_connection->remote_candidate().type()); in TEST_P() 1680 EXPECT_EQ(kIceUfrag[1], selected_connection->remote_candidate().username()); in TEST_P() 1681 EXPECT_EQ(kIcePwd[1], selected_connection->remote_candidate().password()); in TEST_P() 1682 EXPECT_EQ(1u, selected_connection->remote_candidate().generation()); in TEST_P() 1687 ep1_ch1()->selected_connection()->remote_candidate().type(), in TEST_P() [all …]
|
D | connection.cc | 214 const Candidate& remote_candidate) in Connection() argument 219 remote_candidate_(remote_candidate), in Connection() 260 const Candidate& Connection::remote_candidate() const { in remote_candidate() function in cricket::Connection 481 msg->ValidateMessageIntegrity(remote_candidate().password()); in OnReadPacket() 484 if (remote_candidate().password() != msg->password()) { in OnReadPacket() 488 << absl::CHexEscape(remote_candidate().password()); in OnReadPacket() 557 remote_candidate().type() == RELAY_PORT_TYPE || in HandleStunBindingOrGoogPingRequest() 558 remote_candidate().type() == PRFLX_PORT_TYPE) { in HandleStunBindingOrGoogPingRequest() 1254 const Candidate& remote = remote_candidate(); in ToString() 1289 const Candidate& remote = remote_candidate(); in ToLogDescription() [all …]
|
D | basic_ice_controller.cc | 20 conn->remote_candidate().type() == cricket::RELAY_PORT_TYPE; in IsRelayRelay() 267 const Candidate& remote = conn->remote_candidate(); in IsPingable() 568 (conn->remote_candidate().type() == RELAY_PORT_TYPE || in PresumedWritable() 569 conn->remote_candidate().type() == PRFLX_PORT_TYPE)); in PresumedWritable() 668 int cmp = (a->remote_candidate().generation() + a->generation()) - in CompareConnectionCandidates() 669 (b->remote_candidate().generation() + b->generation()); in CompareConnectionCandidates()
|
D | tcp_port.cc | 572 int opts = (remote_candidate().protocol() == SSLTCP_PROTOCOL_NAME) in CreateOutgoingTcpSocket() 584 remote_candidate().address(), port()->proxy(), port()->user_agent(), in CreateOutgoingTcpSocket() 590 << remote_candidate().address().ToSensitiveString(); in CreateOutgoingTcpSocket() 596 << remote_candidate().address().ToSensitiveString(); in CreateOutgoingTcpSocket()
|
D | candidate_pair_interface.h | 23 virtual const Candidate& remote_candidate() const = 0;
|
D | turn_port.cc | 577 Connection* TurnPort::CreateConnection(const Candidate& remote_candidate, in CreateConnection() argument 580 if (!SupportsProtocol(remote_candidate.protocol())) { in CreateConnection() 591 if (absl::EndsWith(remote_candidate.address().hostname(), LOCAL_TLD)) { in CreateConnection() 602 remote_candidate.address().family()) { in CreateConnection() 604 new ProxyConnection(NewWeakPtr(), index, remote_candidate); in CreateConnection() 1215 const Candidate& remote_candidate = conn->remote_candidate(); in CreateOrRefreshEntry() local 1216 TurnEntry* entry = FindEntry(remote_candidate.address()); in CreateOrRefreshEntry() 1232 const rtc::SocketAddress& remote_address = conn->remote_candidate().address(); in HandleConnectionDestroyed() 1750 ext_addr_(conn->remote_candidate().address()), in TurnEntry()
|
D | connection.h | 51 const Candidate& remote_candidate() const override { return remote; } in remote_candidate() function 81 const Candidate& remote_candidate() const override; 472 const Candidate& remote_candidate);
|
D | connection_info.h | 64 Candidate remote_candidate; // The remote candidate for this connection. member
|
D | p2p_transport_channel.h | 306 bool CreateConnections(const Candidate& remote_candidate, 309 const Candidate& remote_candidate, 315 void RememberRemoteCandidate(const Candidate& remote_candidate,
|
D | port_interface.h | 78 virtual Connection* CreateConnection(const Candidate& remote_candidate,
|
D | port.cc | 343 std::make_pair(conn->remote_candidate().address(), conn)); in AddOrReplaceConnection() 351 << conn->remote_candidate().ToSensitiveString(); in AddOrReplaceConnection() 911 if (connections_.erase(conn->remote_candidate().address()) == 0) { in OnConnectionDestroyed()
|
D | turn_port_unittest.cc | 1553 Candidate remote_candidate(ICE_CANDIDATE_COMPONENT_RTP, "udp", kLocalAddr2, 0, in TEST_F() local 1555 remote_candidate.set_address(kLocalAddr2); in TEST_F() 1557 turn_port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in TEST_F() 1562 remote_candidate.set_address(kLocalIPv6Addr2); in TEST_F() 1563 conn = turn_port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in TEST_F()
|
D | port_unittest.cc | 204 virtual Connection* CreateConnection(const Candidate& remote_candidate, in CreateConnection() argument 206 Connection* conn = new ProxyConnection(NewWeakPtr(), 0, remote_candidate); in CreateConnection() 288 void CreateConnection(const Candidate& remote_candidate) { in CreateConnection() argument 290 conn_ = port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in CreateConnection() 308 void AcceptConnection(const Candidate& remote_candidate) { in AcceptConnection() argument 314 Candidate c = remote_candidate; in AcceptConnection() 2165 EXPECT_EQ(rtc::kNetworkCostLow, rconn->remote_candidate().network_cost()); in TEST_F() 2174 EXPECT_EQ(rtc::kNetworkCostHigh, rconn->remote_candidate().network_cost()); in TEST_F() 3673 EXPECT_EQ(0u, conn_in_use->remote_candidate().generation()); in TEST_F() 3683 EXPECT_EQ(2u, conn_in_use->remote_candidate().generation()); in TEST_F()
|
/external/webrtc/pc/ |
D | rtc_stats_collector_unittest.cc | 1832 .remote_candidate = *a_remote_srflx.get(); in TEST_F() 1838 .remote_candidate = *a_remote_relay.get(); in TEST_F() 1844 .remote_candidate = *a_remote_relay.get(); in TEST_F() 1850 .remote_candidate = *a_remote_relay.get(); in TEST_F() 1863 .remote_candidate = *b_remote.get(); in TEST_F() 1916 std::unique_ptr<cricket::Candidate> remote_candidate = CreateFakeCandidate( in TEST_F() local 1919 remote_candidate->set_related_address(rtc::SocketAddress("192.168.2.1", 43)); in TEST_F() 1920 remote_candidate->set_username("remote_iceusernamefragment"); in TEST_F() 1925 connection_info.remote_candidate = *remote_candidate.get(); in TEST_F() 1957 "CP" + local_candidate->id() + "_" + remote_candidate->id(), in TEST_F() [all …]
|
D | legacy_stats_collector.cc | 776 cricket::CandidateStats remote_candidate_stats(info.remote_candidate); in AddConnectionInfoReport() 805 info.remote_candidate.address().ToString()); in AddConnectionInfoReport() 807 info.remote_candidate.type()); in AddConnectionInfoReport()
|
D | rtc_stats_integrationtest.cc | 561 const RTCRemoteIceCandidateStats& remote_candidate) { in VerifyRTCRemoteIceCandidateStats() argument 562 return VerifyRTCIceCandidateStats(remote_candidate); in VerifyRTCRemoteIceCandidateStats()
|
D | peer_connection.cc | 2072 event.selected_candidate_pair.remote_candidate().type() == in OnSelectedCandidatePairChanged() 2783 const cricket::Candidate& remote = connection_info.remote_candidate; in ReportBestConnectionState()
|
D | rtc_stats_collector.cc | 97 sb << "CP" << info.local_candidate.id() << "_" << info.remote_candidate.id(); in RTCIceCandidatePairStatsIDFromConnectionInfo() 1681 timestamp_us, info.remote_candidate, false, transport_id, report); in ProduceIceCandidateAndPairStats_n()
|
D | legacy_stats_collector_unittest.cc | 1307 connection_info.remote_candidate = remote; in TEST_F()
|
/external/webrtc/sdk/objc/api/peerconnection/ |
D | RTCPeerConnection.mm | 273 selected_pair.remote_candidate().transport_name(), -1, selected_pair.remote_candidate()); 274 RTC_OBJC_TYPE(RTCIceCandidate) *remote_candidate = [[RTC_OBJC_TYPE(RTCIceCandidate) alloc] 283 remoteCandidate:remote_candidate
|
/external/webrtc/sdk/android/src/jni/pc/ |
D | peer_connection.cc | 131 NativeToJavaCandidate(env, selected_pair.remote_candidate()), in NativeToJavaCandidatePairChange()
|