Home
last modified time | relevance | path

Searched refs:FDE_WRITE (Results 1 – 7 of 7) sorted by relevance

/system/core/adb/fdevent/
Dfdevent_test.cpp56 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventCallback()
62 fdevent_add(handler->write_fde_, FDE_WRITE); in FdEventCallback()
64 if (events & FDE_WRITE) { in FdEventCallback()
71 fdevent_del(handler->write_fde_, FDE_WRITE); in FdEventCallback()
79 ASSERT_EQ(0u, (events & ~(FDE_READ | FDE_WRITE))) << "unexpected events: " << events; in FdEventNewCallback()
85 fdevent_add(handler->write_fde_, FDE_WRITE); in FdEventNewCallback()
87 if (events & FDE_WRITE) { in FdEventNewCallback()
94 fdevent_del(handler->write_fde_, FDE_WRITE); in FdEventNewCallback()
Dfdevent_epoll.cpp68 if (fde->state & FDE_WRITE) { in calculate_epoll_event()
146 CHECK(fde->state & FDE_WRITE); in Loop()
147 events |= FDE_WRITE; in Loop()
Dfdevent_poll.cpp123 if (fde.state & FDE_WRITE) { in Loop()
160 events |= FDE_WRITE; in Loop()
Dfdevent.h38 #define FDE_WRITE 0x0002 macro
Dfdevent.cpp50 if (fde->state & FDE_WRITE) { in dump_fde()
/system/core/adb/daemon/
Djdwp_service.cpp220 if (events & FDE_WRITE) { in jdwp_process_event()
234 fdevent_del(proc->fde, FDE_WRITE); in jdwp_process_event()
260 fdevent_add(proc->fde, FDE_WRITE); in create_jdwp_connection_fd()
/system/core/adb/
Dsockets.cpp129 fdevent_add(s->fde, FDE_WRITE); in local_socket_flush_incoming()
132 fdevent_add(s->fde, FDE_WRITE); in local_socket_flush_incoming()
147 fdevent_del(s->fde, FDE_WRITE); in local_socket_flush_incoming()
348 CHECK_EQ(FDE_WRITE, s->fde->state & FDE_WRITE); in local_socket_close()
358 if (ev & FDE_WRITE) { in local_socket_event_func()