Searched refs:FlagsSet (Results 1 – 1 of 1) sorted by relevance
408 static bool FlagsSet(int16_t data, int16_t flags) { return (data & flags) == flags; } in FlagsSet() function709 if (FlagsSet(agent_control_sock_poll.revents, POLLIN)) { in RunPollLoop()743 } else if (FlagsSet(control_sock_poll.revents, POLLIN)) { in RunPollLoop()776 } else if (FlagsSet(control_sock_poll.revents, POLLRDHUP)) { in RunPollLoop()784 } else if (FlagsSet(adb_socket_poll.revents, POLLIN)) { in RunPollLoop()794 } else if (FlagsSet(control_sock_poll.revents, POLLOUT)) { in RunPollLoop()797 } else if (FlagsSet(adb_socket_poll.revents, POLLRDHUP)) { in RunPollLoop()801 } else if (FlagsSet(sleep_event_poll.revents, POLLIN)) { in RunPollLoop()