Home
last modified time | relevance | path

Searched refs:Accept (Results 1 – 12 of 12) sorted by relevance

/system/core/fastboot/
Dsocket_test.cpp52 *server = (*server)->Accept(); in MakeConnectedSockets()
368 EXPECT_EQ(mock_handler, mock.Accept().get()); in TEST()
371 EXPECT_EQ(nullptr, mock.Accept().get()); in TEST()
377 EXPECT_NONFATAL_FAILURE(mock->Accept(), "no socket was ready"); in TEST()
380 EXPECT_NONFATAL_FAILURE(mock->Accept(), "called out-of-order"); in TEST()
Dsocket_mock.h63 virtual std::unique_ptr<Socket> Accept();
Dsocket.h100 virtual std::unique_ptr<Socket> Accept() { return nullptr; } in Accept() function
Dsocket.cpp176 std::unique_ptr<Socket> Accept() override;
238 std::unique_ptr<Socket> TcpSocket::Accept() { in Accept() function in TcpSocket
Dsocket_mock.cpp109 std::unique_ptr<Socket> SocketMock::Accept() { in Accept() function in SocketMock
/system/connectivity/shill/net/
Dmock_sockets.h34 MOCK_CONST_METHOD3(Accept, int(int sockfd, struct sockaddr* addr,
Dsockets.h43 virtual int Accept(int sockfd,
Dsockets.cc42 int Sockets::Accept(int sockfd, in Accept() function in shill::Sockets
/system/connectivity/shill/vpn/
Dopenvpn_management_server_unittest.cc254 EXPECT_CALL(sockets_, Accept(kSocket, nullptr, nullptr)).WillOnce(Return(-1)); in TEST_F()
263 EXPECT_CALL(sockets_, Accept(kSocket, nullptr, nullptr)) in TEST_F()
Dopenvpn_management_server.cc179 connected_socket_ = sockets_->Accept(fd, nullptr, nullptr); in OnReady()
/system/connectivity/shill/
Dhttp_proxy.cc183 int client_fd = sockets_->Accept(fd, nullptr, nullptr); in AcceptClient()
Dhttp_proxy_unittest.cc248 EXPECT_CALL(sockets(), Accept(kProxyFD, _, _)) in ExpectClientInput()