Home
last modified time | relevance | path

Searched refs:SetNonBlocking (Results 1 – 16 of 16) sorted by relevance

/system/connectivity/shill/
Dasync_connection_unittest.cc103 EXPECT_CALL(sockets_, SetNonBlocking(kSocketFD)) in StartConnection()
158 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
172 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
188 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
226 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
246 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
290 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
306 EXPECT_CALL(sockets(), SetNonBlocking(kSocketFD)) in TEST_F()
Deap_listener_unittest.cc125 EXPECT_CALL(*sockets_, SetNonBlocking(fd)).WillOnce(Return(0)); in StartListenerWithFD()
158 EXPECT_CALL(*sockets_, SetNonBlocking(kSocketFD)).WillOnce(Return(-1)); in TEST_F()
169 EXPECT_CALL(*sockets_, SetNonBlocking(kSocketFD)).WillOnce(Return(0)); in TEST_F()
Dicmp_unittest.cc81 EXPECT_CALL(*sockets_, SetNonBlocking(fd)).WillOnce(Return(0)); in StartIcmpWithFD()
127 EXPECT_CALL(*sockets_, SetNonBlocking(kSocketFD)).WillOnce(Return(-1)); in TEST_F()
Darp_client_unittest.cc142 EXPECT_CALL(*sockets_, SetNonBlocking(fd)).WillOnce(Return(0)); in StartClientWithFD()
185 EXPECT_CALL(*sockets_, SetNonBlocking(kSocketFD)).WillOnce(Return(-1)); in TEST_F()
197 EXPECT_CALL(*sockets_, SetNonBlocking(kSocketFD)).WillOnce(Return(0)); in TEST_F()
Deap_listener.cc77 if (sockets_->SetNonBlocking(socket_) != 0) { in CreateSocket()
Dicmp.cc45 if (sockets_->SetNonBlocking(socket_) != 0) { in Start()
Dasync_connection.cc61 sockets_->SetNonBlocking(fd_) < 0) { in Start()
Darp_client.cc96 if (sockets_->SetNonBlocking(socket_) != 0) { in CreateSocket()
Dhttp_proxy_unittest.cc224 EXPECT_CALL(sockets(), SetNonBlocking(kProxyFD)) in ExpectStart()
250 EXPECT_CALL(sockets(), SetNonBlocking(fd)) in ExpectClientInput()
516 EXPECT_CALL(sockets(), SetNonBlocking(kProxyFD)) in TEST_F()
531 EXPECT_CALL(sockets(), SetNonBlocking(kProxyFD)) in TEST_F()
Dhttp_proxy.cc130 sockets->SetNonBlocking(proxy_socket_) < 0 || in Start()
193 sockets_->SetNonBlocking(client_socket_); in AcceptClient()
/system/connectivity/shill/net/
Dmock_sockets.h70 MOCK_CONST_METHOD1(SetNonBlocking, int(int sockfd));
Dsockets.h118 virtual int SetNonBlocking(int sockfd) const;
Dsockets.cc155 int Sockets::SetNonBlocking(int sockfd) const { in SetNonBlocking() function in shill::Sockets
/system/extras/tests/net_test/
Dnet_test.py108 def SetNonBlocking(fd): function
135 SetNonBlocking(s.fileno())
Dneighbour_test.py83 net_test.SetNonBlocking(self.sock)
Dmultinetwork_base.py227 net_test.SetNonBlocking(f)