Home
last modified time | relevance | path

Searched refs:FDE_READ (Results 1 – 11 of 11) sorted by relevance

/system/core/adb/
Dfdevent_test.cpp45 fdevent_add(read_fde_, FDE_READ); in FdHandler()
56 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventCallback()
57 if (events & FDE_READ) { in FdEventCallback()
79 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventNewCallback()
80 if (events & FDE_READ) { in FdEventNewCallback()
194 read_arg.expected_events = FDE_READ | FDE_ERROR; in InvalidFdThreadFunc()
197 fdevent_add(read_arg.fde, FDE_READ); in InvalidFdThreadFunc()
201 write_arg.expected_events = FDE_READ | FDE_ERROR; in InvalidFdThreadFunc()
287 CHECK((events & FDE_READ) ^ (events & FDE_TIMEOUT)); in TEST_F()
289 if ((events & FDE_READ)) { in TEST_F()
[all …]
Dfdevent.cpp114 if (fde->state & FDE_READ) { in dump_fde()
193 if (events & FDE_READ) { in fdevent_update()
316 events |= FDE_READ; in fdevent_process()
324 events |= FDE_READ | FDE_ERROR; in fdevent_process()
328 events |= FDE_READ | FDE_ERROR; in fdevent_process()
398 CHECK(ev & FDE_READ); in fdevent_run_func()
427 fdevent_add(fde, FDE_READ); in fdevent_run_setup()
Dadb_listeners.cpp77 if (ev & FDE_READ) { in ss_listener_event_func()
96 if (ev & FDE_READ) { in listener_event_func()
225 fdevent_set(listener->fde, FDE_READ); in install_listener()
Dfdevent.h31 #define FDE_READ 0x0001 macro
Dsockets.cpp206 fdevent_del(s->fde, FDE_READ); in local_socket_flush_outgoing()
241 fdevent_add(s->fde, FDE_READ); in local_socket_ready()
261 if (event & FDE_READ) { in deferred_close()
291 fdevent_add(fde, FDE_READ); in deferred_close()
343 fdevent_del(s->fde, FDE_READ); in local_socket_close()
371 if (ev & FDE_READ) { in local_socket_event_func()
Dtransport.cpp654 if (!(ev & FDE_READ)) { in transport_registration_func()
742 fdevent_set(transport_registration_fde, FDE_READ); in init_transport_registration()
/system/core/adb/client/
Dtransport_mdns.cpp60 if (ev & FDE_READ) in pump_service_ref()
84 fdevent_set(fde_, FDE_READ); in Initialize()
276 fdevent_set(service_ref_fde, FDE_READ); in init_mdns_transport_discovery_thread()
Dauth.cpp330 if (!(fd_event & FDE_READ)) { in adb_auth_inotify_update()
400 fdevent_add(event, FDE_READ); in adb_auth_inotify_init()
/system/core/adb/daemon/
Dauth.cpp156 if (events & FDE_READ) { in adbd_auth_event()
203 fdevent_add(framework_fde, FDE_READ); in adbd_auth_listener()
259 fdevent_add(listener_fde, FDE_READ); in adbd_auth_init()
Djdwp_service.cpp145 fdevent_add(this->fde, FDE_READ); in JdwpProcess()
219 if (events & FDE_READ) { in jdwp_process_event()
346 fdevent_add(control->fde, FDE_READ); in jdwp_control_init()
356 if (events & FDE_READ) { in jdwp_control_event()
Dservices.cpp140 fdevent_add(fde, FDE_READ); in spin_service()