Searched refs:FDE_READ (Results 1 – 13 of 13) sorted by relevance
/system/core/adb/fdevent/ |
D | fdevent_poll.cpp | 74 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()
|
D | fdevent_epoll.cpp | 54 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()
|
D | fdevent_test.cpp | 45 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()
|
D | fdevent.h | 37 #define FDE_READ 0x0001 macro
|
D | fdevent.cpp | 50 if (fde->state & FDE_READ) { in dump_fde()
|
/system/core/adb/ |
D | adb_listeners.cpp | 78 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()
|
D | sockets.cpp | 207 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()
|
D | transport.cpp | 767 if (!(ev & FDE_READ)) { in transport_registration_func() 854 fdevent_set(transport_registration_fde, FDE_READ); in init_transport_registration()
|
/system/core/adb/daemon/ |
D | adb_wifi.cpp | 121 fdevent_set(fd_event_, FDE_READ); in Start() 134 if ((ev & FDE_READ) == 0 || fd != fd_event_->fd.get()) { in OnFdEvent()
|
D | services.cpp | 138 fdevent_add(fde, FDE_READ); in spin_service()
|
D | jdwp_service.cpp | 263 if (events & FDE_READ) { in jdwp_process_event()
|
/system/core/adb/client/ |
D | transport_mdns.cpp | 138 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()
|
D | auth.cpp | 342 if (!(fd_event & FDE_READ)) { in adb_auth_inotify_update() 412 fdevent_add(event, FDE_READ); in adb_auth_inotify_init()
|