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

/system/core/fastboot/
H A Dsocket.h100 virtual std::unique_ptr<Socket> Accept() { return nullptr; } function in class:Socket
H A Dsocket_mock.h63 virtual std::unique_ptr<Socket> Accept();
80 // Adds a Socket to return from Accept().
H A Dsocket_test.cpp52 *server = (*server)->Accept();
368 EXPECT_EQ(mock_handler, mock.Accept().get());
371 EXPECT_EQ(nullptr, mock.Accept().get());
377 EXPECT_NONFATAL_FAILURE(mock->Accept(), "no socket was ready");
380 EXPECT_NONFATAL_FAILURE(mock->Accept(), "called out-of-order");
H A Dsocket.cpp176 std::unique_ptr<Socket> Accept() override;
238 std::unique_ptr<Socket> TcpSocket::Accept() { function in class:TcpSocket
H A Dsocket_mock.cpp109 std::unique_ptr<Socket> SocketMock::Accept() { function in class:SocketMock
111 ADD_FAILURE() << "Accept() was called when no socket was ready";
116 ADD_FAILURE() << "Accept() was called out-of-order";
/system/connectivity/shill/net/
H A Dmock_sockets.h34 MOCK_CONST_METHOD3(Accept, int(int sockfd, struct sockaddr* addr,
H A Dsockets.h43 virtual int Accept(int sockfd,
H A Dsockets.cc42 int Sockets::Accept(int sockfd, function in class:shill::Sockets
/system/connectivity/shill/vpn/
H A Dopenvpn_management_server_unittest.cc254 EXPECT_CALL(sockets_, Accept(kSocket, nullptr, nullptr)).WillOnce(Return(-1));
263 EXPECT_CALL(sockets_, Accept(kSocket, nullptr, nullptr))
H A Dopenvpn_management_server.cc179 connected_socket_ = sockets_->Accept(fd, nullptr, nullptr);
/system/connectivity/shill/
H A Dhttp_proxy.cc178 // proxy's socket. We Accept() the client and start reading a request
183 int client_fd = sockets_->Accept(fd, nullptr, nullptr);
346 // Accept a new line into the client headers. Returns false if a parse
H A Dhttp_proxy_unittest.cc72 "Accept: text/html,application/xhtml+xml,application/xml;"
74 "Accept-Encoding: gzip,deflate,sdch\r\n"
75 "Accept-Language: en-US,en;q=0.8,ja;q=0.6\r\n"
76 "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3\r\n"
248 EXPECT_CALL(sockets(), Accept(kProxyFD, _, _))

Completed in 95 milliseconds