Home
last modified time | relevance | path

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

/system/core/adb/fdevent/
Dfdevent_poll.cpp74 this->Add(fde, FDE_READ); in fdevent_context_poll()
120 if (fde.state & FDE_READ) { in Loop()
157 events |= FDE_READ; in Loop()
165 events |= FDE_READ | FDE_ERROR; in Loop()
169 events |= FDE_READ | FDE_ERROR; in Loop()
Dfdevent_epoll.cpp54 this->Add(fde, FDE_READ); in fdevent_context_epoll()
65 if (fde->state & FDE_READ) { in calculate_epoll_event()
142 CHECK(fde->state & FDE_READ); in Loop()
143 events |= FDE_READ; in Loop()
152 events |= FDE_READ | FDE_ERROR; in Loop()
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()
249 CHECK((events & FDE_READ) ^ (events & FDE_TIMEOUT)); in TEST_F()
251 if ((events & FDE_READ)) { in TEST_F()
274 fdevent_add(test.fde, FDE_READ); in TEST_F()
Dfdevent.h37 #define FDE_READ 0x0001 macro
Dfdevent.cpp50 if (fde->state & FDE_READ) { in dump_fde()
/system/core/adb/
Dadb_listeners.cpp78 if (ev & FDE_READ) { in ss_listener_event_func()
98 if (ev & FDE_READ) { in listener_event_func()
173 fdevent_set(l->fde, FDE_READ); in enable_server_sockets()
243 fdevent_set(listener->fde, FDE_READ); in install_listener()
Dsockets.cpp207 fdevent_del(s->fde, FDE_READ); in local_socket_flush_outgoing()
242 fdevent_add(s->fde, FDE_READ); in local_socket_ready()
262 if (event & FDE_READ) { in deferred_close()
292 fdevent_add(fde, FDE_READ); in deferred_close()
344 fdevent_del(s->fde, FDE_READ); in local_socket_close()
372 if (ev & FDE_READ) { in local_socket_event_func()
Dtransport.cpp767 if (!(ev & FDE_READ)) { in transport_registration_func()
854 fdevent_set(transport_registration_fde, FDE_READ); in init_transport_registration()
/system/core/adb/daemon/
Dadb_wifi.cpp121 fdevent_set(fd_event_, FDE_READ); in Start()
134 if ((ev & FDE_READ) == 0 || fd != fd_event_->fd.get()) { in OnFdEvent()
Dservices.cpp138 fdevent_add(fde, FDE_READ); in spin_service()
Djdwp_service.cpp263 if (events & FDE_READ) { in jdwp_process_event()
/system/core/adb/client/
Dtransport_mdns.cpp138 if (ev & FDE_READ) in pump_service_ref()
172 fdevent_set(fde_, FDE_READ); in Initialize()
641 fdevent_set(service_ref_fdes[i], FDE_READ); in init_mdns_transport_discovery_thread()
Dauth.cpp342 if (!(fd_event & FDE_READ)) { in adb_auth_inotify_update()
412 fdevent_add(event, FDE_READ); in adb_auth_inotify_init()