Searched refs:isReadBlocked (Results 1 – 1 of 1) sorted by relevance
73 static bool isReadBlocked(int fd, int timeout_ms = 20) { in isReadBlocked() function146 ASSERT_TRUE(isReadBlocked(wakeupCountFd)); in SetUp()147 ASSERT_TRUE(isReadBlocked(stateFd)); in SetUp()151 if (!isReadBlocked(wakeupCountFd)) readFd(wakeupCountFd); in TearDown()152 if (!isReadBlocked(stateFd)) readFd(stateFd).empty(); in TearDown()153 ASSERT_TRUE(isReadBlocked(wakeupCountFd)); in TearDown()154 ASSERT_TRUE(isReadBlocked(stateFd)); in TearDown()162 bool isSystemSuspendBlocked(int timeout_ms = 20) { return isReadBlocked(stateFd, timeout_ms); } in isSystemSuspendBlocked()