Home
last modified time | relevance | path

Searched refs:IOHandler (Results 1 – 25 of 45) sorted by relevance

12

/system/connectivity/shill/net/
Dio_handler_factory.cc27 IOHandler* IOHandlerFactory::CreateIOInputHandler( in CreateIOInputHandler()
29 const IOHandler::InputCallback& input_callback, in CreateIOInputHandler()
30 const IOHandler::ErrorCallback& error_callback) { in CreateIOInputHandler()
31 IOHandler* handler = new IOInputHandler(fd, input_callback, error_callback); in CreateIOInputHandler()
36 IOHandler* IOHandlerFactory::CreateIOReadyHandler( in CreateIOReadyHandler()
38 IOHandler::ReadyMode mode, in CreateIOReadyHandler()
39 const IOHandler::ReadyCallback& ready_callback) { in CreateIOReadyHandler()
40 IOHandler* handler = new IOReadyHandler(fd, mode, ready_callback); in CreateIOReadyHandler()
Dio_handler_factory.h30 virtual IOHandler* CreateIOInputHandler(
32 const IOHandler::InputCallback& input_callback,
33 const IOHandler::ErrorCallback& error_callback);
35 virtual IOHandler* CreateIOReadyHandler(
37 IOHandler::ReadyMode mode,
38 const IOHandler::ReadyCallback& input_callback);
Dmock_io_handler_factory.h32 IOHandler* (
34 const IOHandler::InputCallback& input_callback,
35 const IOHandler::ErrorCallback& error_callback));
38 IOHandler* (
40 IOHandler::ReadyMode mode,
41 const IOHandler::ReadyCallback& ready_callback));
Dio_handler.h36 class SHILL_EXPORT IOHandler {
50 IOHandler() {} in IOHandler() function
51 virtual ~IOHandler() {} in ~IOHandler()
Dio_input_handler.h27 class IOInputHandler : public IOHandler,
Dio_ready_handler.h30 class IOReadyHandler : public IOHandler,
Dio_input_handler.cc53 unsigned char buf[IOHandler::kDataBufferSize]; in OnFileCanReadWithoutBlocking()
/system/connectivity/shill/
Devent_dispatcher.h54 virtual IOHandler* CreateInputHandler(
56 const IOHandler::InputCallback& input_callback,
57 const IOHandler::ErrorCallback& error_callback);
59 virtual IOHandler* CreateReadyHandler(
61 IOHandler::ReadyMode mode,
62 const IOHandler::ReadyCallback& ready_callback);
Dmock_event_dispatcher.h37 MOCK_METHOD3(CreateInputHandler, IOHandler*(
39 const IOHandler::InputCallback& input_callback,
40 const IOHandler::ErrorCallback& error_callback));
43 IOHandler*(int fd,
44 IOHandler::ReadyMode mode,
Devent_dispatcher.cc59 IOHandler* EventDispatcher::CreateInputHandler( in CreateInputHandler()
61 const IOHandler::InputCallback& input_callback, in CreateInputHandler()
62 const IOHandler::ErrorCallback& error_callback) { in CreateInputHandler()
70 IOHandler* EventDispatcher::CreateReadyHandler( in CreateReadyHandler()
72 IOHandler::ReadyMode mode, in CreateReadyHandler()
Dhttp_proxy.h38 class IOHandler; variable
144 std::unique_ptr<IOHandler> accept_handler_;
165 std::unique_ptr<IOHandler> read_client_handler_;
166 std::unique_ptr<IOHandler> write_client_handler_;
167 std::unique_ptr<IOHandler> read_server_handler_;
168 std::unique_ptr<IOHandler> write_server_handler_;
Ddns_client.cc71 map<ares_socket_t, std::shared_ptr<IOHandler>> read_handlers;
72 map<ares_socket_t, std::shared_ptr<IOHandler>> write_handlers;
303 map<ares_socket_t, std::shared_ptr<IOHandler>> old_read = in RefreshHandles()
305 map<ares_socket_t, std::shared_ptr<IOHandler>> old_write = in RefreshHandles()
325 std::shared_ptr<IOHandler> ( in RefreshHandles()
327 IOHandler::kModeInput, in RefreshHandles()
336 std::shared_ptr<IOHandler> ( in RefreshHandles()
338 IOHandler::kModeOutput, in RefreshHandles()
Deap_listener.h28 class IOHandler; variable
87 std::unique_ptr<IOHandler> receive_request_handler_;
Dhttp_request.h41 class IOHandler; variable
131 std::unique_ptr<IOHandler> read_server_handler_;
132 std::unique_ptr<IOHandler> write_server_handler_;
Dpassive_link_monitor.h29 class IOHandler; variable
95 std::unique_ptr<IOHandler> receive_request_handler_;
Dasync_connection.h30 class IOHandler; variable
87 std::unique_ptr<IOHandler> connect_completion_handler_;
Dicmp_session.h143 IOHandler::InputCallback echo_reply_callback_;
144 std::unique_ptr<IOHandler> echo_reply_handler_;
Dactive_link_monitor.h37 class IOHandler; variable
198 std::unique_ptr<IOHandler> receive_response_handler_;
Dasync_connection_unittest.cc112 CreateReadyHandler(kSocketFD, IOHandler::kModeOutput, _)) in StartConnection()
113 .WillOnce(ReturnNew<IOHandler>()); in StartConnection()
235 CreateReadyHandler(kSocketFD, IOHandler::kModeOutput, _)) in TEST_F()
236 .WillOnce(ReturnNew<IOHandler>()); in TEST_F()
256 CreateReadyHandler(kSocketFD, IOHandler::kModeOutput, _)) in TEST_F()
257 .WillOnce(ReturnNew<IOHandler>()); in TEST_F()
Dcrypto_util_proxy.h145 std::unique_ptr<IOHandler> shim_stdin_handler_;
146 std::unique_ptr<IOHandler> shim_stdout_handler_;
Dhttp_proxy_unittest.cc230 IOHandler::kModeInput, in ExpectStart()
232 .WillOnce(ReturnNew<IOHandler>()); in ExpectStart()
255 .WillOnce(ReturnNew<IOHandler>()); in ExpectClientInput()
319 IOHandler::kModeOutput, in ExpectClientData()
321 .WillOnce(ReturnNew<IOHandler>()); in ExpectClientData()
331 .WillOnce(ReturnNew<IOHandler>()); in ExpectServerInput()
337 IOHandler::kModeOutput, in ExpectServerOutput()
339 .WillOnce(ReturnNew<IOHandler>()); in ExpectServerOutput()
344 CreateReadyHandler(kServerFD, IOHandler::kModeOutput, in ExpectRepeatedServerOutput()
346 .WillOnce(ReturnNew<IOHandler>()); in ExpectRepeatedServerOutput()
Ddns_client_unittest.cc169 CreateReadyHandler(kAresFd, IOHandler::kModeInput, _)) in StartValidRequest()
170 .WillOnce(ReturnNew<IOHandler>()); in StartValidRequest()
245 class SentinelIOHandler : public IOHandler {
407 CreateReadyHandler(kAresFd, IOHandler::kModeInput, _)) in TEST_F()
428 CreateReadyHandler(kAresFd, IOHandler::kModeInput, _)) in TEST_F()
/system/connectivity/apmanager/
Dhostapd_monitor.h31 class IOHandler; variable
95 std::unique_ptr<shill::IOHandler> hostapd_input_handler_;
/system/connectivity/shill/vpn/
Dopenvpn_management_server.h32 class IOHandler; variable
155 std::unique_ptr<IOHandler> ready_handler_;
158 std::unique_ptr<IOHandler> input_handler_;
Dopenvpn_management_server_unittest.cc210 CreateReadyHandler(kSocket, IOHandler::kModeInput, _)) in TEST_F()
211 .WillOnce(ReturnNew<IOHandler>()); in TEST_F()
231 server_.input_handler_.reset(new IOHandler()); in TEST_F()
236 server_.ready_handler_.reset(new IOHandler()); in TEST_F()
265 server_.ready_handler_.reset(new IOHandler()); in TEST_F()
267 .WillOnce(ReturnNew<IOHandler>()); in TEST_F()

12