Home
last modified time | relevance | path

Searched refs:transport_ (Results 1 – 25 of 59) sorted by relevance

123

/external/chromium_org/jingle/glue/
Dproxy_resolving_client_socket.cc94 if (transport_.get() && transport_->socket()) in Read()
95 return transport_->socket()->Read(buf, buf_len, callback); in Read()
104 if (transport_.get() && transport_->socket()) in Write()
105 return transport_->socket()->Write(buf, buf_len, callback); in Write()
111 if (transport_.get() && transport_->socket()) in SetReceiveBufferSize()
112 return transport_->socket()->SetReceiveBufferSize(size); in SetReceiveBufferSize()
118 if (transport_.get() && transport_->socket()) in SetSendBufferSize()
119 return transport_->socket()->SetSendBufferSize(size); in SetSendBufferSize()
191 transport_.reset(new net::ClientSocketHandle); in ProcessProxyResolveDone()
195 ssl_config_, net::kPrivacyModeDisabled, bound_net_log_, transport_.get(), in ProcessProxyResolveDone()
[all …]
/external/chromium_org/net/socket/
Dsocks_client_socket.cc63 : transport_(transport_socket.Pass()), in SOCKSClientSocket()
71 net_log_(transport_->socket()->NetLog()) {} in SOCKSClientSocket()
78 DCHECK(transport_.get()); in Connect()
79 DCHECK(transport_->socket()); in Connect()
103 transport_->socket()->Disconnect(); in Disconnect()
112 return completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
116 return completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
124 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
125 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
132 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
Dsocks5_client_socket.cc35 transport_(transport_socket.Pass()), in SOCKS5ClientSocket()
42 net_log_(transport_->socket()->NetLog()) { in SOCKS5ClientSocket()
50 DCHECK(transport_.get()); in Connect()
51 DCHECK(transport_->socket()); in Connect()
75 transport_->socket()->Disconnect(); in Disconnect()
84 return completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
88 return completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
96 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
97 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
104 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
Dssl_client_socket_openssl.cc353 transport_(transport_socket.Pass()), in SSLClientSocketOpenSSL()
362 net_log_(transport_->socket()->NetLog()) { in SSLClientSocketOpenSSL()
453 transport_->socket()->Disconnect(); in Disconnect()
488 return transport_->socket()->IsConnected(); in IsConnected()
505 return transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
509 return transport_->socket()->GetPeerAddress(addressList); in GetPeerAddress()
513 return transport_->socket()->GetLocalAddress(addressList); in GetLocalAddress()
521 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
522 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
529 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
Dssl_client_socket_unittest.cc48 : transport_(transport.Pass()) {} in WrappedStreamSocket()
53 return transport_->Connect(callback); in Connect()
55 virtual void Disconnect() OVERRIDE { transport_->Disconnect(); } in Disconnect()
57 return transport_->IsConnected(); in IsConnected()
60 return transport_->IsConnectedAndIdle(); in IsConnectedAndIdle()
63 return transport_->GetPeerAddress(address); in GetPeerAddress()
66 return transport_->GetLocalAddress(address); in GetLocalAddress()
69 return transport_->NetLog(); in NetLog()
72 transport_->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
75 transport_->SetOmniboxSpeculation(); in SetOmniboxSpeculation()
[all …]
Dssl_client_socket_nss.cc840 ClientSocketHandle* transport_; member in net::SSLClientSocketNSS::Core
944 transport_(transport), in Core()
1154 transport_ = NULL; in Detach()
1167 DCHECK(transport_); in Read()
1221 DCHECK(transport_); in Write()
2634 int rv = transport_->socket()->Read( in DoBufferRecv()
2656 int rv = transport_->socket()->Write( in DoBufferSend()
2837 transport_(transport_socket.Pass()), in SSLClientSocketNSS()
2847 net_log_(transport_->socket()->NetLog()), in SSLClientSocketNSS()
2973 DCHECK(transport_.get()); in Connect()
[all …]
Dssl_client_socket_openssl_unittest.cc183 transport_.reset(new TCPClientSocket( in ConnectToTestServer()
186 transport_->Connect(callback_.callback())); in ConnectToTestServer()
215 sock_ = CreateSSLClientSocket(transport_.Pass(), in CreateAndConnectSSLClientSocket()
247 scoped_ptr<StreamSocket> transport_; member in net::__anonfe1437710111::SSLClientSocketOpenSSLClientAuthTest
/external/chromium_org/net/http/
Dhttp_proxy_client_socket.cc42 transport_(transport_socket), in HttpProxyClientSocket()
110 DCHECK(transport_.get()); in Connect()
111 DCHECK(transport_->socket()); in Connect()
134 if (transport_.get()) in Disconnect()
135 transport_->socket()->Disconnect(); in Disconnect()
144 return next_state_ == STATE_DONE && transport_->socket()->IsConnected(); in IsConnected()
149 transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
157 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
158 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
165 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
/external/chromium/net/socket/
Dsocks_client_socket.cc62 transport_(transport_socket), in SOCKSClientSocket()
78 transport_(new ClientSocketHandle()), in SOCKSClientSocket()
87 transport_->set_socket(transport_socket); in SOCKSClientSocket()
104 DCHECK(transport_.get()); in Connect()
105 DCHECK(transport_->socket()); in Connect()
129 transport_->socket()->Disconnect(); in Disconnect()
138 return completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
142 return completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
150 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
151 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
[all …]
Dsocks5_client_socket.cc35 transport_(transport_socket), in SOCKS5ClientSocket()
51 transport_(new ClientSocketHandle()), in SOCKS5ClientSocket()
60 transport_->set_socket(transport_socket); in SOCKS5ClientSocket()
77 DCHECK(transport_.get()); in Connect()
78 DCHECK(transport_->socket()); in Connect()
102 transport_->socket()->Disconnect(); in Disconnect()
111 return completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
115 return completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
123 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
124 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
[all …]
Dssl_client_socket_mac.cc530 transport_(transport_socket), in SSLClientSocketMac()
566 DCHECK(transport_.get()); in Connect()
600 transport_->socket()->Disconnect(); in Disconnect()
610 return completed_handshake() && transport_->socket()->IsConnected(); in IsConnected()
622 return completed_handshake() && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
626 return transport_->socket()->GetPeerAddress(address); in GetPeerAddress()
630 return transport_->socket()->GetLocalAddress(address); in GetLocalAddress()
638 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
639 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
646 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
Dssl_client_socket_win.cc395 transport_(transport_socket), in SSLClientSocketWin()
561 DCHECK(transport_.get()); in Connect()
661 transport_->socket()->Disconnect(); in Disconnect()
687 return completed_handshake() && transport_->socket()->IsConnected(); in IsConnected()
699 return completed_handshake() && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
703 return transport_->socket()->GetPeerAddress(address); in GetPeerAddress()
707 return transport_->socket()->GetLocalAddress(address); in GetLocalAddress()
711 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
712 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
719 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
Dssl_client_socket_openssl.cc406 transport_(transport_socket), in SSLClientSocketOpenSSL()
690 transport_->socket()->Disconnect(); in Disconnect()
934 rv = transport_->socket()->Write(send_buffer_, in BufferSend()
980 int rv = transport_->socket()->Read(recv_buffer_, max_write, in BufferRecv()
1074 bool ret = completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
1079 bool ret = completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
1084 return transport_->socket()->GetPeerAddress(addressList); in GetPeerAddress()
1088 return transport_->socket()->GetLocalAddress(addressList); in GetLocalAddress()
1096 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
1097 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
[all …]
Dssl_client_socket_nss.cc472 transport_(transport_socket), in SSLClientSocketNSS()
601 DCHECK(transport_.get()); in Connect()
656 transport_->socket()->Disconnect(); in Disconnect()
702 bool ret = completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
717 bool ret = completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
723 return transport_->socket()->GetPeerAddress(address); in GetPeerAddress()
727 return transport_->socket()->GetLocalAddress(address); in GetLocalAddress()
735 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
736 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
743 if (transport_.get() && transport_->socket()) { in SetOmniboxSpeculation()
[all …]
/external/chromium/net/http/
Dhttp_proxy_client_socket.cc41 transport_(transport_socket), in HttpProxyClientSocket()
84 return new HttpBasicStream(transport_.release(), in CreateConnectResponseStream()
99 DCHECK(transport_.get()); in Connect()
100 DCHECK(transport_->socket()); in Connect()
123 if (transport_.get()) in Disconnect()
124 transport_->socket()->Disconnect(); in Disconnect()
133 return next_state_ == STATE_DONE && transport_->socket()->IsConnected(); in IsConnected()
138 transport_->socket()->IsConnectedAndIdle(); in IsConnectedAndIdle()
146 if (transport_.get() && transport_->socket()) { in SetSubresourceSpeculation()
147 transport_->socket()->SetSubresourceSpeculation(); in SetSubresourceSpeculation()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dtransport_unittest.cc60 transport_(new FakeTransport( in TransportTest()
64 transport_->SignalConnecting.connect(this, &TransportTest::OnConnecting); in TransportTest()
67 transport_->DestroyAllChannels(); in ~TransportTest()
75 transport_->CreateChannel(component)); in CreateChannel()
78 transport_->DestroyChannel(1); in DestroyChannel()
88 talk_base::scoped_ptr<FakeTransport> transport_; member in TransportTest
124 transport_->ConnectChannels(); in TEST_F()
132 EXPECT_TRUE(transport_->CreateChannel(1) != NULL); in TEST_F()
134 transport_->ConnectChannels(); in TEST_F()
135 transport_->DestroyAllChannels(); in TEST_F()
[all …]
Ddtlstransportchannel_unittest.cc91 transport_.reset(new cricket::DtlsTransport<cricket::FakeTransport>( in SetupChannels()
94 transport_->SetAsync(true); in SetupChannels()
95 transport_->SetIceRole(role); in SetupChannels()
96 transport_->SetIceTiebreaker( in SetupChannels()
98 transport_->SignalWritableState.connect(this, in SetupChannels()
104 transport_->CreateChannel(i)); in SetupChannels()
118 cricket::Transport* transport() { return transport_.get(); } in transport()
121 cricket::TransportChannelImpl* ch = transport_->GetChannel(component); in GetFakeChannel()
187 ASSERT_TRUE(transport_->SetLocalTransportDescription( in Negotiate()
189 ASSERT_EQ(expect_success, transport_->SetRemoteTransportDescription( in Negotiate()
[all …]
Dsession.cc68 return transport_->get()->type(); in type()
80 ASSERT(!transport_->get()->HasChannel(component)); in CreateChannel()
98 return transport_->get()->HasChannel(component); in HasChannel()
133 transport_->get()->ConnectChannels(); in ConnectChannels()
208 TransportChannelImpl* impl = transport_->get()->GetChannel(component); in GetOrCreateChannelProxyImpl_w()
210 impl = transport_->get()->CreateChannel(component); in GetOrCreateChannelProxyImpl_w()
247 if (transport_ == target->transport_) { in SetupMux()
255 if (!target->transport_->get()->HasChannel(iter->first)) { in SetupMux()
262 iter->second, target->transport_->get()->CreateChannel(iter->first)); in SetupMux()
268 transport_ = target->transport_; in SetupMux()
[all …]
/external/chromium_org/media/cast/net/rtp_sender/rtp_packetizer/
Drtp_packetizer_unittest.cc107 transport_.reset(new TestRtpPacketTransport(config_)); in RtpPacketizerTest()
109 new RtpPacketizer(transport_.get(), &packet_storage_, config_)); in RtpPacketizerTest()
124 scoped_ptr<TestRtpPacketTransport> transport_; member in media::cast::RtpPacketizerTest
131 transport_->SetExpectedNumberOfPackets(expected_num_of_packets); in TEST_F()
143 transport_->SetExpectedNumberOfPackets(expected_num_of_packets); in TEST_F()
Drtp_packetizer.cc24 transport_(transport), in RtpPacketizer()
132 transport_->SendPackets(packets); in Cast()
/external/chromium_org/media/cast/net/pacing/
Dpaced_sender.cc23 transport_(transport), in PacedSender()
73 return transport_->SendPackets(packets_to_send); in SendPacketsToTransport()
79 return transport_->SendPacket(packet); in SendRtcpPacket()
134 transport_->SendPackets(packets_to_resend); in SendStoredPackets()
/external/chromium_org/content/common/gpu/
Dimage_transport_surface.cc222 transport_(transport), in PassThroughImageTransportSurface()
265 if (transport_) { in SwapBuffers()
289 if (transport_) { in PostSubBuffer()
322 DCHECK(transport_); in OnBufferPresented()
332 DCHECK(transport_); in OnResizeViewACK()
343 if (transport_) { in OnResize()
/external/chromium_org/media/cast/rtcp/
Drtcp_unittest.cc108 transport_(cast_environment_, &testing_clock_) { in RtcpTest()
122 LocalRtcpTransport transport_; member in media::cast::RtcpTest
131 &transport_, in TEST_F()
139 transport_.SetRtcpReceiver(&rtcp); in TEST_F()
152 &transport_, in TEST_F()
160 transport_.SetRtcpReceiver(&rtcp); in TEST_F()
167 &transport_, in TEST_F()
175 transport_.SetRtcpReceiver(&rtcp); in TEST_F()
185 &transport_, in TEST_F()
193 transport_.SetRtcpReceiver(&rtcp); in TEST_F()
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Dp2ptransportchannel.h77 virtual Transport* GetTransport() { return transport_; } in GetTransport()
141 P2PTransport* transport_; variable
/external/chromium_org/media/cast/net/rtp_sender/
Drtp_sender.cc23 transport_(transport) { in RtpSender()
108 transport_->ResendPackets(packets_to_resend); in ResendPackets()

123