Home
last modified time | relevance | path

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

/packages/modules/adb/fdevent/
Dfdevent_test.cpp48 fdevent_add(read_fde_, FDE_READ); in FdHandler()
59 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventCallback()
60 if (events & FDE_READ) { in FdEventCallback()
82 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventNewCallback()
83 if (events & FDE_READ) { in FdEventNewCallback()
254 CHECK((events & FDE_READ) ^ (events & FDE_TIMEOUT)); in TEST_F()
256 if ((events & FDE_READ)) { in TEST_F()
279 fdevent_add(test.fde, FDE_READ); in TEST_F()
366 fdevent_add(test.fde1, FDE_READ | FDE_ERROR); in TEST_F()
367 fdevent_add(test.fde2, FDE_READ | FDE_ERROR); in TEST_F()
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.cpp57 this->Add(fde, FDE_READ); in fdevent_context_epoll()
68 if (fde->state & FDE_READ) { in calculate_epoll_event()
152 CHECK(fde->state & FDE_READ); in Loop()
153 events |= FDE_READ; in Loop()
162 events |= FDE_READ | FDE_ERROR; in Loop()
Dfdevent.h38 #define FDE_READ 0x0001 macro
Dfdevent.cpp50 if (fde->state & FDE_READ) { in dump_fde()
/packages/modules/adb/
Dadb_listeners.cpp81 if (ev & FDE_READ) { in ss_listener_event_func()
101 if (ev & FDE_READ) { in listener_event_func()
176 fdevent_set(l->fde, FDE_READ); in enable_server_sockets()
245 fdevent_set(listener->fde, FDE_READ); in install_listener()
Dsockets.cpp234 fdevent_del(s->fde, FDE_READ); in local_socket_flush_outgoing()
238 fdevent_del(s->fde, FDE_READ); in local_socket_flush_outgoing()
273 fdevent_add(s->fde, FDE_READ); in local_socket_ready()
293 if (event & FDE_READ) { in deferred_close()
323 fdevent_add(fde, FDE_READ); in deferred_close()
375 fdevent_del(s->fde, FDE_READ); in local_socket_close()
402 if (ev & FDE_READ) { in local_socket_event_func()
/packages/modules/adb/daemon/
Dadb_wifi.cpp118 fdevent_set(fd_event_, FDE_READ); in Start()
131 if ((ev & FDE_READ) == 0 || fd != fd_event_->fd.get()) { in OnFdEvent()
Djdwp_service.cpp155 fdevent_set(this->fde, FDE_READ); in JdwpProcess()
263 if (events & FDE_READ) { in jdwp_process_event()
Dservices.cpp140 fdevent_add(fde, FDE_READ); in spin_service()
/packages/modules/adb/client/
Dmdnsresponder_client.cpp66 if (ev & FDE_READ) DNSServiceProcessResult(*ref); in pump_service_ref()
97 fdevent_set(fde_, FDE_READ); in Initialize()
554 fdevent_set(g_service_ref_fdes[i], FDE_READ); in init_mdns_transport_discovery_thread()
Dauth.cpp341 if (!(fd_event & FDE_READ)) { in adb_auth_inotify_update()
411 fdevent_add(event, FDE_READ); in adb_auth_inotify_init()
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp169 fdevent_set(fde_, FDE_READ); in AdbUdpSocket()
620 if (ev & FDE_READ) { in JoinMulticastGroup()