Searched refs:FDE_WRITE (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/fdevent/ |
D | fdevent_test.cpp | 56 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()
|
D | fdevent_epoll.cpp | 68 if (fde->state & FDE_WRITE) { in calculate_epoll_event() 146 CHECK(fde->state & FDE_WRITE); in Loop() 147 events |= FDE_WRITE; in Loop()
|
D | fdevent_poll.cpp | 123 if (fde.state & FDE_WRITE) { in Loop() 160 events |= FDE_WRITE; in Loop()
|
D | fdevent.h | 38 #define FDE_WRITE 0x0002 macro
|
D | fdevent.cpp | 50 if (fde->state & FDE_WRITE) { in dump_fde()
|
/system/core/adb/daemon/ |
D | jdwp_service.cpp | 220 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/ |
D | sockets.cpp | 129 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()
|