Home
last modified time | relevance | path

Searched refs:IsConnected (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/net/socket/
Dsocks_client_socket_unittest.cc74 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()
138 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
139 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
148 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
152 EXPECT_TRUE(user_sock_->IsConnected()); in TEST_F()
172 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()
173 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
220 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
221 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
256 EXPECT_TRUE(user_sock_->IsConnected()); in TEST_F()
[all …]
Dsocks5_client_socket_unittest.cc92 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()
128 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
129 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
133 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
143 EXPECT_TRUE(user_sock_->IsConnected()); in TEST_F()
164 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()
165 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
199 EXPECT_TRUE(user_sock_->IsConnected()); in TEST_F()
202 EXPECT_FALSE(user_sock_->IsConnected()); in TEST_F()
264 EXPECT_TRUE(user_sock_->IsConnected()); in TEST_F()
[all …]
Dtransport_client_socket_unittest.cc176 EXPECT_FALSE(sock_->IsConnected()); in TEST_P()
192 EXPECT_TRUE(sock_->IsConnected()); in TEST_P()
198 EXPECT_FALSE(sock_->IsConnected()); in TEST_P()
201 TEST_P(TransportClientSocketTest, IsConnected) { in TEST_P() argument
206 EXPECT_FALSE(sock_->IsConnected()); in TEST_P()
214 EXPECT_TRUE(sock_->IsConnected()); in TEST_P()
226 EXPECT_TRUE(sock_->IsConnected()); in TEST_P()
235 EXPECT_TRUE(sock_->IsConnected()); in TEST_P()
246 EXPECT_TRUE(sock_->IsConnected()); in TEST_P()
255 EXPECT_FALSE(sock_->IsConnected()); in TEST_P()
Dssl_client_socket_unittest.cc87 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
98 EXPECT_TRUE(sock->IsConnected()); in TEST_F()
103 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
128 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
171 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
216 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
247 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
280 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
294 EXPECT_TRUE(sock->IsConnected()); in TEST_F()
299 EXPECT_FALSE(sock->IsConnected()); in TEST_F()
[all …]
Dsocket_test_util.cc638 bool MockClientSocket::IsConnected() const { in IsConnected() function in net::MockClientSocket
781 bool MockTCPClientSocket::IsConnected() const { in IsConnected() function in net::MockTCPClientSocket
786 return IsConnected(); in IsConnectedAndIdle()
790 if (!IsConnected()) in GetPeerAddress()
977 bool DeterministicMockTCPClientSocket::IsConnected() const { in IsConnected() function in net::DeterministicMockTCPClientSocket
982 return IsConnected(); in IsConnectedAndIdle()
1074 bool MockSSLClientSocket::IsConnected() const { in IsConnected() function in net::MockSSLClientSocket
1075 return transport_->socket()->IsConnected(); in IsConnected()
Dclient_socket.h54 virtual bool IsConnected() const = 0;
Dtcp_client_socket_win.h46 virtual bool IsConnected() const;
Dsocks_client_socket.h59 virtual bool IsConnected() const;
Dsocks5_client_socket.h62 virtual bool IsConnected() const;
Dsocks_client_socket.cc137 bool SOCKSClientSocket::IsConnected() const { in IsConnected() function in net::SOCKSClientSocket
138 return completed_handshake_ && transport_->socket()->IsConnected(); in IsConnected()
Dtcp_client_socket_libevent.cc345 bool TCPClientSocketLibevent::IsConnected() const { in IsConnected() function in net::TCPClientSocketLibevent
675 if (!IsConnected()) in GetPeerAddress()
684 if (!IsConnected()) in GetLocalAddress()
Dsocket_test_util.h580 virtual bool IsConnected() const;
623 virtual bool IsConnected() const;
676 virtual bool IsConnected() const;
718 virtual bool IsConnected() const;
Dssl_client_socket_mac.h55 virtual bool IsConnected() const;
Dtcp_client_socket_libevent.h52 virtual bool IsConnected() const;
Dtcp_client_socket_win.cc439 bool TCPClientSocketWin::IsConnected() const { in IsConnected() function in net::TCPClientSocketWin
477 if (!IsConnected()) in GetPeerAddress()
486 if (!IsConnected()) in GetLocalAddress()
Dssl_client_socket_win.h60 virtual bool IsConnected() const;
Dssl_client_socket_openssl.h69 virtual bool IsConnected() const;
/external/chromium/net/spdy/
Dspdy_proxy_client_socket_unittest.cc238 ASSERT_TRUE(sock_->IsConnected()); in AssertSyncReadEquals()
247 EXPECT_TRUE(sock_->IsConnected()); in AssertAsyncReadEquals()
250 EXPECT_TRUE(sock_->IsConnected()); in AssertAsyncReadEquals()
262 EXPECT_TRUE(sock_->IsConnected()); in AssertReadStarts()
266 EXPECT_TRUE(sock_->IsConnected()); in AssertReadReturns()
431 ASSERT_FALSE(sock_->IsConnected()); in TEST_F()
494 ASSERT_FALSE(sock_->IsConnected()); in TEST_F()
498 ASSERT_FALSE(sock_->IsConnected()); in TEST_F()
544 EXPECT_TRUE(sock_->IsConnected()); in TEST_F()
805 ASSERT_TRUE(sock_->IsConnected()); in TEST_F()
[all …]
Dspdy_proxy_client_socket.cc122 bool SpdyProxyClientSocket::IsConnected() const { in IsConnected() function in net::SpdyProxyClientSocket
127 return IsConnected() && !spdy_stream_->is_idle(); in IsConnectedAndIdle()
253 if (!IsConnected()) in GetPeerAddress()
259 if (!IsConnected()) in GetLocalAddress()
Dspdy_proxy_client_socket.h78 virtual bool IsConnected() const;
/external/chromium/net/http/
Dhttp_proxy_client_socket_pool_unittest.cc234 EXPECT_TRUE(tunnel_socket->IsConnected()); in TEST_P()
283 EXPECT_FALSE(tunnel_socket->IsConnected()); in TEST_P()
320 EXPECT_TRUE(tunnel_socket->IsConnected()); in TEST_P()
362 EXPECT_TRUE(tunnel_socket->IsConnected()); in TEST_P()
Dhttp_proxy_client_socket.h80 virtual bool IsConnected() const;
Dhttp_proxy_client_socket.cc132 bool HttpProxyClientSocket::IsConnected() const { in IsConnected() function in net::HttpProxyClientSocket
133 return next_state_ == STATE_DONE && transport_->socket()->IsConnected(); in IsConnected()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DAudioFilePlayer.c119 printf ("Is Connected:%s\n", (IsConnected() ? "true" : "false")); in AudioFilePlayer_Print()
329 SET_AUDIOFILEPLAYER_METHOD(IsConnected); in new_AudioFilePlayer()
DAudioFilePlayer.h81 int (*IsConnected)(struct S_AudioFilePlayer *afp); member

12