Home
last modified time | relevance | path

Searched refs:GetSocket (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/socket/
Dsocket_api.cc75 Socket* SocketAsyncApiFunction::GetSocket(int api_resource_id) { in GetSocket() function in extensions::SocketAsyncApiFunction
198 socket_ = GetSocket(socket_id_); in AsyncWorkStart()
257 Socket* socket = GetSocket(socket_id_); in Work()
274 Socket* socket = GetSocket(socket_id_); in Work()
316 Socket* socket = GetSocket(params_->socket_id); in Work()
352 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart()
385 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart()
431 Socket* socket = GetSocket(socket_id_); in AsyncWorkStart()
462 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart()
516 socket_ = GetSocket(socket_id_); in AsyncWorkStart()
[all …]
Dsocket_api.h105 Socket* GetSocket(int api_resource_id);
/external/chromium_org/chrome/browser/extensions/api/cast_channel/
Dcast_channel_api.cc124 CastSocket* socket = GetSocket(channel_id); in GetSocketOrCompleteWithError()
148 CastSocket* socket = GetSocket(channel_id); in SetResultFromSocket()
166 CastSocket* CastChannelAsyncApiFunction::GetSocket(int channel_id) { in GetSocket() function in extensions::CastChannelAsyncApiFunction
199 GetSocket(new_channel_id_)->Connect( in AsyncWorkStart()
Dcast_channel_api.h102 cast_channel::CastSocket* GetSocket(int channel_id);
/external/chromium/third_party/libjingle/source/talk/base/
Dsocketpool.cc194 if ((stream_->GetSocket()->Connect(remote_) != 0) in RequestConnectedStream()
195 && !stream_->GetSocket()->IsBlocking()) { in RequestConnectedStream()
197 *err = stream_->GetSocket()->GetError(); in RequestConnectedStream()
Dsocketstream.h47 AsyncSocket* GetSocket() { return socket_; } in GetSocket() function
Dphysicalsocketserver.h66 virtual SOCKET GetSocket() = 0;
Dphysicalsocketserver.cc998 virtual SOCKET GetSocket() { in GetSocket() function in talk_base::EventDispatcher
1107 virtual SOCKET GetSocket() { in GetSocket() function in talk_base::SocketDispatcher
1461 SOCKET s = disp->GetSocket(); in Wait()
1533 SOCKET s = disp->GetSocket(); in Wait()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dsocketpool.cc199 if ((stream_->GetSocket()->Connect(remote_) != 0) in RequestConnectedStream()
200 && !stream_->GetSocket()->IsBlocking()) { in RequestConnectedStream()
202 *err = stream_->GetSocket()->GetError(); in RequestConnectedStream()
Dsocketstream.h47 AsyncSocket* GetSocket() { return socket_; } in GetSocket() function
Dphysicalsocketserver.h66 virtual SOCKET GetSocket() = 0;
Dphysicalsocketserver.cc1046 virtual SOCKET GetSocket() { in GetSocket() function in talk_base::EventDispatcher
1161 virtual SOCKET GetSocket() { in GetSocket() function in talk_base::SocketDispatcher
1533 SOCKET s = disp->GetSocket(); in Wait()
1605 SOCKET s = disp->GetSocket(); in Wait()
/external/chromium_org/net/quic/
Dquic_client_session_test.cc69 session_(connection_, GetSocket().Pass(), writer_.Pass(), NULL, NULL, in QuicClientSessionTest()
80 scoped_ptr<DatagramClientSocket> GetSocket() { in GetSocket() function in net::test::__anonebb9bd320111::QuicClientSessionTest
/external/chromium/net/websockets/
Dwebsocket_job_unittest.cc220 SocketStream* GetSocket(SocketStreamJob* job) { in GetSocket() function in net::WebSocketJobTest
513 EXPECT_TRUE(GetSocket(job.get())->is_secure()); in TEST_F()
519 EXPECT_FALSE(GetSocket(job.get())->is_secure()); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/bluetooth/
Dbluetooth_event_router.h76 scoped_refptr<device::BluetoothSocket> GetSocket(int id);
Dbluetooth_event_router_unittest.cc180 EXPECT_EQ(mock_socket.get(), router_.GetSocket(socket_id).get()); in TEST_F()
Dbluetooth_event_router.cc135 ExtensionBluetoothEventRouter::GetSocket(int id) { in GetSocket() function in extensions::ExtensionBluetoothEventRouter
Dbluetooth_api.cc432 socket_ = GetEventRouter(GetProfile())->GetSocket(options.socket.id); in Prepare()
480 socket_ = GetEventRouter(GetProfile())->GetSocket(socket_id); in Prepare()
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/
Dsockets_tcp_api.cc91 return static_cast<ResumableTCPSocket*>(GetSocket(socket_id)); in GetTcpSocket()
105 return static_cast<ResumableTCPSocket*>(GetSocket(socket_id)); in GetTcpSocket()
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/
Dsockets_udp_api.cc32 return static_cast<ResumableUDPSocket*>(GetSocket(socket_id)); in GetUdpSocket()
46 return static_cast<ResumableUDPSocket*>(GetSocket(socket_id)); in GetUdpSocket()
/external/chromium_org/net/websockets/
Dwebsocket_job_test.cc409 SocketStream* GetSocket(SocketStreamJob* job) { in GetSocket() function in net::WebSocketJobTest
735 EXPECT_TRUE(GetSocket(job.get())->is_secure()); in TestHSTSUpgrade()
742 EXPECT_FALSE(GetSocket(job.get())->is_secure()); in TestHSTSUpgrade()
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp_server/
Dsockets_tcp_server_api.cc74 return static_cast<ResumableTCPServerSocket*>(GetSocket(socket_id)); in GetTcpSocket()